The HTML tags

This is a reference page, i.e., look at the contents and then come back to it when we need to.

Our template uses a few html tags:

HTML has many other tags; here is a full list: all the HTML tags. However, only a few tags are really needed to write most static web pages. These are the most common ones:

organization tags

We use this tag to split our pages in nested blocks.

tags about text

The ‘bold’ and ‘italics’ tags affect do not affect the content of the document, which is the function of HTML, bout only its appearance, which is a function of CSS. Although these tags are still accepted, it would not be surprising if in the future they are removed from HTML.


Example code:


Result:

This is bold,
this is in italics,
and this is red.


tags about lists


Example code:


Result:

Search engines:


tags for css or javascript

self-closing tags

comment tag

If we are having troubles commenting out a section of html code, enclose it in a division:


instead of this…


do this…