
HTML MCQs - XML and Protocols MCQs
XML and Protocols MCQs page consists of Differences, network, HTML meta data tags, XML parser, protocol supported browsers, HTMLminifier and Web Sockets
1. Which of the following is not a difference between HTML and XHTML?
A. Charset in html is "text/html" where as in xhtml it is "application/xml+xhtml"
B. Charset in both html and xhtml is "text/html"
C. Tags and attributes are case-insensitive in HTML but not in XHTML
D. Special characters must be escaped using character entities in XHTML unlike HTML
View Answer
2. What indicates the content in file is HTML when delivered on the network.
A. The extension of the file ".html"
B. The "content-type" header
C. Both ".html" extension and "content-type" header
D. The "content_type" header
View Answer
3. State whether the given statement is true or false. "We can intermix XHTML and HTML 4.01 documents"
A. TRUE
B. FALSE
C. Nothing Can be Said
D. None of the mentioned
View Answer
4. HTML and XHTML stands for ______
A. Hyper Text Markup Language and Extensible HyperText Markup Language
B. Hyper Text Markup Language and Extensible HyperText Marking Language
C. Hyper Text Marking Language and EXtensible HyperText Marking Language
D. Hyper Text Marking Language and Extensible HyperText Markup Language
View Answer
5. Choose the correct tag for the largest heading in HTML.
A. h6
B. heading
C. h1
D. head
View Answer
6. Which of the following is not a correct (X)HTML rule?
A. Attributes should be quoted
B. Tags should not nest tag
C. Attribute minimization is forbidden
D. Unknown attributes are not ignored by the browser
View Answer
7. State true or false. It is faster to render HTML and CSS than to interpret and execute JavaScript.
A. TRUE
B. FALSE
C. Nothing Can be Said
D. None of the mentioned
View Answer
8. Which of the following is used to read a HTML page and render it?
A. Web browser
B. Web server
C. Web matrix
D. Web network
View Answer
9. In which part of the HTML metadata is contained?
A. body tag
B. html tag
C. head tag
D. title tag
View Answer
10. __________ is an HTML specification used to add more information to HTML tags.
A. Macrodata
B. Microdata
C. Minidata
D. Modifydata
View Answer