1, the first declaration format and encoding format, pay attention to the difference between HTML5 and html4.0, pay attention to the different browser rendering role;
2, the related content of the
3, to ensure that the introduction of jquery.js files are compressed files, that is, min.js;
4, all tags must be closed labels, such as <br/>
5, try to use a non-compatible label, such as span, EM, strong, optgroup, label;
6, try to make the wording of the label, such as H1,img and so on;
7, as little as possible nested <div>, more use <p><a> tags; inline elements cannot nest block-level elements;
8, the HTML document after the URL is best to add/, avoid redirection, for example: href=http://www.webjx.com/css/"http://itaolun.com/",;
9, can be presented in the background of the picture, as far as possible to write CSS style;
10, the important picture must add ALT attribute; Add title to important elements and truncated elements;
11, special symbols use: As far as possible using code substitution: such as < (<) & > (>) & Space () &? (?) and so on;
HTML writing specifications, what are the points of note