Common tags
tags commonly used in HTML:
<p> paragraph Labels
<br/> Line Wrapping Labels
<sub> subscript
<sup> superscript
<pre> as-is label: spaces and line breaks are preserved as-is labels.
<ol> <li> ordered list labels,
<ul> <li> unordered list labels.
Item List label (DL DT DD)
Inline label (SPAN)
The contents of the block label <div> DIV tag are separate lines.
HTML tag function: Used to describe the structure of a Web page.
If you want to manipulate the style of the data: manipulate the properties of the label.
Type of Label:
1. There are start tags and end tags. <p> </p> The data content of the Web page needs to be encapsulated in the tag.
2. Both the start and end tags are in a label body. For example:
which
<sub> subscript
<sup> superscript
Chemical:h<sub> of water2</sub>O2 16-Time Square:2<sup> </sup>
Output H2O 216
<ol> <li> ordered list labels,
What would you like to eat tonight? <oltype= "a"> <Li>Hot pot</Li> <Li>Roast duck</Li> <Li>Grilled Fish</Li> </ol>
<ul> <li> unordered list labels.
What's good for lunch? <ultype= "Square"> <Li>Rice with wooden barrels</Li> <Li>Pork Knuckle Rice</Li> <Li>White cut Chicken</Li> </ul>
Output:
Item List label (DL DT DD)
organizational structure of the company:<DL> <DT>Technical Director</DT> <DD>No. 1th Yard Farm</DD> <DD>No. 2nd Yard Farm</DD> <DD>No. 3rd Yard Farm</DD> <DD>No. 4th Yard Farm</DD> <DT>Personnel Director</DT> <DD>Sister No. 1th</DD> <DD>Sister No. 2nd</DD> </DL>
DT tags are not included in the DD tag
DD is more than DT
Common tags of HTML tags