DW Table Css+div

Source: Internet
Author: User

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

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.