
HTML Quiz
Authored by Ekta Bharti
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a self-closing tag in HTML?
<div>
<p>
<img>
<section>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML5 element is used to specify a header for a document or section?
<h1>
<header>
<section>
<footer>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `data-*` attribute in HTML5 do?
Stores custom data private to the page or application
Links to a database
Creates a form field
Defines a data type
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following HTML elements is used to define emphasized text?
<strong>
<em>
<b>
<i>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML element is used to define important text?
<em>
<strong>
<b>
<mark>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a multi-line text input field in HTML?
<textarea>
<input type="text" multiline>
<input type="textarea">
<text>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which attribute is used to define inline styles in an HTML element?
class
style
id
inline
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?