21 Attributes & Global 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 custom prefixed property that stores private page data on an element, read in script via the dataset object
B.the global boolean that removes an element from rendering as if it had display none
C.the global property holding a unique identifier used for fragment links, scripting and styling
D.the global property that makes an element's text directly editable by the user in the browser
Answer + AI explanation with a free account
2. Which term means: "the global property holding a unique identifier used for fragment links, scripting and styling"?
Junior
A.hidden attribute
B.Void element
C.id attribute
D.contenteditable attribute
Answer + AI explanation with a free account
3. Which statement is correct?
Junior
A.id attribute — the global property holding one or more space-separated names used to group elements for styling and scripting
B.id attribute — the global property holding a unique identifier used for fragment links, scripting and styling
C.id attribute — the global property that makes an element's text directly editable by the user in the browser
D.id attribute — the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
Answer + AI explanation with a free account
4. What is class attribute?
Junior
A.the global property that makes an element's text directly editable by the user in the browser
B.the global property holding a unique identifier used for fragment links, scripting and styling
C.the global boolean that removes an element from rendering as if it had display none
D.the global property holding one or more space-separated names used to group elements for styling and scripting
Answer + AI explanation with a free account
5. Which term means: "the global property holding one or more space-separated names used to group elements for styling and scripting"?
Junior
A.contenteditable attribute
B.class attribute
C.id attribute
D.Void element
Answer + AI explanation with a free account
6. Which statement is correct?
Junior
A.class attribute — the global property that makes an element's text directly editable by the user in the browser
B.class attribute — the kind of tag like img or br that has no closing tag and cannot contain child content
C.class attribute — the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
D.class attribute — the global property holding one or more space-separated names used to group elements for styling and scripting
Answer + AI explanation with a free account
7. What is data attribute?
Mid
A.the kind of tag like img or br that has no closing tag and cannot contain child content
B.the global property holding one or more space-separated names used to group elements for styling and scripting
C.the custom prefixed property that stores private page data on an element, read in script via the dataset object
D.the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
Answer + AI explanation with a free account
8. Which term means: "the custom prefixed property that stores private page data on an element, read in script via the dataset object"?
Mid
A.contenteditable attribute
B.hidden attribute
C.Void element
D.data attribute
Answer + AI explanation with a free account
9. Which statement is correct?
Mid
A.data attribute — the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
B.data attribute — the kind of tag like img or br that has no closing tag and cannot contain child content
C.data attribute — the custom prefixed property that stores private page data on an element, read in script via the dataset object
D.data attribute — the global property that makes an element's text directly editable by the user in the browser
Answer + AI explanation with a free account
10. What is Boolean attribute?
Mid
A.the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
B.the global property that makes an element's text directly editable by the user in the browser
C.the custom prefixed property that stores private page data on an element, read in script via the dataset object
D.the kind of tag like img or br that has no closing tag and cannot contain child content
Answer + AI explanation with a free account
11. Which term means: "the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked"?
Mid
A.class attribute
B.Void element
C.Boolean attribute
D.contenteditable attribute
Answer + AI explanation with a free account
12. Which statement is correct?
Mid
A.Boolean attribute — the global boolean that removes an element from rendering as if it had display none
B.Boolean attribute — the global property holding a unique identifier used for fragment links, scripting and styling
C.Boolean attribute — the global property holding one or more space-separated names used to group elements for styling and scripting
D.Boolean attribute — the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
Answer + AI explanation with a free account
13. What is contenteditable attribute?
Mid
A.the global property holding one or more space-separated names used to group elements for styling and scripting
B.the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
C.the kind of tag like img or br that has no closing tag and cannot contain child content
D.the global property that makes an element's text directly editable by the user in the browser
Answer + AI explanation with a free account
14. Which term means: "the global property that makes an element's text directly editable by the user in the browser"?
Mid
A.Void element
B.Boolean attribute
C.class attribute
D.contenteditable attribute
Answer + AI explanation with a free account
15. Which statement is correct?
Mid
A.contenteditable attribute — the custom prefixed property that stores private page data on an element, read in script via the dataset object
B.contenteditable attribute — the global property holding a unique identifier used for fragment links, scripting and styling
C.contenteditable attribute — the kind of tag like img or br that has no closing tag and cannot contain child content
D.contenteditable attribute — the global property that makes an element's text directly editable by the user in the browser
Answer + AI explanation with a free account
16. What is hidden attribute?
Senior
A.the global property holding a unique identifier used for fragment links, scripting and styling
B.the global property holding one or more space-separated names used to group elements for styling and scripting
C.the kind of tag like img or br that has no closing tag and cannot contain child content
D.the global boolean that removes an element from rendering as if it had display none
Answer + AI explanation with a free account
17. Which term means: "the global boolean that removes an element from rendering as if it had display none"?
Senior
A.id attribute
B.class attribute
C.data attribute
D.hidden attribute
Answer + AI explanation with a free account
18. Which statement is correct?
Senior
A.hidden attribute — the global property holding a unique identifier used for fragment links, scripting and styling
B.hidden attribute — the global boolean that removes an element from rendering as if it had display none
C.hidden attribute — the global property holding one or more space-separated names used to group elements for styling and scripting
D.hidden attribute — the global property that makes an element's text directly editable by the user in the browser
Answer + AI explanation with a free account
19. What is Void element?
Senior
A.the custom prefixed property that stores private page data on an element, read in script via the dataset object
B.the kind of tag like img or br that has no closing tag and cannot contain child content
C.the global property holding one or more space-separated names used to group elements for styling and scripting
D.the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
Answer + AI explanation with a free account
20. Which term means: "the kind of tag like img or br that has no closing tag and cannot contain child content"?
Senior
A.contenteditable attribute
B.data attribute
C.Void element
D.id attribute
Answer + AI explanation with a free account
21. Which statement is correct?
Senior
A.Void element — the kind of tag like img or br that has no closing tag and cannot contain child content
B.Void element — the kind of attribute whose mere presence means true regardless of any value, such as disabled or checked
C.Void element — the custom prefixed property that stores private page data on an element, read in script via the dataset object
D.Void element — the global property holding a unique identifier used for fragment links, scripting and styling
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.