CSS your HTML partner ! !

CSS your HTML partner! !

Click here to visit Our forum here!

Monday, January 31, 2011

Advantage of CSS

CSS is the text ASCII (American Standard Code for Information Interchange), which contains the instructions can formatting web documents.


The above code is display page with a white background and text color with black.Teks will use either typeface Helvetica, Arial, or both can not it will use typeface Sans-Serif .



Why dont just use HTML to format your document?
One of the reason not continue to use HTML to format the document because CSS (Cascading Style Sheets) enables format the elements quickly and easily.
Example:
<.H.1.><./.H.>
Code above are used for the text header.Header text will be visible if the cover text inside the Code.


Many Newbie to HTML, which are sometimes confused and often put in the header as:
<.F.O.N.T.><.H.1.>Teks<./.H.><./.F.O.N.T.>
The result, the document will be a check with the code berformat.Forced change all header-header on every document if you want to standardize all the headers.


With CSS, if you want to use the H1 header typrface Sans-Serif size 24-point, is easy just put the following line of CSS code:
H1 {
font-face: san-serif ;
font-size: 24pt ;
}
It will be formatted to the Sans-Serif size 24 each time using the H1.


*remove all full stop for correct coding
References:
Apa itu CSS?
URL:http://www.ilmuit.com/tutorial/149

No comments:

Post a Comment