The syntax of a language is how the language functions. The goal of this tutorial is to show you how HTML syntax works. In the next tutorial, we will build our first simple web page.
Every item in an HTML page is an element. There are tons of different elements that will be covered in later tutorials. The important thing to know about an element is that there are usually three parts: an opening tag, the element's content, and the closing tag. The opening tag starts with an open chevron (also called an angle bracket) <
and inside it is the name of the tag. The closing chevron >
ends the tag. The closing tag is constructed in the same way, except a forward slash /
follows the open chevron. Later you will learn about empty elements, a different type of element that does not have a closing tag.
<html> The content of the element goes here. </html>