HTML specifies the document structure code example
Example 1: html document structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>First WebPage</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>This is the biggest heading tag used for name of the comapany</h1>
</header>
<nav>
<ul>
<li>This is a list.</li>
<li>Home</li>
<li>Services</li>
<li>About Us</li>
<li>Contact</li>
</ul>
</nav>
<section>
Havn't you liked this answer yet!
</section>
<footer>
Copyright © 2019-2020
</footer>
<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQoAAAC9CAMAAAB8rcOCAAAAflBMVEVZWVn///87OztVVVWEhIRXV1doaGjf399OTk6IiIjBwcHExMS6uro4ODhRUVHr6+txcXFfX1/09PR+fn74+PhiYmKPj48xMTFHR0eXl5fl5eXT09OpqanJyclubm53d3ebm5soKCiioqKvr6/X19dCQkImJiYWFhYfHx8ODg5SJRU9AAAKw0lEQVR4nO2dC5ebqhpAIQjiCwQR349EM+39/3/wgpnQnmlPezt3RtMZ9loTo2YZ3INA/AQA9DwDjk7A4+BVOLwKh1fh8CocXoXjrkJ1UfApiTr1QkWHPi3dCxURAp8UFHkVz3gVDq/CcaAKTPHPd9Bj/hvHqcBTW/7UBe2OyZnHqUAFJGj7Mozw88Iucd1q9LwN3/ftkqCjVCBQwDIvTMbAY5GbVzAWEzEy8olrhEkxGROj2Jb7JOkgFQz0w6QWCbsSzVzKhoGFcznQMlEcahq0XKWU8pRLPg6a7ZGoQ1QgMXPeFIoXBSwmNYMkBBfZiGG9JjwSra5VAnoIaqh0E+JFrgV6/2QdoYJcWn6h1GigAhYzTOJVEm4yQbzWsKGmrJhgF3dwrOFCSYFomcquefd0HaIihp2gzJQVqISFyQ5NE1HY03rtSqWp4HpSfdNoUauZmUIE1ROH/YdUASgZ1DDZGsSomKSpMAomuzGFHYXpOEBdyxTjwqowqRG6lQtl756qY4pNzIohnDYVAVpg2K7kAmU4hHUC5SAb2sg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2VyiqppVlFdYdqYt/J8uMSoGwtfpVP2p9UdXYWXUl5MehiEwVUc/DM3VLpLmlGXzkORZNi6pEZInw0IrHVXZFAldfcQaZJNxqm7t66zKvluYrbaeyGwZat9V2dYANXtf0xT/K1Tsg1fh8CocXoXDq3B4FQ6vwuFVOLwKh1fh8CocXoXDq3B4FQ6vwuFVOLwKh1fh8CocXoXDq3B4FY7dVRx9wr9gbxX0dHQ343/hxPZWsT0T/IjcHhzy3fMdXoVjHxV+xGY/jjf6ce5jP7q7H/P/G16Fw6tweBUOr8LxTYU8eqqng+A/qAiDoycAO4jx5RRsKmIHzwp3GHX4TxV8/L9GG/+bYfELFb/st/2hOVjFI3k/VsU2MP4/wMfJOVAFLpOWpy9ukBTTYS4OVMF6HuUT/jaA8Tbm+W3k6+fhjDHecdb4g1RgRABbE2TOlujGTpCQN83EMOuWqx1VYWq0ALggUxOBH3vSvw+HqMAUpJ1IlAwHQlbI1UwLLpWcyk7ybi2Y5q1KaM0T22t2begutxkPUIHZuMgwAlM7BAVe+Ih6XraDEOsqonAIIsJgymYoaigLvbKZt80eOWN/FXhMeagpAnWYUkzDGCEBJzgzdjFWuoUiVMCwC+FYw4WWE2ai52H//i4OyBXlAsPJFIc0tNNCrDFDpVVB6cxHO1UERpOai2ICtZrt/BEINFK+xRxEv+GIsoKWqVwjtKlgvYzGuBVrOOVhh1gcgnyqeSyALuttwB4xc355k5mpfsMxxSbL45DSNqEAkxBKqNnElZIjtgOxqJ5GknNV1vBiqpagvZQftdi0YEbtEAL2XT3mmAGExtFOkYFQXtpxira1bWgFTF855dCf8gA/x57b2vcmN8bfr+3IA6h4FLwKh1fhoMk/VcCevmkg8u+BCfVChUyLN4xE/kW4UKyPgzi8CodX4fAqHF6Fw6tweBWO/wLWupng1skrZQAAAABJRU5ErkJggg=='/>
<h2>The structure of HTML Doc</h2>
</body>
</html>
Example 2: structure of an html document
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A website</title>
</head>
<body>
...
</body>
</html>