What is the purpose of using the <div> tag in HTML?
<div>
To display an image
To create a table
To create a hyperlink
To divide the page into sections
Which of the following is NOT a valid form method attribute value?
GET
POST
SUBMIT
PUT
Which semantic HTML tag is most appropriate for containing the primary navigation links of a webpage?
What is the primary role of the <section> element in structuring HTML content?
To display content in a sidebar, separate from the main content.
To define a generic container for any type of content.
To group related content thematically, often with a heading.
To create a navigation menu with links.
In HTML, tags are enclosed within which characters?
( )
{ }
[ ]
< >
Which HTML tag is used to define the structure of an HTML document?
Which input type is used to create a password field?
text
secure
password
hidden
How do you create an ordered list in HTML?
Which HTML tag is used to create a form?
What color does the hexadecimal code "#008000" represent?
Red
Green
Yellow
Blue