Standard HTML-compliant source code
A place to be aware of in accordance with the standard HTML standards
1, first to DOCTYPE declaration
2,
3, pay attention to a pair of combination of labels such as <title> will end with </title>,
A common pair of combination tags are div, p, title, head, HTML, table, TR, TD, Span, style, B, strong, UL, OL, Li, DL combination (DL, DT, DD), body
4, the individual type label such as Line label BR and other labels will be <br/> label to represent
Individual labels are br, meta, link
5, label name attention as far as possible with half-width English lowercase, such as <div>, as little as possible with full-width capital such as <DIV>
According to the HTML standards, Web standards, the standards are required to follow the above points to comply with the standards.
How to know when to need a pair of labels, when the need for a separate type, the need for everyone in the development of DIV+CSS when more attention to remember, there is the use of Dreamweaver software to simple judgment.
Use Dreamweaver to determine the label method as follows
You can write code in the "Code" in the Dreamweaver software, generally Dreamweaver software writes to ">" When the end of a label, if the individual type of label Dreamweaver software will automatically convert to "/>" such as "<BR/ > ", if the corresponding pair of labels will not be converted to write" > "tab will display" > "label and will not change to"/> ", this time you need to" </"tag name plus" > "to end the tag, such as" <div> " Will end with "</div>".
A place to be aware of in accordance with the standard HTML standards