Make a site Foresight site
.. /Go up one folder
Hyperlinks:
<a Hert = "" Target (how hyperlinks are opened)
= "Self" or "new (newly opened form)" >
</a>
Anchor point: Special application of hyperlinks
<a href= "#1" ...> </a>
<a name = "1" > </a>
Table: container, you can divide this page into areas
Forms cannot be moved anywhere
Div: Layer Label (default line)
By setting the position in the coordinates, you can move the table freely
Prompt can be arbitrarily dragged
More conducive to website optimization
<div> </div>
Css:style: Style sheet controls the style of a label
All tags in body and body can be added style
Style: Styles Sheet
Inline style sheet: Style style sheet written in Body property position
The time
Inline style sheet: written within the head range to control the current
The style of writing labels on the page
<style>
body{/* Set the BODY tag
Color */
Background-color: #309
}
</style>
External style sheet: Linking CSS files via link tags
Play a role in macro-control, maintenance convenience
Selector: How to control HTML tags with an external style sheet
<link type= "Text/css"
href= "Css/style.css" rel= "stylesheet"/>
ID Selector: The identity number of the label, a page inside
Body Range
All tags can be written with ID and ID cannot be duplicated
Unique identification
First set in the CSS file:
#p1
{
Color: #0F9;}
Then: function in the original file
<body>
<p id= "P1" >rer</p>
<p id= "P2" >sdf</p>
<p id= "P3" >sdf</p>
</body>
Tag Selector:
body{/* Set the BODY tag
Color */
Background-color: #309
}
Priority to follow the ID selector
In CSS Comments:/* */
In HTML comments <!---->
Class selector:
First set up in the CSS file
. yangshi1
{
Color: #C0F;}
Then the link CSS file inside the file is then passed
Name of the class= style
<body>
<p id= "P1" >rer</p>
<p id= "P2" class= "Yangshi1" >sdf</p>
<p id= "P3" >sdf</p>
</body>
DW Table Css+div