This page consists of CSS interview questions and answers.
CSS or Cascading Style Sheet is a styling language that we use to style web pages.
The origin of CSS is SGML or Standard Generalized Markup Language.
Some of the versions of CSS is listed below.
There are three ways we can integrate CSS to style web pages.
Click here to learn more.
Following are some of the advantages of CSS.
Faster page load: When we use CSS to style our page we don't have to use HTML attributes. Thus reducing the page size and helping to load the page faster.
Easy maintenance: Defining a global CSS style helps in applying new changes quickly and easily thus provides easy maintenance of the website style.
Platform independent: CSS is platform independent and works on all latest browsers.
Compatibility with different devices: We can write CSS style rules to render a web page differently in different devices.
Reusability: We can write CSS style rules once in a stylesheet file and then use it to style many web pages.
CSS frameworks are preplanned and web standard compliant toolkit for styling web pages.
Example: Twitter Bootstrap, Ionic, Foundation are some of the CSS frameworks that can be used to style websites.
W3C or World Wide Web Consortium maintains the CSS specifications.
RWD stands for Responsive Web Design. It is a technique of designing websites that displays perfectly on multiple devices like desktops, laptops, tablets, mobile phones etc.
The World Wide Web Consortium or W3C is the main international standards organization for the World Wide Web. It was founded by Tim Berners-Lee on 1st October 1994.
Stylesheet files are saved with