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 in a web page, which means that it contains all code.
Question 2

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

It tells what part of text is part of the header.
Question 3

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

The title element tells what the tab in a web page is called.
Question 4

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

The body element contains the bulk of the text.
Question 5

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

Inline element will occupy only enough width to accomodate the content that is inside them and block-level element occupy the whole eith of the line. An exmple of inline is bold and underline.
Question 6

What is a self-closing tag?

Self-closing tag does not contain any text or other element, an example is line break.
Question 7

In the DIV element below this paragraph, add an H3 header element and make it display the content 'Hello World!'

Hello World!