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?

defines the structure of the html document.
Question 2

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

its where the information is located the search engine on webpage
Question 3

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

to identify the doc being invoked
Question 4

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

shows visable content of web page all informaiton is here headings,paragraphs, and images.
Question 5

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

inline element text is in a line wheres block are paragraphs so they stack vertically .
Question 6

What is a self-closing tag?

no content between opening and closing tag ex: < input / >
Question 7

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

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 !

Hello World !