Abdul wants to create a header for a web page and enters this line: </h1>Welcome to Abdul’s webpage!</h1>, but the title is smaller than was expected. What is the problem?
(1 point)
Responses
There is too much text for HTML to treat it as a header.
There is too much text for HTML to treat it as a header.
Headers need to begin with the <header> tag.
Headers need to begin with the tag.
The first tag should not have a slash.
The first tag should not have a slash.
Headers cannot contain exclamation points.
Headers cannot contain exclamation points.
1 answer
There is a syntax error in the line of code. The correct tags for a header in HTML are <h1> and </h1>. Therefore, the problem is that the closing tag </h1> is repeated instead of using the opening tag <h1>.