Question 1
What attribute in the <img> tag is required for providing alternative text for an image?
Question 2
Which HTML element is used to create a hyperlink?
Question 3
When should the 'target=_blank' attribute be used in a hyperlink?
Question 4
How are comments added in HTML?
Question 5
Which HTML attribute specifies that an input field must be filled out before submitting the form?
Question 6
Which tag can be used to group table rows and columns in an HTML table?
Question 7
Which attribute in the <form> tag specifies the HTTP method to be used when submitting the form data?
Question 8
What does the 'charset=UTF-8' meta tag specify in an HTML document?
Question 9
What is the primary function of the <h1> tag in HTML?
Question 10
To ensure accessibility, what should you always include with images in HTML?
Question 11
Which element is used to add a footer in an HTML document?
Question 12
What is the purpose of the <meta> tag in an HTML document?
Question 13
Which HTML element is used to create an ordered list?
Question 14
What is the correct way to create a collapsible section using semantic HTML?
Question 15
What is the main purpose of the <head> section in an HTML document?