.png)
Applications of CSS
Applications of CSS
As mentioned before, CSS is one of the most widely used style languages over the web. I'm going to list a few of them here :-
- <b>CSS saves tim</b>e - You can write CSS once and then reuse the same sheet in multiple HTML pages. You can define each HTML element's style and apply it to as many Web pages as you want.
- <b>Pages load faster</b> - If you are using CSS, 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. So, less code means faster download times.
- <b>Easy maintenance</b> - To make a global change, simply change the style, and all elements in all the web pages will be updated automatically.
- <b>Superior styles to HTML</b> - CSS has a much wider an array of attributes than HTML, so you can give a far better look to your HTML page in comparison to HTML attributes.
- <b>Multiple Device Compatibility</b> - Style sheets allow content to be optimized for more than one type of device. Using the same HTML document, different versions of a website can be presented for handheld devices such as PDAs and cell phones or printing.
- <b>Global web standards</b> - Now, HTML attributes are being deprecated, and it is being recommended to use CSS. So it’s a good idea to start using CSS in all the HTML pages to make them compatible with future browsers.<br>