Ask Your Question

In HTML, how does <header> differ from <h1>?

asked 2022-11-18 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-10-23 15:00:00 +0000

devzero gravatar image

<header> is an HTML5 element that defines a section of a webpage that usually contains the introductory or navigational content, and it is typically placed at the top of the page. It can contain other elements such as headings, logos, navigation menus or search fields.

is a heading element in HTML that represents the main heading or title of the page. It is usually the largest and the most important heading on the page. It can be used only once on a page and is typically placed after the <header> element.

In summary, <header> is a section of a webpage, while

is a heading tag used to define the main heading of the page.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools


Asked: 2022-11-18 11:00:00 +0000

Seen: 2 times

Last updated: Oct 23 '22