HTML Course | Practice Quiz 2

  • Last Updated : 09 Jan, 2019

Question 1
What is the full form of CSS?
A
Color style sheet
B
Cascading style sheet
C
Creative style sheet
D
Concatenated style sheet
HTML Course | Practice Quiz 2    
Discuss it


Question 2
How many different styling techniques are used in CSS?
A
2
B
3
C
4
D
1
HTML Course | Practice Quiz 2    
Discuss it


Question 3
Which HTML element is used for Important text?
A
<box>
B
<important>
C
<strong>
D
<i>
HTML Course | Practice Quiz 2    
Discuss it


Question 4
Which among the following is a correct way to open a Hyperlink in new tab?
A
<a href=“https://www.geeksforgeeks.org/” new tab></a>
B
<a href=“https://www.geeksforgeeks.org/” target=newtab></a>
C
<a href=“https://www.geeksforgeeks.org/” target=“_blank”></a>
D
<a href=“https://www.geeksforgeeks.org/”></a>
HTML Course | Practice Quiz 2    
Discuss it


Question 5
Using padding clears the area outside:
A
Border
B
Content
C
Margin
D
All of the above
HTML Course | Practice Quiz 2    
Discuss it


Question 6
Which one of the following is the correct way of adding Inline styles.
A
<p style=“font-size:16px;”>Geeksforgeeks</p>
B
<p inline style=“font-size:16px”>Geeksforgeeks</p>
C
<p inline style=“font-size 16px”>Geeksforgeeks</p>
D
<p style=“font-size 16px;”>Geeksforgeeks</p>
HTML Course | Practice Quiz 2    
Discuss it


Question 7
Which HTML tag is used for internal style sheet?
A
Internal
B
Style
C
CSS
D
Internal Style
HTML Course | Practice Quiz 2    
Discuss it


Question 8
Which of the following is the correct CSS syntax?
A
p:color=green, font-size=15px
B
{p:color=green, font-size=15px}
C
p {color:green, font-size:15px;}
D
p {color:green; font-size:15px;}
HTML Course | Practice Quiz 2    
Discuss it


Question 9
Select the correct among the following for linking an external style sheet.
A
<link rel=“stylesheet” type=“text/css” href=“style.css”>
B
<style rel=“stylesheet” type=“text/css” href=“style.css”>
C
<link>stylesheet
D
<link href=“style.css”>stylesheet
HTML Course | Practice Quiz 2    
Discuss it


Question 10
Which of the following is the correct HTML element to define emphasized text?
A
<italic>
B
<em>
C
<i>
D
<emph>
HTML Course | Practice Quiz 2    
Discuss it


There are 17 questions to complete.
My Personal Notes arrow_drop_up