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):
- ABBR - abbreviation (underlined font);
- ACRONYM - the same as the tag ABBR;
- B - bold;
- CITE - quote (emphasis added);
- CODE - source code (monospaced font);
- DEL - deleted text (strikethrough font);
- DFN - a new term (emphasis added);
- EM - less important text (emphasis added);
- I - italics;
- INS - the text again placed on the html-Page (underlined font);
- KBD - program data (monospaced font);
- Q - quote (regular font);
- SAMP - data input program (monospaced font);
- STRONG - an important text (bold);
- TT - the same as the tag SAMP;
- VAR - variable name (in italics).
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.
<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 .
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>