# 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 it contains the other elements on the page.
Question 2

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

Contains information about the page.
Question 3

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

To let you know what you are looking at.
Question 4

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

Contains information shown on the web page.
Question 5

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

An inline element only takes up as much space as need. Where as a block element takes up the width of a page.
Question 6

What is a self-closing tag?

Self-closing tags are single tags without closing counterparts.
Question 7

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

attributes specify values in html page.
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!