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 elemnt contains all the other elemnts in the document. it is known as the root element.
Question 2

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

Its what tells you information about the website.
Question 3

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

what the website is talking about.
Question 4

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

Compliments the title by telling you more information about the topic.
Question 5

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

A block element stretches out and a inline takes up space accomadated for the text.
Question 6

What is a self-closing tag?

a self closing tag means you dont have to add the end tag it automatically does it.
Question 7

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

the scr= is what the audience sees but theres an alt incase the image doesnt work!
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!