WorksheetsHTML Introduction
Total questions: 7
Worksheet time: 11mins
What does HTML stand for?
The basic building block of an HTML document is called a (a) .
Which symbol is used to start and end most HTML tags?
< >
{ }
[ ]
/
The image shows the basic HTML structure. Where can you fill these tags on it?
<html> , </html>
The image shows the basic HTML structure. Where can you fill these tags on it?
<head> , </head>
The image shows the basic HTML structure. Where can you fill these tags on it?
<body> , </body>
Basic HTML Structure
HTML, which stands for HyperText Markup Language, is the standard language used to create web pages. It provides the basic structure of the page, using a series of elements to enclose different parts of the content. The structure of an HTML document consists of the following elements: <!DOCTYPE html>, <html>, <head>, and <body>.
HTML tags are used to define the content of the web page, such as headings, paragraphs, links, and images. Each tag has a specific purpose and is enclosed in angle brackets. For example, the <h1> tag is used for the main heading of the page, while the <p> tag is used for paragraphs of text.
HTML attributes provide additional information about the elements, such as the color of a heading or the alignment of an image. Attributes are always included in the opening tag of an element and consist of a name and a value, separated by an equals sign. For example, the <img> tag has attributes like src (source) and alt (alternative text).
What is HTML used for?
Creating web pages
Creating mobile apps
Creating video games
Creating music albums
What are HTML tags used for?
Defining the content of the web page
Styling the web page
Creating animations
Managing server-side operations
How do the elements like , ,
, and contribute to the structure of an HTML document?HTML attributes provide additional information about the elements, such as the color of a heading or the alignment of an image. What is an example of an HTML attribute?
(a)
