Tags are codes that contains <>. Each tag are pairs, therefore a <> must have a </> right after. For example- <h1>example</h1>. The tag <h1> must end with </h1> after the text. Every HTML file must contain at least three tags- <html>, <head>, and <body>. Without these, an HTML file will not function. <html> tells the computer that it is an HTML file and tells it where it ends. <head> tells the title and the style of the overall page. Things that are contained in the head will not show up in the page. Last but not least <body>. This is where you plug in codes to create your page.
This is how a page of codes should look:
<html>
<head>
</head>
<body>
</body>
</html>
There are numerous amounts codes for making a page. Some of the simple codes are:
<h1>header- prints big text
<h2>header- big text but small than <h1>
<a>link
<ol>ordered list
<li>list items
<p>paragraph- prints texts
<b>bold
<i>italics
<table>creates table
In a tag, you can put an attribute. For <a> you can add href to look like <a href> to tell it where the link will go.