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

Basic HTML Tags 1

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

Basic HTML Tags 1

html
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

BASIC HTML TAGS

I.

Answer the following questions.


1. What is the purpose of bgcolor and text attributes of
the <BODY> tag?
A. Bgcolor: This attribute is used to specify
the background colour of the webpage.
Ex: <BODY bgcolor=green>
Text: This attribute is used to specify the colour
of the text to be displayed on a webpage.
Ex: <BODY text=red>
2. What is the difference between <P> and <BR>
tags?
A. The difference between <P> and <BR> tags.
<P> tag: The Paragraph(<P>) marks the beginning
of a paragraph. It is a container tag. It has only one
attribute called align.
<BR> tag: The Line Break (<BR>) shifts the text
following it to the next line. It is an empty tag. It
does not have any attributes.
3. How would you specify the thickness and length
of the horizontal line in HTML?
A. The thickness and length of the horizontal line
in HTML is specified by Size and Width
attributes respectively.
4. Name the attributes of the <FONT> tag?
A. The attributes of the <FONT> tag are..
1. Size

2. Color
3. Face
5. What are the different headings levels used in HTML?
A. The HTML provides six levels of headings are
<H1> to <H6>, with 1 being the largest and 6 being
the smallest size.

You might also like