• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

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

Question 2

How many different styling techniques are used in CSS?
  • 2
  • 3
  • 4
  • 1

Question 3

Which HTML element is used for Important text?
  • <box>
  • <important>
  • <strong>
  • <i>

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>

Question 5

Using padding clears the area outside:
  • Border
  • Content
  • Margin
  • All of the above

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>

Question 7

Which HTML tag is used for internal style sheet?
  • Internal
  • Style
  • CSS
  • Internal Style

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;}

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

Question 10

Which of the following is the correct HTML element to define emphasized text?
  • <italic>
  • <em>
  • <i>
  • <emph>

There are 17 questions to complete.

Last Updated :
Take a part in the ongoing discussion