1.1. General label
1.1.1
, Format control label
<font color= "" face= "" size= "" ></font> control font; color= "# #FF0000"; face, font, size, font.
<b></b> Font Bold
<i></i> Tilt
<u></u> Underline
<strong></strong> font Bold (emphasis, tone reinforcement)
<em></em> font Tilt (emphasis, tone enhancement)
<center></center> Center
<br> or <br/> equivalent to carriage return
; Indicates that spaces can also be pressed in the design page ctrl+shift+space
1.1.2
, Content container label
<p></p> paragraph labels (blank lines between paragraphs)
<div></div> Layer Label (default line)
<span></span> Layer Labels (how much space is used by default)
<ol type= "1" >--sequential list with a serial number of ..., you can change the ordinal form in quotation marks
<li> content </li>
<li> content </li>
</ol>--The above "ol" is changed to "UL" is an unordered list
“.. /"indicates the parent directory
"./" indicates the current directory
Relative path: Finds from the current page.
Absolute path: Search from the root of the site. "/", which represents the root of the site.
The HTML element refers to all the code from the start tag (start tag) to the end tag (end tag).
For more information, see:http://www.w3school.com.cn/
Cases:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional. DTD ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Page Labels </title>
<body>
<font color= "#0066FF" face= "Chinese New Wei" size= "5" > Font control </font> <!--comments--><br>
<b> font Bold </b> <br>
<i> Tilt </i> <br>
<u> Underline </u> <br>
<strong> Bold </strong> <br>
<em> Tilt </em> <br>
<center> Center </center> <br>
Back <br> car <br>
Spaces <br>
<br>
<br>
<p> paragraph 1</p>
<p> paragraphs <br>
2</p>
<font> first <div> layer labels </div></font>
<font> second <span> layer labels </span></font>
<ol type= "A" > Ordered list
<li> Serial 1</li>
<li> Serial 2</li>
<li> Serial 3</li>
</ol>
<ul type= "Circle" > Unordered list
<li> First </li>
<li> Second </li>
<li> Third </li>
</ul>
<a href= "http://www.w3school.com.cn" >this is a link</a>
</body>
1.2. Common label
Hyperlink label
<a href= "hyperlink address" target= "_blank" > Hyperlink text </a>--href (hyperlink reference); _blank is open in a new window.
The first step: do the anchor point label. <a name= "" ></a>
Step Two: do anchor links. <a href= "The value of the name of the target link" ></a>
Picture label
--high heel width set one, the display picture is scaled proportionally. ALT displays text when a picture cannot be loaded, and also helps search engines.
HTML Basics (General tags, common tags)