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?

basically wraps everything on the page
Question 2

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

Basically medata distrubiutes imformation that is on the page that is not visible
Question 3

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

Makes the clickable tag and opens in a new tab
Question 4

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

The body is just visible content in the html. Things like pargraphs, images, and etc.
Question 5

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

Inline basically places a box border and the same width as the text and the block element puts a border on the text filling the text bascially stretching to the lenght of the page
Question 6

What is a self-closing tag?

Its a tag that doesnt need a seperate closing tag
Question 7

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

Adding an attribute Provides additional imformation like href
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!