1.

___________ 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(d) CSS 3I had been asked this question during an internship interview.My question is taken from The Specification of CSS in section CSS Fundamentals, Colors and Styling of CSS

Answer» RIGHT option is (c) CSS 2.1

Explanation: 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.


Discussion

No Comment Found

Related InterviewSolutions