HTML <header> tag
When writing in HTML, the <header> tag is a block element used as a container for navigational or introductory items. It is useful for holding content like a website's logo and main section links, as well as a search box and <heading> elements. The following sections contain information about the <header> tag, including an example of it in use, as well as related attributes and browser compatibility.
<header class="cf"><a href="https://www.computerhope.com/">
width="412" height="82" alt="Computer Hope" style="float:left; display:block; margin-right:20px;"/></a>
<h3>Hi, I'm heading style 3.</h3>
The header in the example has had both external and inline CSS added to improve its appearance.
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <header> tag does not have any unique attributes, it does utilize all of the standard attributes.