Mandatory tags

Each HTML document must contain the following tags <html> </ html>, <head> </ head>, <body> </ body>, <title> </ title>. The order of tags in the HTML document is presented below:
  The body of your document
Inside the tag <head> </ head> is the name of your HTML document (more often you see it as a link in search engine results). In addition to this tag inside the <head> </ head> structure so-called META tags can be located. You can see their appointment and descriptions in the handbook on META tags.

The body of HTML document

Headers

In HTML language headers are indicated by tags <h1> </ h1>, <h2> </ h2>, ... , <h6> </h6>. Thus there are 6 levels of headers. You can make an experiment - insert <h1> HTML - it's simple</ h1> instead of "The body of the document" in previous example, then save this in text format, change the extension from txt to. html and open it in your browser. So how is it? I think it’s pleasant to make a progress. You can try the same to other levels of headers.

Paragraphs in HTML language

The paragraph in the HTML document is defined by tag <p> </ p>. thus the construction <p> - How are you? </ p> <p> - Not bad. </ p> should look like the following:
- How are you?

- Not bad.

Selection of text in HTML

To select text, or a text field in the HTML tags <b> </ b>, <i> </ i>, <u> </ u> are used, thus the line
<strong>
  bold
</strong>
<em>
  italic
</em>
<span style="text-decoration: underline;">
  underlined
</span>
<span style="text-decoration: underline;">
  <em>
    <strong>
      bold underlined italic
   </strong>
  </em>
</span>
will look like the following: bold italic

 underlined    bold underlined italic  

Unnumbered lists in HTML

Unnumbered lists can putted into HTML code by the following structure: <ul><li> item 1<li> item 2<li>item 3</ ul>, which will give us a list of species:
  • item 1
  • item 2
  • item 3

Enumerated lists in HTML

Enumerated lists are defined by tags <ol> <li> item 1<li>item 2<li> item 3 </ ol>. look what we’ll get:

  1. item 1
  2. item 2
  3. item 3

-->

1. item 1
2. item 2
3. item 3

Nested lists in HTML

look at the example of nested list
<ul>
 
	<li> Chapter 1
 
<ul>
 
	<li>Section 1</li>
 
 
	<li>Section 2</li>
 
</ul>
</li>
 
 
	<li> Chapter 2
 
<ul>
 
	<li>Section 1</li>
 
 
	<li>Section 2</li>
 
</ul>
</li>
 
</ul>
This entry in the HTML code gives us the following result:
  • Chapter 1
    • Section 1
    • Section 2
  • Chapter 2
    • Section 1
    • Section 2
Special characters in the text of the document
Special characters in the text of the document are prescribed as follows
&lt; - left bracket (<)

&gt; - right bracket (>)

&amp; - (&)

&quot; - quotation marks (")

A line < "HTML Language" > will look like:
<"HTML language">

A Line Break in the text of HTML document

Line break is implemented by the tag <br> . For example: "The author of the text-line <br> Publication date </br> Circulation", gives the following result:

The author of the text-line

Publication date

Circulation

Frames in HTML
Mandatory tags of HTML
Directories in HTML
HTML Textarea