HTML Common tags I. Basic Label
<! DOCTYPE Html>: Referencing the official DTD file--a certain constraint on the use of tags
<body>: Main label, paired appearance, most of the content is placed under the label
meta-information is information that describes the structure, semantics, use and usage of information, and so on. the browser that receives the data can determine the server from the meta-information
What the content is, what data is expected, whether the complete data is received, and whether there is an error in the process so that the customer can know the type of the transmitted object.
two. Common block-level labels
A block tag is a labeled "piece" that behaves as a line in a browser.
1. Title label, H1~h6, font size is getting smaller, such as:<body> avoid calling the title tag because you want to make the text larger.
2. Paragraph label,<p>......</p> One label per paragraph
3. Horizontal line label
4. Ordered list label, beginning with <ol> end at </ol>, each with a <li>...</li> label, entry with 1.2.3. Ordinal callout
5. Unordered list label, starting at <ul> end at </ul>, entry with "·" Dot Callout
6. Define the description label, DT tag: Define the items in the list, DD tag: Describes the items in the list.
Note: The list can be nested, if the <li>...</li>, omit the following can also be established, if omitted "/" is considered a new empty entry.
7. partition label, <div>...</div> the whole block layout of the Web page is used as a container.
Three. Common row-level labels
Multiple row-level labels are displayed in a single row (displayed by row, and not wrapped)
1. Hyperlink tags
2. Image label, ,src= "Picture address" (Resource path, local/network), alt= "hint text", is a byte-type label.
3.<span> label, <span> Line-level content such as text: </span> display highlighted content (compared to <div> label,<div> tag is block-level label can be put block-level label can also release level label )
4.<br/> label, for NewLine label, Byte label ( compared with <p> label,<p> label as paragraph label, between segment and segment, and <br/> label line break interval is small )
5 . Common special Symbols , don't forget the semicolon!