Descriptive Question and Answers
1. Name the different types of lists that can be created in HTML
Different types of lists that we can create in an HTML document are
unordered, ordered, and description lists.
2. Expand the following.
a. <dl> b. <dd> c. <dc>
a. is description list b.
b. is definition list term c.
c. is definition list description
3. Name the tag used to specify an image to be displayed in an HTML
document.
<img> image tag is used to specify an image to be displayed in an HTML
document.
4. Is the <img> tag a container tag or an empty tag?
The <img> tag is a container tag.
5. Which attribute of <img> tag is used to specify the URL of an image?
src source attribute of the Error! Filename not specified.tag is used to
specify the URL of an image.
6. What values can be assigned to the list-style-type property of an
unordered list?
None, disc, circle, square can be assigned to the list-style-type property of an
unordered list.
7. Name the set of tags that are used to create unordered list in HTML.
<ul> tag is used to create an unordered list.
8. Name the difference graphics formats that are supported by web
browsers.
Web browsers support a number of graphic formats such as jpeg, gif, png,
and tiff.
Application Based Questions and Answers:
1. Riya has written the following HTML code. Identify the errors in it and
then write the correct code. <image src = “house.gif”>
The tag name is incorrect; replace image with img. Correct code: <img src=
“house.gif”>
2. Poorvi wants to insert an image in an HTML document. Name the tag
should use for this purpose. Also, mention any two widely used graphic
formats.
To insert an image use the <img> tag. Two widely used graphic formats are
jpeg and gif.
3. Yukit has to create a list in which order of items is important. What is
the name given to this type of list? Which set of tags should she use to
create this list?
Ordered list is a list in which order of items is important. <ol> tag is used to
create this type of list
4. Observe the following HTML code and answer the questions.
<style type = “text/css”>
Ul { list-style-type:circle}
</style>
A. What type of list is being created in the above code?
B. What change will you make in the above code to get a square bullet?
A. Unordered list
B. Set list-style-type property to square