HTML > Basic
Set 2 - Links, Images & Multimedia
--:--
Submit Test
Question 1 of 15
Clear
Which HTML tag is used to create a hyperlink?
A
<link>
B
<a>
C
<href>
D
<url>
Question 2 of 15
Clear
Which attribute specifies the destination URL of a hyperlink in the <a> tag?
A
src
B
link
C
href
D
target
Question 3 of 15
Clear
Which attribute value opens a linked document in a new browser tab or window?
A
target='_self'
B
target='_blank'
C
target='_parent'
D
target='_top'
Question 4 of 15
Clear
Which HTML tag is used to embed an image into a webpage?
A
<picture>
B
<image>
C
<img>
D
<src>
Question 5 of 15
Clear
Which attribute provides alternative text for an image if it fails to load or for screen readers?
A
title
B
alt
C
caption
D
desc
Question 6 of 15
Clear
Is the <img> tag an empty (self-closing) element in HTML?
A
Yes, it has no closing tag
B
No, it requires </img>
C
Only in HTML4
D
Only when using PNG files
Question 7 of 15
Clear
Which HTML5 tag is used to embed video content in a webpage?
A
<media>
B
<movie>
C
<video>
D
<embedvideo>
Question 8 of 15
Clear
Which attribute adds play, pause, and volume buttons to an HTML <audio> or <video> player?
A
autoplay
B
controls
C
loop
D
muted
Question 9 of 15
Clear
Which HTML tag is used to specify multiple media resources for <video> and <audio> elements?
A
<src>
B
<media>
C
<source>
D
<track>
Question 10 of 15
Clear
Which attribute is used inside an <a> tag to create a clickable email link?
A
href='email:user@example.com'
B
href='mailto:user@example.com'
C
src='mailto:user@example.com'
D
link='mail:user@example.com'
Question 11 of 15
Clear
Which HTML5 element is used to embed sound or music content on a webpage?
A
<sound>
B
<mp3>
C
<audio>
D
<music>
Question 12 of 15
Clear
Which HTML tag is used to embed another HTML page or YouTube video inside the current webpage?
A
<frame>
B
<iframe>
C
<embedpage>
D
<window>
Question 13 of 15
Clear
Which HTML5 semantic tag is commonly used to group an <img> together with its <figcaption>?
A
<figure>
B
<imgbox>
C
<gallery>
D
<captionbox>
Question 14 of 15
Clear
Which attribute ensures that a video restarts automatically from the beginning once it finishes playing?
A
repeat
B
loop
C
cycle
D
replay
Question 15 of 15
Clear
What does the 'src' attribute stand for in <img>, <audio>, and <video> tags?
A
Screen
B
Source
C
Script
D
Section
Finish & Submit Exam
Question Palette
0 / 15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Answered
Not Answered
Submit Final Answers
Privacy Policy