Same: All indicate the oblique body.
the difference:
(1) <em> indicates the content that is emphasized, <i> is a physical oblique body, without content meaning.
(2) <em> Tags are labels containing semantics, and search engines will understand these semantics. It is deliberately set in HTML as the meaning of emphasis. When these labels that are emphasized, some screen readers may use different Inflections to be more conducive to SEO.
【2】 <br/> and <p> tagsSame: have the attributes of changing travel.
Difference: <br/> Use alone; execute small changes.
<p> </p> In pairs;
【3】 <strong> and <b> tags<Strong> is a logical label, which strengthens the tone of characters and emphasizes. You can also change the specific performance of Strong through CSS.
<b> It is a physical label, which means bold.
In order to meet the current W3C standards, the Strong tag is recommended.
【4】 <span> and <div> tagsThe same: The container label is widely used in the HTML language. If <div> is replaced with <span>, it will be found that the effect will be exactly the same after execution. Both play the role of independent blocks.
Difference: <span> It is a row element that will not be changed before and after it;
<DIV> The elements surrounded by blocks will be automatically changed. A divatient line.
【5】 Valign and Align propertiesValign: The vertical alignment method of the representative line [Bottom under the center/mmiddle in TOP]
Align: Represents the horizontal direction [CENTER/MIDDLE RIGHT in the Left Left]
[6] Center and Middle attributesAlign = MIDDLE is generally in the center of the picture
Align = center is generally in the middle of the text
When the effect is the same
Usually use center, Middle may not work in IE
【7】 <Button> and <input Type = Button><Button> provides more powerful functions and richer content.
The contents of <Button> and </Button> tags are the contents of the buttons, including any acceptable text content, such as text or multimedia content.
The only element for use is image mapping.
Please always specify the Type attribute for the button.
The default type of the Internet Explorer is Button, while the default value of the other browser (including the W3C specification) is submit.
【8】 Text-Align: Center and <Center><Center> not only affects the text, but also in the middle of the element.
Text-Align does not control the alignment of elements, but only affects internal content.
The element itself will not move from one paragraph to the other end, but the text is affected.
[9] Letter-spacing and word-spacingLetter-spacing refers to the interval of the letter;
Word-Spacing refers to the interval between words.
Chinese is generally Letter-SPACING control character spacing
word-spacing does not work for Chinese