NEW
Font size
S
M
L
XL
WorksheetsCreate a Website 1
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
Which element is not visible on a webpage?
a)
Your personal information
b)
particle elements
c)
The head element contains website metadata such as title and link elements, and is not visible to site visitors.
d)
your phone number
2.
What is the difference between an opening tag and a closing tag?
a)
Closing tags are capitalized
b)
Closing tags contain a forward slash, e.g.,
</a>c)
Opening tags contain a forward slash, e.g.,
</a>d)
Closing tags are the credits at the end
3.
Which HTML element is like the headline in a newspaper?
a)
A photograph
b)
A link
c)
The index
d)
Headings, such as h1 and h3, display large and bold text.
4.
Div elements are commonly used for which of the following?
a)
To organize groups of HTML elementsDivs can be used to create logical divisions of HTML elements, such as "nav" or "main".
b)
To create a divide
c)
To divide portions
d)
To share things
5.
The .png and .jpg file formats are commonly used for...
a)
Writing text
b)
Writing game code
c)
Image URLsFiles ending in .png and .jpg are images.
d)
Organizing your files
6.
In the following code, which is the parent and which is the child?
<ul> <li>list item</li> <li>list item</li> <li>list item</li> </ul>
<ul> <li>list item</li> <li>list item</li> <li>list item</li> </ul>
a)
<li> is parent and <ul> is child
b)
There is no parent
c)
There is no child
d)
The ul element is the parent and the li elements are childrenli elements are children because they are inside
<ul> and </ul>.7.
Which is true about HTML?
a)
Which is true about HTML?
b)
None of these
c)
It provides the structure for websites
d)
It is used primarily to style websites
8.
src, href and class are all...
a)
Anchor elements
b)
URLs
c)
Closing tags
d)
AttributesAttributes change the behavior or appearance of HTML elements. Src sets an image or video source, href sets a URL for anchor and link elements, and class assigns a class attribute to HTML elements.
9.
In the following code, which is the parent and which is the child?
<ul> <li>list item</li> <li>list item</li> <li>list item</li> </ul>
<ul> <li>list item</li> <li>list item</li> <li>list item</li> </ul>
a)
The ul element is the parent and the li elements are childrenli elements are children because they are inside
<ul> and </ul>.b)
The first li is the parent and the second and third li are children
c)
The opening
<ul> tag is the parent and the</ul> is the childd)
li elements are the parents and ul is the child
10.
Which HTML element is represented by the following code?
<p>...</p>
<p>...</p>
a)
Heading element
b)
Sentence element
c)
Paragraph element
d)
Partition element
Reset
