Fill in the blanks
HTML means Hyper Text Markup Language.
A set of pages of information on the Internet about a particular subject is called a website.
The language used to create web pages is known as HTML.
Every HTML document begins with
<HTML> and ends with
The tags which require start and end tags are called container tags.
Empty tags do not require a closing tag in an HTML document.
An HTML document has two parts
The content written within the
<Title> tag does not appear on the web page tags.
An HTML file is generally created on Notepad.
An HTML document is saved with the extension .html.
Short Answer Questions
What is HTML?
HTML is a language used to create web pages. It has all the features of basic word processing including graphics. It helps to make the web pages attractive and informative as well as publish the information globally.
What is the basic structure of an HTML document?
The basic structure of an HTML document is as follows:
<HTML> <HEAD> <TITLE>...the title of the web page....</TITLE> </HEAD> <BODY>.... .........the body of the document....... ..... </BODY> </HTML>
What is meant by HTML tags?
Tags are special codes in an HTML document. They are marked by angle brackets (< and >) which are understood by the web browsers.
<tag name>String of text</tag name>
Name the two documents located in a computer's network.
The two documents located in a computer's network are:
Name two softwares which are used to view an HTML document.
Two softwares which are used to view an HTML document are-
- Internet Explorer
- Google Chrome
Distinguish between <P> and <BR> tags.
|<P> tag||<BR> tag|
|The paragraph tag helps to identify and separate paragraphs in an HTML document.||The line break tag avoids blank spaces between the lines.|
|It is a container tag.||It is an empty tag.|
Explain the following with reference to HTML
Container tags require opening and closing commands. These tags are used in pairs along with angle brackets in an HTML document.
They are also known as ON and OFF tag. ON tag uses angle brackets whereas OFF tag used forward slash (/) after the opening of the angle bracket.
Empty tags do not require a closing tag in an HTML document. It has only an ON tag in the document which is understood by the browser.
The heading of the document is generally written in the
<HEAD> tag. It includes another tag called
<HEAD> tag and the
<TITLE> tag are container tags.
<BODY> tag is the actual text of the HTML document which appears on the web page. It starts just below the HEAD tag and indicates the beginning of the HTML text. It is a container tag.
Paragraph tags are container tags. These tags are used to create different paragraphs in the web page.
The opening paragraph tag
<P> is written at the beginning of the paragraph and the closing paragraph tag
</P> is written after the end of the paragraph.
Line break tag
<BR> is used to provide blank spaces between the lines. The BR tag is an empty tag and so, it doesn't require any closing tag. This tag is written at the end of the line.
Write all the steps
To start writing an HTML document
To start writing an HTML document on Notepad, follow these steps:
Step 1: Click the 'Start' button.
Step 2: Select 'All Programs' from the pop-up menu.
Step 3: Select 'Accessories' from the drop-down menu.
Step 4: Click 'Notepad' from the drop-down menu. An untitled notepad will appear on the screen.
Step 5: Now, one can start writing the HTML code by using the following tags:
<HTML> <HEAD> <TITLE> HTML DOCUMENT </TITLE> </HEAD> <BODY> ................... ................... </BODY> </HTML>
To view an HTML document on a web page
To view an HTML document on a web page, follow these steps:
Step 1: Click on the 'Internet Explorer' icon or select Start >> Programs >> Internet Explorer. Internet Explorer window will open.
Step 2: Click 'File'.
Step 3: Click 'Open' from the File menu. The 'Open' window will open.
Step 4: Click 'Browse' and the Windows Internet Explorer window will appear on the screen. Now look for the file path in the window.
Step 5: Write your filename in the 'File name' box and click 'Open'. The 'Open' window will display the complete path of the HTML file which will be shown in the 'Open' box.
Step 6: Click OK.
Step 7: The desired web page will be opened.
Answer the following
Write an HTML document by using paragraph and line tags to format the following poem 'Two Little Dicky Birds'.
TWO LITTLE DICKY BIRDS
TWO LITTLE DICKY BIRDS
SITTING ON A WALL
ONE NAMED PETER, ONE NAMED PAUL
FLY AWAY PETER, FLY AWAY PAUL
COME BACK PETER, COME BACK PAUL
<html> <head> <title> TWO LITTLE DICKY BIRDS </title> </head> <body> <p> TWO LITTLE DICKY BIRDS <BR> TWO LITTLE DICKY BIRDS <BR> SITTING ON A WALL <BR> ONE NAMED PETER, ONE NAMED PAUL <BR> FLY AWAY PETER, FLY AWAY PAUL <BR> COME BACK PETER, COME BACK PAUL <BR> </p> </body> </html>
The format of an HTML document is given below. Rearrange the format so that it can be understood by the web browser.
<HEAD> <HTML> </TITLE> MY FIRST STEP TO HTML <TITLE> </BODY> SEARCH ENGINES ARE THE SOFTWARES ON THE WEB WHICH HELP YOU TO LOOK FOR THE SPECIFIC INFORMATION. <BODY> </HEAD> </HTML>
<HTML> <HEAD> <TITLE> MY FIRST STEP TO HTML </TITLE> </HEAD> <BODY> SEARCH ENGINES ARE THE SOFTWARES ON THE WEB WHICH HELP YOU TO LOOK FOR THE SPECIFIC INFORMATION. </BODY> </HTML>