Hello Peers, there is a piece of amazing news for all, that W3Docs is conducting an Online Quiz Contest on CSS(Cascading Style Sheet), the beauty of a web page, which added styles on the given page. Great Opportunity to learn CSS fundamentals, enhance your CSS learning skills, test your knowledge on the basic CSS questions which may help your to crack any interview.
About CSS Online Quiz Competition
CSS Quiz Basic Contest is organized by W3Docs in order to enhance your CSS skills. W3docs’ basic quiz for CSS complete beginners is a great way to test your knowledge. Pass the exam and receive a certificate of completion!
There are 20 questions in the test, and there is no time limit. The quiz isn’t official; it’s just a fun way to assess how much CSS you know.
For each accurate answer, you will receive 5%. Your total score, out of a possible 100 percent, will be displayed at the end of the quiz.
About CSS (Cascading Style Sheet)
What is CSS?
Cascading Style Sheets (CSS) is an acronym for CSS. It is a language used to describe the appearance of Web pages, such as colors, layout, and fonts, in order to make our websites appealing to users.
CSS is a style sheet language for the web. It can be used with any XML-based markup language and is not dependent on HTML. Let’s try to decipher the acronym:
Cascading: Styles Falling
Style: Adding designs to our HTML tags and styling them
Sheets: Using our writing style in a variety of documents
History Of CSS
- 1994: First Proposed by Hakon Wium Lie on 10th October
- 1996: CSS was published on 17th November with influencer Bert Bos
- Later he became co-author of CSS
- 1996: CSS became official with CSS was published in December
- 1997: Created CSS level 2 on 4th November
- 1998: Published on 12th May
Type Of CSS
There are three types of CSS which are given below:
- Inline CSS
- Internal or Embedded CSS
- External CSS
Inline CSS: Inline CSS is a type of CSS that includes the CSS property in the body section of an element. The style attribute is used to specify this type of style within an HTML tag.
Internal Or Embedded CSS: When a single HTML document must be styled uniquely, internal or embedded CSS might be employed. The CSS ruleset should be in the head section of the HTML file, i.e. the CSS should be embedded in the HTML file.
External CSS is a distinct CSS file that simply contains stylistic properties using tag attributes (for example, class, id, header, and so on). CSS properties should be stored in a separate file with the.css extension and connected to the HTML document via the link tag. This means that only one style can be applied to each element, and it will be applied across all web pages.
CSS selectors are used to selecting the content you want to style. Selectors are the part of CSS ruleset. CSS selectors select HTML elements according to their id, class, type, attribute, etc.
There are several different types of selectors in CSS.
- CSS Element Selector
- CSS Id Selector
- CSS Class Selector
- CSS Universal Selector
- CSS Group Selector