In this tutorial article, you’ll learn all you need to know about HTML.
What Is the Declaration?
The declaration is the first line of code in every HTML file. It tells web browsers which version of HTML is within a specific file.
Each version of HTML is unique and has its own set of rules. HTML 5 is the latest version of the language. It’s the recommended version for developers, as well as the simplest version to declare. To declare an HTML 5 document, simply add the HTML element to the declaration.
You can see an example below:
What Is theTag?
In every HTML document, the declaration is followed by thetag. This tag identifies the root of the document, and it encloses the
andtags.The
tag is the first section, and it contains the