<?xml version="1.0" encoding="utf-8"?>

The <header> tag

The <header> tag Bad Practice
The <header> tag Best Practice

The <header> element is located at the "head" of the website and represents introductory content or a set of navigational links.

Generally, the header element includes:

• One or more headings (<h1> - <h6>)

Logo or icon

• Authorship information

Remember that the <header> element requires both the start and end tags. The HTML page may include more than one <header> but it cannot sit inside <footer>, <address>, or another <header> element.

Improve your UX & Product skills with interactive courses that actually work