CH-8
Chapter 8
Lists and
Images in HTML
Short Answer Type Questions :-
Q1.Why do you add an image and a border in the web
page ?
Ans. Images
are added to beautify and to depict many complex concepts in simple way on our
webpage . The borders make the image highlighted.
Q2.What is the use of Alternative text in the coding
of a web page ?
Ans.
Alternative text is added to the web page to add a text in place of the image
if the image does not load .
Q3.How can you use add image in HTML ?
Ans. We can
add image by giving its source .For example: <IMG SRC = “Image location
“>
Long Answer Type Questions:-
Q1.Explain ‘Lists in
HTML’along with its types .
Ans. Lists are a good way to structure HTML document . HTML
has three types of lists .
1. <
ul> :
An Unordered list . It will list the items using plain bullets .
2. <ol> : An ordered list . It will use
numbers to list the items .
3. <dl> : A definition list . It arranges
our items as arranged in dictionary .
Q2. Write a note on
MARQUEE tag .
Ans.A MARQUEE is scrolling or moving text message .It
can be inserted using <MARQUEE > tag .
Steps:-
1. Type the
tag <MARQUEE>
2. Type the
text eg: - HTML is fun.
3. Type the
closing tag</MARQUEE>.
Q3. Write a code to
create list in the web page.
Ans3. The code is as follows: -
<HTML>
<HEAD>
<TITLE>
Tennis
</TITLE>
</HEAD>
<BODY>
<H1>
Equipment </H1>
<OL>
<LI>
NET
<LI>
RACKET
</OL>
</BODY>
</HTML>
Comments
Post a Comment