HTML tags and their meanings. The main tags of the HTML language. Tags to form lists

The HTML language is based on the concept of "tag" (eng. tag.-Labe, label). Tags consist in angular brackets (< >) and form pairs - containers (opening tag and closing). For example, the HTML document container is a pair of tags and. The Web page includes containers responsible for the document header (head) and contain additional information, as well as containers responsible for the content of the document (body). They are presented in the figure.

So HTML document lies in the container , title in container , and the content of the document in the container . Container located in the title (container ) Contains the text displayed in top string Browser window. The title container can also add tags containing encoding, keywords Web page, as well as code for connecting cascading files styles CSS., JaVascript programming language, VBScript, etc.

An example of the simplest HTML page containing only the main tags:

Name pageContents of the simplest page

The result of the specified code is shown in the figure.

As you can see from the example, the text "Content of the simplest page" is displayed in conventional text. In order to format this text, special tags must be used. An example of using formatting tags is shown in the figure.

To change the font, its colors and size is used by TEG With the parameters "Face", "Color" and "Size". For example, in order to set the "Arial" font of red and 14 size, you must write the following code:

Formatomatest

To highlight paragraph in the text, a tag is used

In a container of which each paragraph of text is placed. Tags are used to create a header

,

,

,

,

,
.

Containers are used to generate lists in the document of the document. And tag.

    forms a valve list, tag