A full HTML meaning for each label

Source: Internet
Author: User

1 <!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">2 <HTMLxmlns= "http://www.w3.org/1999/xhtml">3 <Head>4 <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />
<link rel= "shortcut icon" href= "/favicon.ico" type= "Image/x-icon" >5 <title>Untitled Document</title>6 <Scripttype= "Text/javascript"src= "Js/index.js" ></Script>7 <Scripttype= "Text/javascript"src= "Js/jquery-1.11.0.js" ></Script>8 <Linkhref=".. /css/index.css " />9 <styletype= "Text/css">Ten . BGX{ One Border-bottom-width:2px; A Border-bottom-style:Solid; - Border-bottom-color:#00F; - } the Body{ - Margin-left:0px; - Margin-top:0px; - Margin-right:0px; + } - . QQXF{ + font-size:14px; A Color:#666; at text-align:Center; - } - . ZHMM{ - width:100px; - } - . Xwz{ in font-size:14px; - } to . Denglu{ + width:100px; - Height:25px; the } * </style> $ </Head>Panax Notoginseng - <Body> the <Div></Div> + </Body> A </HTML>
1, <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 
<! The doctype> declaration must be the first line in the HTML document, before the
For example, the:

2, document label start tag all tags should be in this label
xmlns= the "http://www.w3.org/1999/xhtml" xmlns attribute defines one or more namespaces that can be selected in the document. This property can be placed in the start tag of any element within the document. The value of this property is similar to a URL, it defines a namespace, and the browser
This namespace is used for all content within the element that contains the attribute.
xmlns in

3. The head of the document, the container of the head element . Elements in

4,<meta http-equiv= "Content-type" content= "text/html; charset=utf-8" />
 Meta is a META tag in HTML that contains information about the corresponding HTML. The client browser or the server's program is processed based on this information.  
http-equiv a header protocol similar to HTTP, which responds to the browser with some useful information to help display the content of the Web page correctly and accurately.
important!! This page is formatted as text, Web page mode
CharSet (encoded): ! This page encoding is utf-8, Chinese encoding, it is necessary to note that this is the content of the Web page encoding, not the file itself, other types of encoding Chinese may appear garbled.
5,<link rel= "shortcut icon" href= "/favicon.ico" type= "Image/x-icon" > the icon shown on the page selection card

6.<title> Untitled Document </title> page name frequently used to display the site name if it is empty, display the address

7,<script type= "Text/javascript" src= "js/index.js" ></script> Page scripting type type is text
8,<script type= "Text/javascript" src= "js/jquery-1.11.0.js" ></script> js script type  is text
9,<link href= ". /css/index.css "/>  style sheet  defaults to text type

10,<style type= "Text/css" ></style> the style sheet inside the page

11,<body> page body tag must!! All the content tags are written in this tab, only the labels in this tab will be displayed on the page!!! 1



A full HTML meaning for each label

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.