21 Document Structure questions from the HTML bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Sign up free to see every answer with its explanation and ask the AI tutor.
A.the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
B.the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
C.the legacy rendering behavior a browser falls back to when no valid document type declaration is present
D.the section that contains all the visible, rendered content of the page
Answer + AI explanation with a free account
2. Which term means: "the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode"?
Junior
A.quirks mode
B.html element
C.Doctype
D.head element
Answer + AI explanation with a free account
3. Which statement is correct?
Junior
A.Doctype — the legacy rendering behavior a browser falls back to when no valid document type declaration is present
B.Doctype — the single root container that wraps every other tag in the page and carries the lang attribute
C.Doctype — the section holding metadata, title, links and scripts that is not rendered as page content
D.Doctype — the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
Answer + AI explanation with a free account
4. What is html element?
Junior
A.the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
B.the section holding metadata, title, links and scripts that is not rendered as page content
C.the single root container that wraps every other tag in the page and carries the lang attribute
D.the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
Answer + AI explanation with a free account
5. Which term means: "the single root container that wraps every other tag in the page and carries the lang attribute"?
Junior
A.quirks mode
B.lang attribute
C.html element
D.body element
Answer + AI explanation with a free account
6. Which statement is correct?
Junior
A.html element — the value on the root element that declares the natural language of the document for screen readers and translation
B.html element — the single root container that wraps every other tag in the page and carries the lang attribute
C.html element — the section that contains all the visible, rendered content of the page
D.html element — the legacy rendering behavior a browser falls back to when no valid document type declaration is present
Answer + AI explanation with a free account
7. What is head element?
Junior
A.the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
B.the value on the root element that declares the natural language of the document for screen readers and translation
C.the section holding metadata, title, links and scripts that is not rendered as page content
D.the single root container that wraps every other tag in the page and carries the lang attribute
Answer + AI explanation with a free account
8. Which term means: "the section holding metadata, title, links and scripts that is not rendered as page content"?
Junior
A.head element
B.lang attribute
C.charset declaration
D.body element
Answer + AI explanation with a free account
9. Which statement is correct?
Junior
A.head element — the single root container that wraps every other tag in the page and carries the lang attribute
B.head element — the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
C.head element — the section holding metadata, title, links and scripts that is not rendered as page content
D.head element — the legacy rendering behavior a browser falls back to when no valid document type declaration is present
Answer + AI explanation with a free account
10. What is body element?
Junior
A.the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
B.the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
C.the single root container that wraps every other tag in the page and carries the lang attribute
D.the section that contains all the visible, rendered content of the page
Answer + AI explanation with a free account
11. Which term means: "the section that contains all the visible, rendered content of the page"?
Junior
A.head element
B.body element
C.Doctype
D.charset declaration
Answer + AI explanation with a free account
12. Which statement is correct?
Junior
A.body element — the legacy rendering behavior a browser falls back to when no valid document type declaration is present
B.body element — the section that contains all the visible, rendered content of the page
C.body element — the value on the root element that declares the natural language of the document for screen readers and translation
D.body element — the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
Answer + AI explanation with a free account
13. What is lang attribute?
Mid
A.the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
B.the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
C.the legacy rendering behavior a browser falls back to when no valid document type declaration is present
D.the value on the root element that declares the natural language of the document for screen readers and translation
Answer + AI explanation with a free account
14. Which term means: "the value on the root element that declares the natural language of the document for screen readers and translation"?
Mid
A.head element
B.lang attribute
C.Doctype
D.charset declaration
Answer + AI explanation with a free account
15. Which statement is correct?
Mid
A.lang attribute — the single root container that wraps every other tag in the page and carries the lang attribute
B.lang attribute — the value on the root element that declares the natural language of the document for screen readers and translation
C.lang attribute — the section that contains all the visible, rendered content of the page
D.lang attribute — the section holding metadata, title, links and scripts that is not rendered as page content
Answer + AI explanation with a free account
16. What is charset declaration?
Mid
A.the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
B.the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
C.the legacy rendering behavior a browser falls back to when no valid document type declaration is present
D.the single root container that wraps every other tag in the page and carries the lang attribute
Answer + AI explanation with a free account
17. Which term means: "the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text"?
Mid
A.Doctype
B.charset declaration
C.quirks mode
D.body element
Answer + AI explanation with a free account
18. Which statement is correct?
Mid
A.charset declaration — the section that contains all the visible, rendered content of the page
B.charset declaration — the section holding metadata, title, links and scripts that is not rendered as page content
C.charset declaration — the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
D.charset declaration — the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
Answer + AI explanation with a free account
19. What is quirks mode?
Senior
A.the value on the root element that declares the natural language of the document for screen readers and translation
B.the single root container that wraps every other tag in the page and carries the lang attribute
C.the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
D.the legacy rendering behavior a browser falls back to when no valid document type declaration is present
Answer + AI explanation with a free account
20. Which term means: "the legacy rendering behavior a browser falls back to when no valid document type declaration is present"?
Senior
A.head element
B.Doctype
C.charset declaration
D.quirks mode
Answer + AI explanation with a free account
21. Which statement is correct?
Senior
A.quirks mode — the section holding metadata, title, links and scripts that is not rendered as page content
B.quirks mode — the meta tag with a UTF-8 value that tells the browser how to decode the document's bytes into text
C.quirks mode — the <!DOCTYPE html> declaration that puts the browser in standards mode rather than quirks mode
D.quirks mode — the legacy rendering behavior a browser falls back to when no valid document type declaration is present
Answer + AI explanation with a free account
Free to start
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.