Skip to content
Basic Concepts & Definitions
- What does HTML stand for?
- Which of the following is NOT a semantic element in HTML5?
- What is the purpose of the
lang
attribute in an HTML5 document?
- What does the
viewport
meta tag do in HTML5?
HTML5 Elements & Tags
- Which HTML5 element is used to specify a footer for a document or section?
- Which HTML5 element is used for drawing graphics, typically via JavaScript?
- Which element is used in HTML5 to specify navigation links?
- Which HTML5 element is used to play audio files?
- Which HTML5 element is used for marking up a thematic break in a page?
- Which HTML5 element is used for specifying a group of introductory or navigational aids?
- Which HTML5 element defines independent, self-contained content?
- Which HTML5 element is used to define a section of a document that links to other parts of the document or to other documents?
- Which HTML5 element represents a list of commands?
- Which HTML5 element is used to define a container for an external application or interactive content (a plug-in)?
- Which HTML5 element is used to define a header for a document or section?
- Which HTML5 element is used for content that is tangentially related to the content around it, like a sidebar?
- Which HTML5 element represents a list of items where the order of the items is not important?
- Which HTML5 element is used to define a section in a document, such as chapters, headers, footers, or any other sections of the document?
- In HTML5, which element is used to represent a container for introductory content or a set of navigational links?
- Which HTML5 element is used to specify independent self-contained content?
- Which HTML5 element defines a group of media content, and is typically used with the
<audio>
or <video>
elements?
- Which HTML5 element is used to define a block of text that has been quoted from another source?
HTML5 Form Elements & Attributes
- Which of the following is NOT a valid
type
for <input>
in HTML5?
- What is the purpose of the
datalist
element in HTML5?
- What does the
pattern
attribute in an HTML5 input field do?
- What does the
placeholder
attribute provide in an input field?
- What is the purpose of the
maxlength
attribute in an <input> element in HTML5?
- In HTML5, what does the
form
attribute of the <button>
element specify?
- What is the function of the
placeholder
attribute in HTML5 input elements?
- What is the purpose of the
formaction
attribute in an <input type="submit">
element in HTML5?
- In HTML5, what does the
nowrap
attribute in a <td>
element do?
HTML5 Media & Graphics
- What is the correct HTML5 element for playing video files?
- What is the purpose of the
<canvas>
element in HTML5?
- What does the
autoplay
attribute do in a <video>
or <audio>
element in HTML5?
- What is the purpose of the
preload
attribute in a <video>
or <audio>
element in HTML5?
- What is the main function of the
<figcaption>
element in HTML5?
- Which HTML5 element is used for specifying a standard way to embed a video in a webpage?
- In HTML5, which element is used to define a container for vector graphics?
- Which HTML5 element is best used for marking up a scalar measurement within a known range, like a disk usage?
- What does the
controls
attribute do in a <video>
or <audio>
element in HTML5?
- What is the purpose of the
autoplay
attribute in HTML5 media elements like <video>
and <audio>
?
- What does the
srcset
attribute in the <img>
element do?
Advanced HTML5 Features
- What does the
async
attribute in a <script>
tag do?
- What is the purpose of the
output
element in HTML5?
- What is the purpose of the
article
element in HTML5?
- Which attribute is used to specify that an input field must be filled out before submitting the form?
- Which HTML5 attribute specifies whether the content of an element should be editable or not?
- What does the
figure
element in HTML5 represent?
- What is the purpose of the
defer
attribute in a <script>
tag in HTML5?
- In HTML5, which attribute of the
<track>
element specifies the kind of text track?
- In HTML5, which attribute of the
<textarea>
element specifies the visible width of the text control?
- What is the role of the
alt
attribute for images in HTML5?
- What does the
download
attribute in the <a>
tag in HTML5 do?
- In HTML5, what is the purpose of the
<figcaption>
element?
- What is the default value of the
type
attribute for a <button>
element in HTML5?
- In HTML5, which element is used for displaying the result of a calculation?
- Which attribute in HTML5 specifies the character encoding for the HTML document?
- Which HTML5 element defines a caption for a
figure
element?
- How is a new article element indicated in HTML5?
- Which HTML5 element is used for specifying metadata about an HTML document?
- Which element in HTML5 is used to represent a control for generating a public-private key pair?
- Which attribute in the
<a>
tag specifies the URL of the page the link goes to?
- Which HTML5 element is best suited for marking up a time-stamp?
- What is the purpose of the autofocus attribute in HTML5?
- Which HTML5 tag is used to specify an ordered list?
- In HTML5, which element is used to define emphasized text?
- Which attribute in HTML5 is used to specify that an input element should be disabled?
- Which HTML5 element is used to represent a scalar value within a known range, such as the volume control?
- What does the
multiple
attribute do in an <input>
element in HTML5?
Related