what is a header html file code example Example: Html header <header> <h1>Main page heading here</h1> <p>Posted by John Doe</p> </header>