HTML Basics Worksheet
Answer the following questions by adding your answer to the DIV element below each question.
Question 1
What is the significance of the html element in an html document?
The significance of the HTML element in an document is it is the part of the code where all the rest of the code goes into, Think of it like a big sandwich.
Question 2
What is the purpose of the head element in an html document?
The purpose of the head element in an html document is to display the webpages name in a browser it also is what the search engines use to access the website.
Question 3
What is the purpose of the title element in an html document?
The purpose of the Title element in an html document is to display the webpages name in a browser it also is what the search engines use to access the website.
Question 4
What is the purpose of the body element in an html document?
The body element in an html document is where you will display the information you want to share on your website.
Question 5
What is the difference between an inline element and a block element?
the block element stretches out to occupy an entire line, while the inline element fall in line and only take up as much width as is required by the content that is inside them.
Question 6
What is a self-closing tag?
A self closing tag is when you want to create space on your web page by using a
Question 7
Explain the syntax for adding an attribute to an HTML element?
The HTML b tag is used to create a b element, which represents bold text
Question 8
Add an H3 element that contains the content 'Hello World!'.
Then add a class attribute to the H3 element and set the value of the attribute to "glow".
Hello World!