Creating Web Page Using HTML
1.
|
What is the use of <IMG> tag?
|
|
<IMG> tag is used to add pictures in web pages.
Eg: <IMG SRC=”hello.jpg”>
|
2.
|
How do you make a text bold in the HTML document?
|
|
Type <B>
Type the text
Type </B>
|
3.
|
State the use of <TABLE> tag.
|
|
Table tag is used to add table in your web page. Inside the <Table> tag <TR> is
used to add table rows and <TD> is used to add table columns.
|
4.
|
What are headers in a web page? Why are they used?
|
|
Headers are like chapter headings of a book. We can use six different headers in our web
page. Header tag is written as
<Hn> and </Hn> where n is a number from 1 to 6.
Eg: <H1>Welcome to my web page</H1>
|
5.
|
Differentiate between ordered list and unordered list?
|
|
An ordered list is a numbered list.
It starts with the <OL> tag.
An unordered list is a bulleted list. It starts with <UL>
tag. In both list items can be added
with <LI> tag.
|
6.
|
Write the procedure to add background colour to your web page.
|
|
<BODY BGCOLOR=”RED”>
Type the Text
</BODY>
|
7.
|
How do you change the font colour of your text in HTML?
|
|
Font color is used to change the colour of the text.
Type <FONT COLOR=”Colour Name”>
Type the text
Type </FONT>
|
8.
|
Explain the use of anchor tag with example.
|
|
<A> tag is used define hyperlink. The HREF attribute is used set the location
or URL of the destination page or site.
The text between the opening and closing anchor tag becomes the
hypertext or link text.
Steps:
Type <A HREF=”location”>
Type the text
Type </A>
|
9.
|
State the use of Comments in HTML.
|
|
Comments are like notes. Comments
are not visible in the browser.
To add comments
Type <!
Type the comments
Type >
|