10 Questions
Which of the following is an example of a global attribute that can be used to define an element?
class
What is the purpose of the head element in an HTML document?
To supply information about the document
What is the term for an element that can contain only inline elements or other block-level elements?
Block-level element
What is the purpose of the 'start' attribute in an ordered list?
To specify the starting number of the list
What is the term for the rules that govern the structure of an HTML document?
Content models
What is the purpose of the 'alt tag' in adding images to web pages?
To provide a text description for accessibility purposes
What is the primary function of form validation in web forms?
To ensure that user input is accurate and complete
What is the purpose of the 'source element' in adding audio and video to a web page?
To specify multiple resources for the media element
What is the primary function of inline frames in web page design?
To add dynamic content from external websites
What is the purpose of the 'headings' in a table in web page design?
To provide a title or caption for the table
Test your knowledge on the basics of HTML document structure, including elements, tags, attributes, document language declaration, head element usage, and organized syntax writing.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free