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 Certification Quiz
Test your knowledge to earn your official course certificate!
1. The HTML global attribute, 'contenteditable' is used to:
Update content from the server
Return the spelling of content
Specify whether the content of an element should be editable or not
Create a form
2. Which element is used to define a description list?
<ul>
<ol>
<dl>
<list>
3. What is the purpose of the <label> tag?
To make text bold
To associate text with an input field
To create a heading
To add a watermark
4. What is the correct HTML for making a checkbox?
<input type='checkbox'>
<checkbox>
<check>
<input type='check'>
5. What is the purpose of the <figcaption> element?
To define a figure
To add a caption to a <figure> element
To create a mathematical formula
To link an image
6. In HTML, onblur and onfocus are:
HTML elements
Style attributes
Event attributes
Math functions
7. Which element is used to draw graphics via JavaScript?
<svg>
<graphic>
<canvas>
<draw>
8. Which of these elements are all <table> elements?
<table><tr><tt>
<table><tr><td>
<thead><body><tr>
<table><head><tfoot>
9. Which attribute is used to provide a tooltip for an element?
alt
info
title
tooltip
10. What does the <mark> tag do?
Makes text bold
Highlights text
Draws a line through text
Makes text subscript
11. In HTML, you can embed SVG elements directly into an HTML page.
True
False
Only with plugins
Only in Chrome
12. 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;'>
13. In HTML, which attribute is used to specify that an input field must be filled out?
validate
placeholder
required
formvalidate
14. Inline elements are normally displayed without starting a new line.
True
False
Sometimes
Only in HTML5
15. The HTML <canvas> element is used to:
manipulate data in SQL
draw graphics, on the fly, via scripting
display database records
create complex animations without JS
16. Block elements are normally displayed without starting a new line.
True
False
Sometimes
Only in HTML5
17. How do you define a table header cell?
<th>
<td>
<header>
<tr>
18. HTML comments start with <!-- and end with -->
True
False
They start with //
They start with /*
19. What is the correct HTML for making a text area?
<input type='textarea'>
<textarea>
<text>
<input type='textbox'>
20. What does HTML stand for?
Hyper Text Markup Language
Hyperlinks and Text Markup Language
Home Tool Markup Language
Hyper Tool Markup Language
Submit Quiz (20 Questions)