This article someone better than I summed up, apply to the novice, I will properly pave a bit, the end will give you the site, I will not swim.
A) HTML structure
1.
- <title>
- <base/>
- <link/> (rel, href, type)
- <meta/> (http-equiv, name, content)
2.<body> Label
- Block-level labels & inline labels
- Basic tags (
- Special symbols (>, <, , ", ©, ....) )
- <a> hyperlink tag (anchor tag) (href, target, name)
- graphic tags (src, title, alt, width, height, align)
- List labels (<ul>, <ol>, <li>, <dl>, <dt>, <dd>)
- <table> table Labels (<table>, <caption>, <tr>, <th>, <td>, <thead>, <tbody>, rowspan, colspan)
- <from> Form labels (action, method, Enctype, <input>, <textarea>, <select>, <label>,< fieldset>)
3. Framework
II) What is a label:
- is made up of a pair of bracketed words. For example:
- Labels are case-insensitive .
- The label is divided into two parts: start tag <a> and end tag </a>. The part between the two tags we call the label body.
- Some label functions are simple. Use a label. This label is called a self-closing tag. For example: <br/>
- tags can be nested. But cannot cross-nest. <a><b></a></b>
III) Properties of the Label:
- Usually occurs as a key-value pair. Like Name= "Nick."
- Attributes can only be present in the start tag or in the self-closing and label.
- Attribute names are all lowercase. * Attribute values must be wrapped in double or single quotes such as name= "Nick"
- If the property value is exactly the same as the property name. Write the property name directly. e.g. ReadOnly
IV) HTML5 Basic structure:
The DTD in HTML4 is defined as the following structure, and the other is unchanged.
V) The way that HTML5 supports the character set used by the specified page
- Specifying a character set using Content-type
- Specifying character sets directly using CharSet
<meta charset= "UTF-8" >
VI) use of HTML tags
HTML tags at the collection: http://www.cnblogs.com/suoning/p/5614372.html
HTML Learning (a) basic article