CSS quick
A style sheet by the rules of style to tell the browser how to present the document. Style will be a lot of the rules by adding to your HTML document approach, but the simplest method is to use the launch of STYLE HTML components. placed on the element of the HEAD of the document, including the form of rules website.
STYLE element to note that despite the style sheet test is a good way, it has some users in the use of such methods should be considered before the shortcomings. Different advantages and disadvantages in the style sheet will be added to the HTML part in the discussion.
Each rule consists of a choice at - usually a HTML elements, such as BODY, P, or EM - and the selectors accepted by the style.
There are many attributes can be used to define an element. Each property with a value of the common description of how the selectors should show.
Style rules composed of the following:
Selectors (attributes: value)
At the option of a single style statement should be separated with a semicolon:
Fu (attribute a choice: value 1; attribute 2: Duty 2)
Following is a definition of the H1 and H2 elements of color and font attributes:
<HEAD>
<TITLE> CSS example </ TITLE>
<STYLE TYPE="text/css">
H1 (font-size: x-large; color: red)
H2 (font-size: large; color: blue)
</ STYLE>
</ HEAD>
The above-mentioned style sheet to tell Used up, a red font to display a title, with big, blue font to display two headings. CSS1 formally defined specifications all the attributes and values effectively. Attributes and values of this site CSS attributes part of it is also given.
This handbook is devoted to the CSS-based knowledge to provide enough information to let you test their own style. CSS to get more in-depth knowledge, reading continue to read the following:
CSS structure and rules
CSS Attributes
Style sheets will be added to the HTML
Tags: CSS DIV, CSS effect, css manuals, css templates, div css, div css layout






Leave a Reply