HTML Course | Practice Quiz 2
Question 1 |
What is the full form of CSS?
Color style sheet | |
Cascading style sheet | |
Creative style sheet | |
Concatenated style sheet |
Discuss it
Question 2 |
How many different styling techniques are used in CSS?
2 | |
3 | |
4 | |
1 |
Discuss it
Question 3 |
Which HTML element is used for Important text?
<box> | |
<important> | |
<strong> | |
<i> |
Discuss it
Question 4 |
Which among the following is a correct way to open a Hyperlink in new tab?
<a href=“https://www.geeksforgeeks.org/” new tab></a> | |
<a href=“https://www.geeksforgeeks.org/” target=newtab></a> | |
<a href=“https://www.geeksforgeeks.org/” target=“_blank”></a> | |
<a href=“https://www.geeksforgeeks.org/”></a> |
Discuss it
Question 5 |
Using padding clears the area outside:
Border | |
Content | |
Margin | |
All of the above |
Discuss it
Question 6 |
Which one of the following is the correct way of adding Inline styles.
<p style=“font-size:16px;”>Geeksforgeeks</p> | |
<p inline style=“font-size:16px”>Geeksforgeeks</p> | |
<p inline style=“font-size 16px”>Geeksforgeeks</p> | |
<p style=“font-size 16px;”>Geeksforgeeks</p> |
Discuss it
Question 7 |
Which HTML tag is used for internal style sheet?
Internal | |
Style | |
CSS | |
Internal Style |
Discuss it
Question 8 |
Which of the following is the correct CSS syntax?
p:color=green, font-size=15px | |
{p:color=green, font-size=15px} | |
p {color:green, font-size:15px;} | |
p {color:green; font-size:15px;} |
Discuss it
Question 9 |
Select the correct among the following for linking an external style sheet.
<link rel=“stylesheet” type=“text/css” href=“style.css”> | |
<style rel=“stylesheet” type=“text/css” href=“style.css”> | |
<link>stylesheet | |
<link href=“style.css”>stylesheet |
Discuss it
Question 10 |
Which of the following is the correct HTML element to define emphasized text?
<italic> | |
<em> | |
<i> | |
<emph> |
Discuss it
There are 17 questions to complete.