Change of HTML5 label

Source: Internet
Author: User

I. New document type declaration (DTD)When writing HTML5 documents, it is required to specify the document type to ensure that the browser renders in HTML5 standard mode. The DTD declaration for HTML 5 is: <!doctype html>. <! DOCTYPE HTML > is also correct, because HTML syntax is case-insensitive.
<!DOCTYPE HTML><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /><title>Untitled Document</title></Head><Body></Body></HTML>

two. The new HTML5 labelNew HTML5 Tags-structure tags: the latest structure tag is the change of the layout of the page and the promotion of the search engine friendly Structure Label: ( block Element ) make sense. Div<article> tag definition An article Multimedia Interactive Tags<video> tags define a video <audio> tag definition audio content <source> Tag Definition Media Resource <canvas> tag definition picture <embed> tag definition externally interoperable Content or plugins such as flash new HTML5 tag-web app tag: Web Apply Tags<menu> command List <menuitem>menu Command list label FF (embedded system) <command> menu tag defines a command button <meter> status label (real-time status display: barometric pressure, air temperature) C, O <progress> status tags (task process: Install, load) C, F, O <datalist> define a drop-down list for the input tag, with the option F, O <details> tag, define the details of an element Content, with DT, DD C new HTML5 tags-other tags Comment Label<ruby> tag definition notes or phonetic transcription <rp> tell browsers that do not support ruby elements how to display <rt> tags define the text of comment content for Ruby Other Labels<keygen> tag definition a generated key value in the form (encrypted message transfer) O, F <mark> tags define tagged text (yellow selected) <output> tags define some output types, Calculate form results Mate Oninput Events <time> tags define a date/time none of the major browsers currently support three. The deleted HTML labelElements of pure expression: Basefont,big,center,font, s,strike,tt,u; elements that negatively affect usability: frame,frameset,noframes; elements that create confusion: acronym, applets, Isindex,dir. Four. Redefined HTML label
HTML Elements HTML5 the meaning of
<b> Represents an inline text, usually bold, that does not convey an important meaning
<i> Represents an inline text, usually italic, that does not convey an important meaning
<dd> can be used with details and figure, Definition contains text, dialog is also available
<dt> Can be used together with details and figure, Summary details, dialog also available
Represents the end of a topic rather than a horizontal line, although the same is displayed
<menu> Redefine the menu for the user interface, with Commond or MenuItem
<small> Represent small fonts, such as printing notes or legal terms
<strong> Expressing importance rather than emphasizing symbols

New Page Layouts

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.