Question 1
What are the two main rendering modes that browsers can use based on the DOCTYPE declaration?
Strict Mode and Transitional Mode
Standard Mode and Quirks Mode
Normal Mode and Legacy Mode
Document Mode and Compatibility Modemark>kbd>dfn>
Question 2
Which of the following is true about HTML?
A markup language
A programming language
A language designed for styling pages
A language designed to implement logic in a page.
Question 4
What is the purpose of nesting lists in HTML?
To create a list within another list item
To change the list marker style
To reverse the order of list items
To add descriptions to list items
Question 5
How do you merge two or more columns in a table cell?
merge
rowspan
colspan
span
Question 6
What does the "View Page Source" option do?
Opens the browser's developer tools
Displays the raw HTML code of the webpage
Shows the website's analytics
Clears the browser cache
Question 7
What might happen if a DOCTYPE declaration is omitted from an HTML document?
The document will render with errors.
The document will automatically be treated as HTML5.
The document will trigger Quirks Mode in the browser.
The document will not display any contentcookies
Question 8
What is the default playback behavior of the <video>
element if the autoplay
attribute is used?
Video waits for user interaction
Video downloads but doesn’t play
Video plays automatically on page load
Only audio plays automatically
Question 9
Which attribute is used in <input>
to restrict a numeric field between a minimum and maximum value?
range
validate
min
and max
limit
Question 10
Which of the following is the correct way of creating an hyperlink in HTML?
<a>www.geeksforgeeks.org <Geeksforgeeks /a>
<a href=“www.geeksforgeeks.org” Geeksforgeeks /a>
<a href= “www.geeksforgeeks.org”>Geeksforgeeks</a>
<a link=“www.geeksforgeeks.org” Geeksforgeeks> </a>
There are 20 questions to complete.