Vidyalelo
CSS · Q42

Basic CSS

Programming · CSS · question 42

Q42

___________ has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.

A.
CSS 1
B.
CSS 2
C.
CSS 2.1
Answer
D.
CSS 3

Answer: Option C

Solution

Answer: Option C
Solution:
CSS 2.1 has a grammar (www.w3.org/TR/CSS21/grammar.html) but unlike traditional (X)HTML it is not defined with a document type definition. Instead the CSS specification is a combination of prose and a grammar that could be used to build a simple parser.