NEW
Font size
WorksheetsHTML (1)
Total questions: 9
Worksheet time: 5mins
Which application is suggested for writing codes according to the instructions?
WordPad
Notepad
Microsoft Word
Excel
HTML tags are used to create elements on a webpage. Which of the following best explains how they are used?
HTML tags are placed within angle brackets to define elements, such as
for a paragraph. For example,
This is a paragraph.
HTML tags are used to perform mathematical operations, such as
HTML tags are used to store variables, such as for variable storage.
HTML tags are used to create animations, such as
What do HTML elements have?
Attributes and values
Only tags
Only text
Only images
Which of the following is the correct basic structure to write a code for an element with an attribute and its value?
< Element Name Attribute Name = "Value" >
< Attribute Name Element Name = "Value" >
< Element Name = Attribute Name "Value" >
< Value Attribute Name = "Element Name" >
Select the correct
tag a student should use to set "nature.jpg" as the background of their webpage.<background = "nature.jpg">
<body bgbackground = "nature.jpg">
<body background = "nature.jpg">
<body bgcolor="nature.jpg">
What is the purpose of the "style" element in the head section of an HTML document?
To define the appearance of the webpage
To display the main content
To add images
To create hyperlinks
What is the range of header tags in HTML?
H1 to H4
H1 to H6
H2 to H5
H3 to H7
Which of the following is NOT an attribute of the font element in HTML?
Color
Face
Size
Border
Which HTML tag is used to define a list item?
< ol >
< ul >
< il >
< li >
