NEW
Font size
WorksheetsHTML
Total questions: 15
Worksheet time: 8mins
What does HTML stand for
Hypertext Markup Language
High Text Markup Language
Hyperlink Text Markup Language
Hyper Tool Markup Language
What is the primary purpose of HTML
To style web pages
To create and design web pages
To program web applications
To manage web servers
What are HTML documents composed of
Scripts and databases
Elements represented by tags
Images and multimedia
Stylesheets and fonts
Which of the following is an example of an HTML tag
<style>
<html>
<body>
All of the above
What does the <div> tag represent
A division or section of the document
A hyperlink
An image
A form input
What is an attribute in HTML
A way to define the color of the text
A piece of additional information about an element
A type of HTML tag
A method for including images
What is the role of the <head> element in an HTML document
It contains metadata about the document
It contains the main content visible in the browser
It defines the structure of the document
It includes interactive elements like forms
Which HTML tag is used to create a paragraph
<div>
<p>
<a>
<img>
What is the purpose of semantic elements in HTML5?**
To improve the visual appearance of the web page
To create interactive web applications
To provide a more meaningful structure and improve accessibility and SEO
To manage server-side scripts
Which attribute is used for providing a description of an image for accessibility
src
alt
href
title
Which HTML element contains all the content visible on a web page
<html>
<head>
<body>
<title>
What is the correct HTML tag for creating a hyperlink?
<link>
<a>
<href>
<src>
Which tag is used to specify the title of an HTML document
<meta>
<head>
<title>
<header>
What is the correct format for a self-closing tag in HTML
<img>
<img />
HTML attributes are used to provide additional information about HTML elements and modify their behavior.
True
False
