Crime 1: Put the block-level elements inside the inline element
HTML elements behave in just two ways: block-level and inline. Each label has a default representation that is not block-level or inline. Like Div and P are block-level elements that are used to form a document structure. Inline elements can only be within a fast-level element.
Crime 2:img label does not contain ALT attribute
The Alt property is all the attributes that must be displayed in a picture in a Web page. It helps people to know what the picture is. Or what the meaning of the picture is when the internet is slow. Its main purpose is to illustrate the meaning of the picture, and think that the description alt= "image" is very bad. If, Some of the pictures are really just decorative effect, then suggest you write alt= "".
Crime 3: Not using list when necessary
Crime 4: Use and to display bold characters and italic
You can define Font-weight and Font-style with CSS styles. If you have to write a label on the page, replace the . with a or tag without any semantics, but for a more concise page, choose a CSS definition style.
Crime 5: Use too much
Line-wrapping tags should only be used for inserts that are in the first text stream line break to knock a new line into a special word. It should not be used to create gaps between elements, but rather split into different paragraphs, or adjust the amplitude of the CSS style text.
Crime 6: Using the wrong strikethrough label
In the old days, and
allowed to define site text. However, now they are defined as deprecated tags when they can still be effective. Now with the new set of tags- and . To replace
Crime 7: Using inline styles
The most important purpose of CSS is to differentiate between documents and styles, and if you write style to the page, there is no CSS at all. So remember to put your style where it's supposed to be.
Crime 8: Add border to HTML
Offence 9: Header label not used
Crime 10: No semantic or
Not to be W3 recommended, and (flashing, scrolling) tags are sheer ugliness. Do not use this tag, if you must use this effect, I believe that you will have other better results.