HTML Course | Practice Quiz 2

Last Updated : 27 Sep, 2023

Question 1
What is the full form of CSS?
Cross
Color style sheet
Tick
Cascading style sheet
Cross
Creative style sheet
Cross
Concatenated style sheet


Question 2
How many different styling techniques are used in CSS?
Cross
2
Tick
3
Cross
4
Cross
1


Question 3
Which HTML element is used for Important text?
Cross
<box>
Cross
<important>
Tick
<strong>
Cross
<i>


Question 4
Which among the following is a correct way to open a Hyperlink in new tab?
Cross
<a href=“https://www.geeksforgeeks.org/” new tab></a>
Cross
<a href=“https://www.geeksforgeeks.org/” target=newtab></a>
Tick
<a href=“https://www.geeksforgeeks.org/” target=“_blank”></a>
Cross
<a href=“https://www.geeksforgeeks.org/”></a>


Question 5
Using padding clears the area outside:
Cross
Border
Tick
Content
Cross
Margin
Cross
All of the above


Question 6
Which one of the following is the correct way of adding Inline styles.
Tick
<p style=“font-size:16px;”>Geeksforgeeks</p>
Cross
<p inline style=“font-size:16px”>Geeksforgeeks</p>
Cross
<p inline style=“font-size 16px”>Geeksforgeeks</p>
Cross
<p style=“font-size 16px;”>Geeksforgeeks</p>


Question 7
Which HTML tag is used for internal style sheet?
Cross
Internal
Tick
Style
Cross
CSS
Cross
Internal Style


Question 8
Which of the following is the correct CSS syntax?
Cross
p:color=green, font-size=15px
Cross
{p:color=green, font-size=15px}
Cross
p {color:green, font-size:15px;}
Tick
p {color:green; font-size:15px;}


Question 9
Select the correct among the following for linking an external style sheet.
Tick
<link rel=“stylesheet” type=“text/css” href=“style.css”>
Cross
<style rel=“stylesheet” type=“text/css” href=“style.css”>
Cross
<link>stylesheet
Cross
<link href=“style.css”>stylesheet


Question 10
Which of the following is the correct HTML element to define emphasized text?
Cross
<italic>
Tick
<em>
Cross
<i>
Cross
<emph>


There are 17 questions to complete.


Share your thoughts in the comments

Similar Reads