Basics of HTML

  1. Terms and Definitions
  2. Principles of WEB 2.0
  3. The structure of the HTML-document
  4. Main metatags
  5. Formatting Text HTML
  6. Lists html-page
  7. Text fixed format
  8. Selected text html-page
  9. Change font options
  10. Graphics html-page
  11. Tables html-page
  12. Hyperlinks
  13. IMAGEMAP
  14. Frames

CSS-based

  1. What is CSS
  2. CSS syntax
  3. Style classes
  4. Combined styles
  5. CSS table
  6. CSS cascading rules
  7. Recommendations applying styles
  8. Font options
  9. Line breaks, vertical alignment
  10. Background settings
  11. Parameters of the paragraph
  12. List options
  13. The parameters of the cursor
  14. Options indentation
  15. Parameters frame
  16. Parameters selection
  17. Display options
  18. Containers


   

Selected text html-page

The text is much better perceived by the reader, if it is written not only competent, but also it properly placed accents - the relevant text in bold or italics, in rare cases, a different font or color.

HTML-tags are used to highlight text fragments (all paired tags):

All of these tags are built and owned block elements. Elements that create embedded tags are not independent and are not shown separately from the neighbors.

The most frequently used tags are STRONG, B, EM, I . The principal difference between the tags STRONG and B ( EM and I ) is a search engine that the text enclosed tag STRONG is more important than ordinary text; the text in the tag EM , is more important than regular text, but less important than the text in the tag STRONG ; text enclosed in tags B, I for the search engine is the same in importance as plain text. It must know the web-master, as does the text enclosed in tags STRONG and B ( EM and I ) displays the same - bold (italics).

HTML allows the simultaneous use of multiple tags, intended to highlight the text. In this case, you must make sure that the closing tags that contain a slash, introduced in the reverse order of the opening tag.

Example 1:

<p><strong>STRONG-text</strong></p>
<p><em>EM-text</em></p>
<p><u>U-text</u></p>
<p><strike>STRIKE-text</strike></p>
<p><strong><em>EM-STRONG-text</em></strong></p>

Sometimes the texts there are various mathematical or chemical formulas that use superscript or subscript. To convert text to superscript apply the tag SUP , to subscript - SUB .

Example 2:

CH<sub>3</sub>OH = CH<sub>2</sub>O + H<sub>2</sub>

a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup>

See examples in the browser..


TOP ↑