From the beginning of this section we will be discussing CSS (Cascading Style Sheet). Chinese style sheet called about it. In this Guide it is called the CSS convenience 42,000.

CSS, and what is its function “97 Although CSS Lane is on the website and HTML together. But it is not HTML. It can extend the use of HTML functions. allows us to redefine HTML elements show way. CSS can change the nature of the following

Font
The space between words
List
?
Background
Margin
Location
We will be back in the seven above discussion of the nature of each change. In this section we give you the basis of CSS.

CSS definition (rules)
CSS each have a definition of the following forms

Selector {property:value; property:value; …)

Selector : The first one is the HTML tag, such as P, BODY, A, and so on. called second class, A third called ID. here you know so three specific in talking about our own future.
Property : those who will be the nature of the modification, such as color
Value : the value to the property, such as to the color red can be
Consider the following definition of a typical

A color : red}

According to this definition are all linked into the red. In general we all included in the definition of the whole yuan STYLE HEAD – which put inside. Please test the following website



“STYLE>
A color : red}
P {background-color:blue; color:white}
“/STYLE>
“HEAD
“Imap_check
“A>” http : //www.nease.net/~haidian “” dynamic web “Mgr
“P> Have you noticed that the color of some text and background color of a kind? ?

How?
“BODY
“/HTML>

How kind? Simply put. As long as you know that all the elements can be changed and their flexible nature of the use of the definition of CSS You can make your web page being produced. Below one we will tell you the other two selec tor, and other infrastructure.


Comment Form

You must be logged in to post a comment.

About this blog

Just for web admin!

Photostream