0% found this document useful (0 votes)
121 views3 pages

Class 7 HTML Basics Exercise

Uploaded by

priyankati778
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views3 pages

Class 7 HTML Basics Exercise

Uploaded by

priyankati778
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INTRODUCTION TO

HTML
EXERCISE
A. Tick ( ) the correct answer.
1. Which of the following is not an example of text editor?
a) Notepad b) WordPad c) Adobe Dreamweaver

a) <title> b) <head> c) <html>


3. The HTML, tags are closed within _____________.
a) <> b) # & # c) ? & !
4. The opening tag is _____________ tag.
a) ON b) OFF c) First

a) WWW b) CSS c) WSS


6. This contains some extra information about a particular tag.
a) Head tag b) Attribute c) Body tag
7. A property and its value are collectively known as a _____________.
a) Attribute b) Tag c) Declaration

B. Fill in the blanks.


1. < > (Less than) and (greater than) are called angular brackets.
2. Web browsers are used to view HTML documents.
3. The <br> tag is used to insert line breaks.
4. The <html>
5. The largest level of all heading is <h1>.
6. HTML is used for designing web pages.

C. Write True (T) or False (F).


1. <B>, <I>, <U> are empty tags.
2. The tag name and attributes are case sensitive.
3. The <Body> ……. </Body> tag is used to display the title.
4. Notepad is a text editor.

11
5. The <HR> tag is used to insert a straight horizontal line across a web page.
6. Physical tags are used to change the physical appearance of the character.

1. To begin a new paragraph. <P>


2. To insert a horizontal line. <HR>
3. To underline the heading of a web page. <U>
4. To set the color of the background. <BODY BGCOLOR>
5. To display some text to appear below the normal text. <SUB>
6. To display the text in the same way as it is typed in the code. <PRE>

1
1. Tags that comes in pair. C
2 3
2. This attribute of the <BODY> tag sets B G C O L O R B
the colour of the background.
N O
3. This tag contains all the information 4
and other visible contents on the page. N O T E P A D
4. The text editor used to create HTML A Y
document. 5
H I
5. Language used to create web page.
T N
6. Tags in HTML are written inside these
7
brackets. M E M P T Y
7. Tags that are single. 6
A N G U L A R

A.
structure of contents on a web page.

A. There are six levels of headings in HTML. <h1> is the highest level and the largest level
of all headings and <h6> is the lowest level and the smallest.

A. Container elements contain an opening as well as a closing tag. It contains some text
within it. Example of these tags are <HTML>....</HTML>, <HEAD>....</HEAD>.

A.
must format and display the content that is why HTML is called a tag-based language.

12
of document header which is represented by <head>...</head> and document body
which is represented by <body>...</body> tags.

A. <BR> tag is used to insert or provide blank lines. It is used to provide breaks in the text.
The text which is enclosed between the <BR> tag will appear as a separate line in the
Web browser. It is an empty element, which means it does not have a closing tag.

A.
some text within it. Example of these tags are <HTML>....</HTML>, <HEAD>....</
HEAD>.

it. Example of these tags are <BR>and <HR>.

A. HTML

A. Notepad or WordPad.

Analogy is a correspondence or partial similarity.

1. ?

a) b) c)
2. ?

a) b) c)

3.
a) b) c)
4. ?

a) b) c)

5. ?

a) b) c)

13

You might also like