NEW
Font size
S
M
L
XL
WorksheetsHTML Quiz
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
Which set of codes is used to render the given output?
∎Item 1
∎Item 2
∎Item 3
∎Item 1
∎Item 2
∎Item 3
a)
<ul type="square">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
b)
<ul style="square">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
c)
<ol type="square">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
d)
<ol style="square">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
2.
Which will be the output of these codes?
a)
• Snacks
1. Hotdog
2. Burger
• Drinks
1. Water
1. Hotdog
2. Burger
• Drinks
1. Water
b)
1. Snacks
• Hotdog
• Burger
2. Drinks
• Water
• Hotdog
• Burger
2. Drinks
• Water
3.
Which set of codes is used to render the given output?
i. Item 1
ii. Item 2
iii. Item 3
i. Item 1
ii. Item 2
iii. Item 3
a)
<ul type="i">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
b)
<ol type="i">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
c)
<ol type="I">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
d)
<ol style="i">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
4.
Which line of codes is incorrect?
a)
7
b)
8
c)
9
d)
10
5.
Describe the code given.
a)
No errors
b)
Wrong Tag
c)
Wrong Attribute
d)
Missing Symbols
6.
Complete the given codes.
a)
bgcolor=
"MainBG.jpg"
"MainBG.jpg"
b)
background=
"MainBG.jpg"
"MainBG.jpg"
c)
backround=
"MainBG.jpg"
"MainBG.jpg"
d)
src=
"MainBG.jpg"
"MainBG.jpg"
7.
Which tag is used to create links?
a)
<a> </a>
b)
<img>
c)
<link> </link>
d)
<l> </l>
8.
What does href attribute stand for?
a)
Hyper Reference
b)
Hyperlink Reference
c)
Hypertext Reference
d)
Hypertype Reference
9.
Which attribute specifies where to open the linked webpage?
a)
target
b)
destination
c)
src
d)
link
10.
Which is the correct syntax to create a link?
a)
<a href=
"www.facebook.com">
Facebook
</a>
"www.facebook.com">
</a>
b)
<a href=
"www.facebook.com">
Facebook
</a href>
"www.facebook.com">
</a href>
c)
<a href=
"www.facebook.com">
Facebook
</href>
"www.facebook.com">
</href>
d)
<a href=
www.facebook.com>
Facebook
</a>
www.facebook.com>
</a>
Reset
