Que- 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
Answer- Charset in both html and xhtml is "text/html"
Que- 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
Answer- The "content-type" header
Que- 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
Answer- FALSE
Que- 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
Answer- Hyper Text Markup Language and Extensible HyperText Markup Language
Que- Choose the correct tag for the largest heading in HTML.
a. h6
b. heading
c. h1
d. head
Answer- h1
Que- Which of the following are table tags?
a. table, thead, tr, td
b. colspan, table, tr
c. table, tt, tr, td
d. thead, colspan, td, tr
Answer- table, thead, tr, td
Que- Choose the correct HTML for width attribute and its value.
a. width=80
b. width="80"
c. WIDTH="80"
d. WIDTH=80
Answer- width="80"
Que- State whether the given statement is true or false. !DOCTYPE is case sensitive".
a. TRUE
b. FALSE
c. Nothing Can be Said
d. None of the mentioned
Answer- FALSE
Que- Choose the correct statement.
a. In traditional XHTML close tag for some elements is optional but not encouraged
b. In traditional HTML close tag for some elements is optional but not encouraged
c. In both traditional XHTML and HTML close tag for some elements is not optional
d. In both traditional XHTML and HTML close tag for some elements is optional
Answer- In traditional HTML close tag for some elements is optional but not encouraged
Que- Which of the following is not an empty element?
a. <hr/>
b. <br/>
c. <p/>
d. Both <hr/> and <br/>
Answer- <p/>
Que- 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
Answer- Unknown attributes are not ignored by the browser
Que- Choose the incorrect escape character entity.
a. >
b. >
c. <
d. &st;
Answer- &st;
Que- A Rendering engine is not responsible for ________
a. parsing the markup content (HTML)
b. parsing style information (CSS, XSL, and so on)
c. generating a visual presentation of the formatted content including media files referenced
d. parsing style information (CSS only)
Answer- parsing style information (CSS only)
Que- Firefox uses _________ rendering engine.
a. WebKit
b. Gecko
c. Trident
d. Presto
Answer- Gecko
Que- 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
Answer- TRUE
Que- What is the use of "defer" attribute?
a. It defers rendering of html page
b. It defers script execution until the page has been rendered
c. It defers rendering of css attributes
d. It is only for internal scripts
Answer- It defers script execution until the page has been rendered
Que- Which of the following statements is false?
a. async and defer attributes of script tag execute before the DOMContentLoaded event
b. defer executes each script sequentially
c. async executes each script when it is ready
d. all older browsers supports async attribute
Answer- all older browsers supports async attribute
Que- 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
Answer- Web browser
Que- Which of the following is the first web browser?
a. Nexus
b. Netscape Navigator
c. Internet Explorer
d. Mosaic
Answer- Nexus
Que- Who created the first web browser
a. Tim Berners Lee
b. Jacobs, Lan
c. Marc Andeersen
d. Mozilla foundation
Answer- Tim Berners Lee
Que- Nexus is first graphical web browser.
a. TRUE
b. FALSE
c. Nothing Can be Said
d. None of the mentioned
Answer- FALSE
Que- The open source software version of netscape is _________
a. Chrome
b. Mozilla
c. Internet Explorer
d. Erwise
Answer- Mozilla
Que- Which of the following is not an IDE?
a. BlueGriffon 1.5.2
b. Aptana studio 3
c. TextEdit(Mac)
d. Dreamweaver
Answer- TextEdit(Mac)
Que- IDE stands for _________
a. Internet Development Environment
b. Integrated Development Environment
c. Intelligent Development Environment
d. Integrated Developed Environment
Answer- Integrated Development Environment