The Web page is divided into three parts:
Html,htm: Hypertext Markup Language
CSS: Style Sheets
javascript: Scripting
<body bgcolor= "" background= "" text= "#000099" >
Font labels
<font color= "#CCCCCC" face= "Verdana, Geneva, Sans-serif" size= "+5" ></font>
<b></b><i></i> <u></u><center></center> <br><br/>
Content Labels
<div></div><span></span>
<ol type= "A" > Ordered arrangement
<li></li>
<li></li>
</ol>
<ul type= "Square" > unordered arrangement
<li></li>
<li></li>
</ul>
<p><a href= "http://www.sina.com.cn" target (open mode) = "_blank" > Hyperlink access </a> jump page
<a href= "" > Hypertext </a> Download documents
Anchor Point:
<a href= "#md1" > Find 1</a>
<a href= "#md2" > Find 2</a>
<a name= "MD1" > Content 1</a>
<a name= "MD2" > Content 2</a>
Form
<table width= "100%" border= "0" cellspacing= "2" bgcolor= "#CC0099" >
<tr>
<TD width= "20%" rowspan= "2" bgcolor= "#990033" > </td>
<TD width= "20%" bgcolor= "#990033" > </td>
<TD width= "20%" bgcolor= "#990033" > </td>
</tr>
<tr>
<TD colspan= "2" bgcolor= "#990033" > </td>
</tr>
<tr>
<TD bgcolor= "#990033" > </td>
<TD bgcolor= "#990033" > </td>
<TD bgcolor= "#990033" > </td>
</tr>
</table>
Form
<form name= "Zhuce" method= "Get" action= "www.baidu.com"/(generally plus "/")>
method is usually post or get;
The action is submitted to that page (basically self-made) to handle
1 text input
<input type= "text" name= "value=" "> Single line text input box
<input type= "Password" name= "value=" "> Password box
<textarea rows= "5" value= "Name=" "></textarea> text field multi-line text input
<input type= "hidden" name= "value=" "> Hidden fields
2 button
<input type= "Submit" Name= "" value= "submit" > Submit the Lost text to another page
<input type= "reset" name= "value=" Reset >
<input type= "button" name= "" value= "normal" >
<input type= "image" value= "Picture" name= "" width= "" height= ">
3 Select Input
Male <input type= "Radio" name= "Sex" value= "true" checked= "checked" (default) > Radio name same as a group
Female <input type= "Radio" name= "Sex" value= "false" >
<input type= "checkbox" Name= "value=" "checked=" checked "> Multiple selection
<input type= "checkbox" Name= "value=" ">
<input type= "checkbox" Name= "value=" ">
<input type= "File" name= "value=" "> Browse Select File Upload file
<select name= "" multiple= "multiple" (multiple selection) >
<option value= "selected=" selected "> Zhang San </option>
<option value= > John Doe </option>
</select>
</form>
</body>
CSS style Sheets
<title>CSS</title>
<style type= "Text/css" >
*
{
margin:0px;
PADDING:OPX;
}
Ul
{
List-style-type:none;
/*list-style-position:inside; */
}
UL Li
{
/*display:inline;*/
Float:left;
MARGIN:OPX 10px 0px 10px; (upper right bottom left water wood fire Earth Gold)
}
. DD
{
width:100px;
height:100px;
border:5px solid red;
Background-color:yellow;
margin:5px;
Float:left;
}
Div
{
border:1px dotted red;
height:100px;
Backgroud-color:yellow;
width:500px;
}
#d0
{
width:600px;
height:50px;
background-color:red;
}
#d2
{
Background-color:green;
height:200px;
width:700px;
}
</style>
<ul>
<li> Home </li>
<li> Company Introduction </li>
<li> News Events </li>
<li> Product Introduction </li>
<li> Service Introduction </li>
<li> member Zone </li>
<li> Contact Us </li>
</ul>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div class= "DD" ></div>
<div id= "D1" ></div>
<div id= "D2" ></div>
</body>
HTML Big knot!