
HTML Fundamentals Assessment
Authored by Mohammad Allam
Information Technology (IT)
Professional Development
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an HTML element?
An HTML element is a component of an HTML document that represents a part of the content, such as a paragraph, heading, or link.
An HTML element is a type of programming language.
An HTML element is a software application.
An HTML element is a database structure.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an HTML tag?
To create animations on a webpage.
The purpose of an HTML tag is to structure and format content on a webpage.
To enhance server-side processing.
To store data in a database.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used to define the root of an HTML document?
<!DOCTYPE html>
<head>
<body>
<html>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an attribute in HTML?
An attribute in HTML is a type of element.
An attribute in HTML is a style applied to an element.
An attribute in HTML is a modifier of an element that provides additional information.
An attribute in HTML is a script that runs on the page.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add a class attribute to an HTML element?
Add a class by using the 'id' attribute instead.
Use the 'style' attribute to add a class.
Include the class in a separate CSS file only.
Use the 'class' attribute in the HTML tag, e.g.,
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between block-level and inline elements?
Inline elements can occupy the full width of the container.
Block-level elements can only contain text.
Block-level elements vs. inline elements: Block-level elements occupy the full width and start on a new line; inline elements occupy only the space they need and do not start on a new line.
Block-level elements are always smaller than inline elements.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which HTML tag is used for creating hyperlinks?
<link>
<b>
<a>
<u>
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?