STD 7 Chapter 6 Notes
STD 7 Chapter 6 Notes
INTRODUCTION TO HTML
4. Write the steps to write HTML code and link it with a web Browser.
Steps to write a HTML Code:
i. Type the code in Note Pad.
ii. Click on File ------ Save
iii. In the Save as dialog box enter Filename followed by .html
iv. In the Save As type dropdown list , select All files.
v. Click on save.
5. How many types of heading tag are there in HTML? Discuss the various levels
of heading tags.
HTML defines six levels of headings from h1 to h6. H1 is the first and largest
level of heading and decreasing the level to h6 as last and smallest level of
heading.
a. <hr> tag
The Horizontal ruler tag is used to divide the web page into different
sections.
It is used to draw a horizontal line between any two text contents.
It is an empty tag.
b. Nested Tags:
A tag can be used inside another tag without closing it. This means that one
tag can contain another tag also.such tags are known as nested tags. The tags
that are opened last should be closed first in Nested tags.
c. Tag attributes:
An attributes is an additional feature that can be added to HTML elements on
the webpage. For example: using Align= “Right” attribute. You can align
your text to the right side of the web page. Attributes are defined inside the
tags.
d. Align Attribute:
The Align attribute allows to align text of the heading or paragraph to left side ,
center, right side of the web page.
7. Is there any difference between line break tag and paragraph tag? Discuss
The paragraph tag is used when a new paragraph is to be started. And the line
Break tag is used when a new line is to be started but not to start a new paragraph.