0% found this document useful (0 votes)
47 views2 pages

Resourcech 10

This document contains a student worksheet with questions and answers about HTML tags. It discusses what HTML is, the different types of tags (container tags and empty tags), attributes, and how specific tags like <P>, <BR>, <B>, <I>, and <U> are used. It also covers the significance of tags like <BODY> for setting background color and margins.

Uploaded by

Armaan
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)
47 views2 pages

Resourcech 10

This document contains a student worksheet with questions and answers about HTML tags. It discusses what HTML is, the different types of tags (container tags and empty tags), attributes, and how specific tags like <P>, <BR>, <B>, <I>, and <U> are used. It also covers the significance of tags like <BODY> for setting background color and margins.

Uploaded by

Armaan
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
You are on page 1/ 2

TERM I -2019-2020

Name of the Student : NA Worksheet (Type) : Summary Ques &Ans


Class/Section: VIII Subject: COMPUTERS Date: 27-4-19
Worksheet number: NA Chapter/Topic: Ch 10- Understanding HTML
Date of Submission: NA Graded/Ungraded: Ungraded
Remarks/comments: NA
General Instructions
 Summary Ques & Ans contains the Question/Answers of the back exercise page
no.121-122

Answer the following:

Q1. What is HTML?

Ans. HTML stands for Hyper Text Mark-up Language. It is the most widely used language to
design web contents for the Internet.

Q2. What do you understand by tags? How many types of tags are there?

Ans. A tag is a piece of code, which acts as a label that a web browser interprets. It instructs
a web browser what to display and how to display. A complete tag having an opening <tag»
and a closing </tag> is known as element. Each tag in HTM L follows specific rules known as
syntax.
These tags are not case sensitive. The HTML tags can be categorized as:
 Container Tags
 Empty Tags

Q3. Differentiate between Container tag and Empty tag.

Ans. The tags that include both ON and OFF tags are called Container tags, whereas tags
that contain only ON tags are called Empty tags. <HTML> tag is an example of container tag,
Whereas <BR> tag is an example of an empty tag.
Q4. What do you understand by attributes in HTML?

Ans. An attribute is a property value that modifies an HTML element. It appears inside the
opening tag and value is always inside the quotation marks.
For example: <Font face =”Arial”> where face is the attribute of the font tag.

Q5. Explain the Paragraph tag and its attributes.

Ans. Paragraph tag is used to display text in the form of a paragraph. A paragraph can be
aligned using the attribute named, "Align". Various attributes of a paragraph element are:
<P>, <P Align-"Center">, <P Align-"Right">, <P Align-"Left">, <P Align-"Justify">
COLOR ="RED">

Q6. What is the significance of BGCOLOR attribute of <BODY> tag?

Ans. BGCOLOR attribute is used to change the background color of the web page. In the
<BODY> tag, type BGCOLOR -"?", replacing '?' with the name or a color code.

Q7. What is the significance of <BR> tag?

Ans. <BR> tag breaks the line and displays the text from the next line, without giving any
space between two lines. It should be given at the end of the line after which a newline is
required.

Q8. Which tags are used to apply the bold, underline and italic properties to the text?

Ans. <B>, <l>and <U>tags are used to apply the bold, underline, and italic properties to the
text.

Q9. Which attribute of <BODY> tags are used to set margins in a web page?

Ans. The following tags are used to set the margins in a web page:
 TOPMARGIN
 LEFTMARGIN

You might also like