CSS stands for "Cascading Style Sheet". it's a method sheet language that's wont to describe the looks and format of a document written in terminology.
Cascading style sheets are wont to format the layout of sites.
It provides a further feature to HTML, they will be wont to define text styles, table sizes, and other aspects of sites that previously could only be defined within the HTML of a page.
(Image Source - Google Images)
CSS helps web developers create a consistent appearance across multiple pages of an internet site.
Rather than defining the design of every table and every text block within the HTML of a page, commonly used styles should be defined just one occasion during a CSS document.
Once the design is defined during a cascading sheet, it is often employed by any page that references the CSS file.
While CSS is great for creating text styles, it's also useful for formatting other aspects of website design. For instance, CSS are often wont to define cell padding for table cells, the style, thickness, and color of a table border, and padding around images or other objects.
CSS gives web developers more accurate control over how sites will look than HTML. that's why most of today's sites incorporate cascading style sheets.
Who creates and maintains CSS?
CSS is made and maintained through a gaggle of individuals within the W3C called the CSS working party.
The CSS working party creates documents called specifications.
When a specification has been officially discussed and ratified by W3C members, it becomes a recommendation.
NOTE: the planet Wide Web Consortium, or W3C, maybe a group that creates recommendations on how the web works and the way it should evolve.
CSS versions :
- Level 1 Cascading Style Sheets (CSS1) came out of the W3C as a recommendation in December 1996. This release describes the CSS language also as an easy visual format model for all HTML tags.
- CSS2 became a recommendation of the W3C in May 1998 and is predicated on CSS1. This version adds support for media-specific style sheets, e.g. printers and hearing devices, downloadable fonts, positioning of elements, and tables.
(Image Source - Google Images)
CSS Advantages :
- CSS saves time: You'll write CSS once then reuse an equivalent sheet across multiple HTML pages. you'll define a method for every HTML element and apply it to as many sites as you wish.
- Pages load faster: If you're using CSS, you do not get to write HTML tag attributes whenever. Just write a CSS rule for a tag and apply it to all or any occurrences of that tag. Therefore, less code means faster download times.
- Simple maintenance: To form a worldwide change, simply change the design, and every one element on all sites will update automatically.
- Styles superior to HTML: CSS features a much wider range of attributes than HTML, so it can give your HTML page a far better appearance compared to HTML attributes.
- Multi-device support: Style sheets allow you to optimize content for quite one sort of device. By using an equivalent HTML document, different versions of an internet site are often presented for handheld devices like PDAs and cell phones or for printing.
- Global web standards: HTML attributes are now deprecated and CSS is suggested. Therefore, it's an honest idea to start out using CSS on all HTML pages to form them compatible with future browsers.
What does CSS do?
- You can add amazing looks to your old HTML documents.
- You can completely change the design of your website with just a couple of changes to the CSS code.
Why use CSS?
Here are the highest three benefits of CSS:
- Solve an enormous problem: Before CSS, labels like font, color, background style, element alignments, border, and size had to be repeated on every website. This was a really long process. For example: If you're developing an outsized website where fonts and color information are added on each page, it'll become an extended and expensive process. CSS was created to unravel this problem. it had been a recommendation from W3C.
- Save tons of your time: CSS style definitions are saved in external CSS files, making it possible to vary the whole website by changing just one file.
- Provide more attributes: CSS provides more detailed attributes than simple HTML to define the looks of the web site.


Comments
Post a Comment