ProTechSolution
Home
Courses
Exercises
Quiz
Roadmaps
Experts
Login
Sign Up
Bootstrap 5 UI
Programming Concepts
HTML & CSS Masterclass
HTML
CSS
JavaScript
PHP
MySQL
Bootstrap 5
C#
HTML & CSS Masterclass Certification Quiz
Test your knowledge to earn your official course certificate!
1. Choose the correct HTML element to define important text:
<strong>
<important>
<b>
<i>
2. How do you insert a comment in a CSS file?
/* this is a comment */
// this is a comment
// this is a comment //
' this is a comment
3. Who is making the Web standards?
Mozilla
Google
The World Wide Web Consortium
Microsoft
4. Choose the correct HTML element to define emphasized text:
<i>
<italic>
<em>
<strong>
5. How do you add a background color for all <h1> elements?
h1 {background-color:#FFFFFF;}
h1.all {background-color:#FFFFFF;}
all.h1 {background-color:#FFFFFF;}
h1 {bgcolor:#FFFFFF;}
6. What is the correct HTML element for inserting a line break?
<break>
<br>
<lb>
<newline>
7. Which HTML tag is used to define an internal style sheet?
<script>
<style>
<css>
<link>
8. What does HTML stand for?
Hyper Text Markup Language
Hyperlinks and Text Markup Language
Home Tool Markup Language
Hyper Tool Markup Language
9. What is the correct HTML for adding a background color?
<background>yellow</background>
<body bg='yellow'>
<body style='background-color:yellow;'>
<body style='bg:yellow;'>
10. What is the correct HTML for creating a hyperlink?
<a url='http://www.w3schools.com'>W3Schools.com</a>
<a href='http://www.w3schools.com'>W3Schools</a>
<a>http://www.w3schools.com</a>
<a name='http://www.w3schools.com'>W3Schools.com</a>
11. Which is the correct CSS syntax?
body {color: black;}
{body:color=black;}
body:color=black;
{body;color:black;}
12. Which property is used to change the background color?
bgcolor
background-color
color
bg-color
13. Which CSS property is used to change the text color of an element?
fgcolor
color
text-color
font-color
14. Where in an HTML document is the correct place to refer to an external style sheet?
At the end of the document
In the <body> section
In the <head> section
Before the <html> tag
15. What does CSS stand for?
Cascading Style Sheets
Creative Style Sheets
Computer Style Sheets
Colorful Style Sheets
16. Which character is used to indicate an end tag?
/
<
^
*
17. Which HTML attribute is used to define inline styles?
style
styles
class
font
18. What is the correct HTML for referring to an external style sheet?
<link rel='stylesheet' type='text/css' href='mystyle.css'>
<stylesheet>mystyle.css</stylesheet>
<style src='mystyle.css'>
<link src='mystyle.css'>
19. Choose the correct HTML element for the largest heading:
<heading>
<h1>
<h6>
<head>
20. Which CSS property controls the text size?
text-size
text-style
font-size
font-style
Submit Quiz (20 Questions)