CSS handles the look and feel part of a web page. Using CSS the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, layout designs, variations in display for different devices and screen sizes as well as a variety of other effects. CSS provides powerful control over the presentation of an HTML document. Most commonly, CSS is combined with the markup languages HTML or XHTML.
- You can define a style for each HTML element and apply it to as many Web pages as you want.
- You do not need to write HTML tag attributes every time. Just write one CSS rule of a tag and apply it to all the occurrences of that tag.
- CSS simply change the style, and all elements in all the web pages will be updated automatically.
- CSS using the same HTML document, different versions of a website can be presented for handheld devices such as PDAs and cell phones or for printing.
- Its a good idea to start using CSS in all the HTML pages to make them compatible to future browsers.
0 टिप्पणियाँ:
Post a Comment