Css miscellaneous
- ___________ has a grammar but unlike traditional (X)HTML it is not defined with a document type definition.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
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.
- Unlike CSS 2, which is a large single specification defining various features?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Unlike CSS 2, which is a large single specification defining various features, CSS 3 is divided into several separate documents called “modules”. Each module adds new capabilities or extends features defined in CSS 2, preserving backward compatibility.
- ___________ describes CSS properties to manipulate the position of “ruby”, which are small annotations on top of or next to words, especially common in Chinese and Japanese.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Ruby describes CSS properties to manipulate the position of “ruby”, which are small annotations on top of or next to words, especially common in Chinese and Japanese. They are often used to give the pronunciation or meaning of difficult ideograms.
- For document-Wide StyleCan easily control style document by document.State true or false.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
True
- What will be the output of following code snippet?
h1 {color: red text-decoration: underline; font-style: italic;}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
In this case, we should see the browser continue to parse the value of color as “red textdecoration:
underline” before it sees a closing semicolon. The font-style property that follows would then be used. Because the color property has an illegal value, it should be
ignored.