What Is CSS?

Bookmark and Share

Najibblog, CSS is the womb ASCII text directives for formatting web documents. He allows you to make their web offerings like the layout and font usage, saiz font, background color etc..

An easy way to explain CSS is to provide the following example. Cod show below as an example, she is inserted in the HEAD portion of your web pages your web kerana every sailor will understand style sheets.

Cod
<style type="text/css">
<! -
BODY (
background-color: white;
color: black;
font-family: Arial, Helvetica, sans-serif;
)
->
</ Style>


Cod on top of the page will cause you to have a white background and black text. Text in the BODY will use the same existing typeface Arial, Helvetica, or if there is not both, he will use the Sans-serif typeface.

CSS Advantages
Why not continue to use simple HTML for formatting documents?

Actually one of the reasons why the need for knowledge of Cascading Style Sheets is a formatting element it allows you to easily and quickly.

Let me give one example follows:

Cod
<h1> </ H>


H1 tags are used for the text above the header. If you close the text inside these tags, the text is dinampakkan as a header. However, the bustling new person (newbie) in HTML terkeliru sometimes and often put the header inside the DIV tag as follows:

Cod
<FONT> <h1> Text </ H> </ FONT>


The result, your document will become a bush with a cod-format, even if you want a uniform all the header-header, forced you to change all the header-header on the overall document.

With CSS, if you want to use H1 headers Sans-Serif typeface bersaiz 24-point, in an easy place the following line to your CSS between the tags:

Cod
H1 (
font-face: san-serif;
font-size: 24pt;
)


Because every time you use the H1, it will continue to reformat the Sans-Serif font size 24.

Ok guys.. I Hope can usefull n helps.. Don't forget to leave your comment guys ....What Is World Wide Web?...don't forget to read it........

{ 0 komentar... Views All / Send Comment! }

Posting Komentar

Powered By Blogger