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 HTML element is the root element, which means that it contains all of the other elements on the page.
Question 2

What is the purpose of the head element in an html document?

Replace this sentence with your solution to the above question/problem.
Question 3

What is the purpose of the title element in an html document?

Replace this sentence with your solution to the above question/problem.
Question 4

What is the purpose of the body element in an html document?

Replace this sentence with your solution to the above question/problem.
Question 5

What is the difference between an inline element and a block element?

Replace this sentence with your solution to the above question/problem.
Question 6

What is a self-closing tag?

Replace this sentence with your solution to the above question/problem.
Question 7

Explain the syntax for adding an attribute to an HTML element?

Replace this sentence with your solution to the above question/problem.
Question 8

asd;fklja;slfdj; 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!