Which HTML element is often used as a container for other elements, providing structure and layout?
What is the purpose of the 'action' attribute in a form tag?
Specifies the styling of the form
Specifies where to display the form data
Specifies where to submit the form data
Specifies the scripting language for form validation
Which of the following is NOT a valid reason to use comments in HTML?
Improve search engine optimization (SEO).
Temporarily disable specific HTML code.
Explain complex code sections.
Provide notes for future developers.
What attribute is used to specify the URL of the linked resource in an anchor tag?
url
href
link
src
What is the correct HTML syntax for creating a list item within an ordered list?
<item>Item</item>
What color does the hexadecimal code "#008000" represent?
Yellow
Red
Blue
Green
What is the purpose of the 'colspan' attribute in a table cell?
Makes the cell a header cell
Sets the width of the cell
Makes the cell span multiple columns
Merges the cell with the cell above it
Where does the metadata about an HTML document go?
Which HTML tag is used to define the structure of an HTML document?
What character is represented by the HTML entity &?
'
<
&