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.
only I, III and IV are false.
Each statement is checked against the XML 1.0, CSS and ECMAScript rules.
I. XML is case-sensitive: <Book> and <book> are different element names, and a start tag must match its end tag exactly in case. The statement is false.
II. JavaScript identifiers are case-sensitive: total, Total and TOTAL are three different variables. The statement is true.
III. CSS can style XML documents; an XML file links a stylesheet with the processing instruction <?xml-stylesheet type="text/css" href="style.css"?> and browsers apply it to the XML elements. The statement is false.
IV. A well-formed XML document only has to obey the syntax rules (one root element, properly nested and closed tags, quoted attribute values). A document type definition is needed only for a valid document, not for a well-formed one. The statement is false.
So exactly I, III and IV are false and II is true. The choices that call II false, or that leave out I or IV from the false statements, do not fit.
only I, III and IV are false. 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 :
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:
Which of the following statements is not correct ?
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?