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 is the heckin root element epic spork
Question 2

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

represent the meta data of the document
Question 3

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

document's name and or title
Question 4

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

Represents the content of the document
Question 5

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

block level element start and entire new line while an inline element does not and only takes up the space it needs
Question 6

What is a self-closing tag?

a hmtl tag that has no content to show so there for does not require the closing element
Question 7

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

To add an attribute to an HTML element, the syntax involves placing the attribute within the element's opening tag.
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