Crazy HTML5 Handout (ii): Common Elements and attributes of HTML5 Jane (i): Common elements reserved by HTML5

Source: Internet
Author: User

HTML5 deleted a small number of elements and attributes: The main deletion of the document style related to various elements and attributes, such as <font>, width, etc., the HTML5 specification is recommended to use CSS style sheet to control the HTML document style.

1. Basic Elements

<div>, <span>, and <p> can accommodate text and other content,<span> does not cause a newline,<div> to cause a newline,<p> to produce a paragraph, Therefore, there is a greater spacing between paragraphs and paragraphs by default.

2. Document formatting elements

<b> (Bold), <i> (Italic), <em> (emphasis, effect italic), <strong> (bold), <small>, <sup> (superscript), <sub> (subscript), <bdo> (text display direction)

3. Semantic-related elements

<abbr> (abbreviation), <address>, <blockquote> (long Reference), <q> (short quote), <cite> (title (italic display), <code>, <dfn> (Professional terminology), <del>, <ins>, <pre> (pre-formatted), <samp> (demo text content), <kbd> (keyboard text), <var>

4. Hyperlinks and Anchor points

<a> elements, attributes include href, target, media.

Define anchor points: <a name= "Test" ></a>

Access Anchor point: <a href= "Anchor.html#test" ></a>

5. List-related elements

<ul> (unordered list), <ol> (with sequence list), <li> (listing Item), <dl> (definition list), <dt> (title Item), <dd> (normal list item)

6. Image-related elements

, <map> (image map), <area> (internal area of image map)

7. Table-related elements

<table>, <caption> (table title), <tr>, <td>, <thead> (table header), <tbody>, <tfoot>, < Th> (cell of table header)

8. Framework-related elements

<iframe>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.