HTML and CSS Certification 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

What tag is used to define a header in HTML?

<head>

<header>

The tag used to define a header in HTML is the <header> tag. This semantic element is specifically designed to contain introductory content or navigational links for a section or the entire webpage. It can encompass various elements, such as headings, logos, navigation bars, and other introductory material.

Using the <header> tag provides better structure to a webpage and improves accessibility, as screen readers and browsers can distinguish this section as containing important introductory content. The <header> element also allows for a clearer organization of the website, facilitating easier updates and maintenance.

Other choices refer to different aspects of HTML. The <head> tag is used to contain metadata and links to stylesheets or scripts, while the <h1> tag is used to define the highest-level heading within a section of content, not a complete header structure. The term <heading> is actually not a valid HTML tag at all. Hence, <header> is the best choice for defining a header in HTML.

Get further explanation with Examzify DeepDiveBeta

<heading>

<h1>

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy