Text elements
HTML text in the document content elements include title, text decoration and special characters.
1.1 Title Tag
html title tag is divided into six, by the title so that the file structure is more clear; although there are six predefined heading levels, but generally only in a Web page with 3 to 4 levels.
<! DOCTYPE hhtml > < HTML > < head > < Meta charst = "UTF-. 8" > < title > text elements </ title > </ head > < body > < h1 of > This is a heading </ h1 of > < H2 > this is the second title </ H2 > < H3 > What is three title </ H3 > < H4 >This is a four title </ h4 > < H5 > This is a five title </ H5 > < H6 > This is the six Title </ H6 > </ body > </ HTML >
1.2 modified text label
. 1 <! DOCTYPE hhtml > 2 < HTML > . 3 < head > . 4 < Meta charst = "UTF-. 8" > . 5 < title > text elements </ title > . 6 </ head > . 7 < body > . 8 < h1 of > < B > it is </ B > a title </ h1 of > . 9 < H2 > this is <i>Two </ I > title </ H2 > 10 < H3 > What is three < S > title </ S > </ H3 > . 11 < H4 > < U > This is </ U > four < SUP > Title </ SUP > </ H4 > 12 is < H5 > this is < Sub > five </ Sub > < strong >Title </strong></h5> 13 <h6><big>这是</big>六级<small>标题</small></h6> 14 </body> 15 </html>
1.3 Special characters
In the page, some characters can not be used directly, can only be achieved by reference; some characters can not be entered from the standard keyboard, as well as other browsers may cause ambiguous character, require special coding references, also known as "character entities . " When the reference character entities on the page, usually "&" symbol begins with a semicolon ";" at the end.
" " & &   空格 < < > > &le ≤ &ge ≥ © © &trade ™ ® ® ¼ ¼ ½ ½ &larr ← &uarr ↑ &rarr → &darr ↓ &harr ↔ &crarr ↙ &cap ∩ &cup ∪