
HTML Basics Quiz
Authored by shumaila shereen
Computers
6th - 8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to embed an image in a webpage?
<img>
<picture>
<media>
<src>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `href` attribute in the `` tag?
To specify the hyperlink's destination.
To style the hyperlink text.
To set the alignment of the link.
To add a tooltip to the link.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you make text bold using HTML?
<strong>
<b>
<em>
Both a and b
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid style property for aligning text?
text-align
align-text
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for creating an external hyperlink?
<a href="https://example.com">Visit Example</a>
<link src="https://example.com">Visit Example</link>
<hyper href="https://example.com">Visit Example</hyper>
<a src="https://example.com">Visit Example</a>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to underline text in HTML?
<u>
<ul>
<underline>
<line>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you align an image to the center using inline style?
<img src="image.jpg" style="text-align: center;">
<img src="image.jpg" style="display: block; margin: auto;">
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?