Suppose that a corporate website appearance varies according to the department that owns various documents. All the documents need to follow the corporate look and feel. The HR department does not need a separate style sheet. It needs only the sheet containing the difference from the corporate sheet. Which of the following statements justify the above scenario? A. The styles sheets cannot stack on each other B. The style sheets can stack on each other C. The style sheets can override each other D. The style sheets cannot override each other Choose the most appropriate answer from the options given below:
B, C Only
The “cascading” in Cascading Style Sheets means several style sheets can apply to the same document at once. They are layered in order, and when two rules set the same property for the same element, the later or more specific rule wins.
In the scenario, every page first links the corporate style sheet, so all documents share the common look and feel. The HR pages then link a second, small sheet holding only the differences.
B — True. The two sheets stack: both are applied together, so HR pages keep every corporate rule they do not change.
C — True. The HR sheet can override chosen corporate rules (for example a colour or heading font), because the later rule takes precedence for that property.
A and D state the opposite of these two facts; if sheets could not stack or could not override, HR would need a complete separate sheet, which the scenario says it does not.
B, C Only option is correct.
Which of the following statements are true with reference to the way of describing XML data ?
(a) XML uses DTD to describe the data
(b) XML uses XSL to describe the data
(c) XML uses a description node to describe the data
Codes :
In XML, DOCTYPE declaration specifies to include a reference to __________ file.
In XML we can specify the frequency of an element by using the symbols :
Linking to another place in the same or another webpage require two A (Anchor) tags, the first with the ________ attribute and the second with the _________ attribute.
Match List - I with List - II.
| List - I | List - II |
|---|---|
| (A) HTML | (I) Allow for dynamic and interactive web pages. |
| (B) DHTML | (II) Defines the structure of web pages. |
| (C) XML | (III) Object-oriented programming language for web applications. |
| (D) JAVA | (IV) Used for data storage and transport. |
Choose the correct answer from the options given below :
Which of the following statements is not correct ?
What can you say about the following statements ?
I. XML tags are case-insensitive.
II. In JavaScript, identifier names are case-sensitive.
III. Cascading Style Sheets (CSS) cannot be used with XML.
IV. All well-formed XML documents must contain a document type definition.
Which of the following HTML code will affect the vertical alignment of the table content ?
How many different levels of heading does HTML support?
_______ specifies the HTML Element that you want to style.
The web uses the _________ to request and serve web pages and programs.
Which tag is used to enclose any number of javascript statements in HTML document?