CSS Full Form Simplified.
|Computer, Internet, Technology||Cascading Style Sheets|
|Diseases & Conditions||Churg-Strauss Syndrome|
|Telecommunication||Customer Service System|
Introduction of CSS
The full form of CSS is Cascading Style Sheets.. It’s a stylesheet language that specifies how web pages written using HTML should look. CSS gives website designers more control over web pages’ appearance, including fonts, colors and spaces. It’s a powerful tool that web designers can use to modify the design of web pages and have more control over how they should be displayed. It works with all browsers.
- In a separate file (external)
- At the top of a web page document (internal)
- Right next to the text it decorates (inline)
HTML markup was the only place where nearly all of the presentational attributes were found before CSS. All font colors, backgrounds styles, elements alignments, borders, and sizes needed to be described in HTML. This was often repeated many times. CSS allows authors to move a lot of this information to another file, the Style Sheet, which results in much simpler HTML.
HTML is used to define structural elements such as headings (h1 element), sub-headings (h2 element), sub-sub headings (h3 element), etc. These elements can be used in print or on the screen.
Hakon Wium Lie first proposed CSS on October 10, 1994. Lie was working at CERN at the time with Tim Berners Lee. Several other style sheet languages for the web were proposed simultaneously, and discussions on public mailing lists and inside World Wide Web Consortium resulted in the first W3C CSS Recommendation (CSS1) being released in 1996. In particular, a proposal by Bert Bos was influential; he became co-author of CSS1 and is regarded as co-creator of CSS.
Advantages of CSS
- Separation of content from presentation
- Site-wide consistency
- Page reformatting
Enough of advantages. Now lets read the disadvantages!
Disadvantages of CSS
- Selectors are unable to ascend
- Cannot explicitly declare new scope independently of position
- Pseudo-class dynamic behavior not controllable
- Cannot name rules
- Can’t include styles from a rule into another rule
- Cannot target specific text without altering markup
HTML (the Hypertext-Markup Language) is one of the most important technologies to create Web pages. CSS (Cascading Style Sheets), is another. HTML defines the page’s structure, while CSS provides the layout for different devices.
There are three types of CSS which are given below:
Internal or Embedded CSS.