Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (1 vote)
76 views2 pages

HTML5 Lists & Images Guide

Chapter 5 covers the use of lists and images in HTML5, detailing types of lists such as unordered, ordered, and description lists, as well as the <img> tag for images. It includes objective and descriptive questions about HTML elements and their attributes, along with practical lab exercises for applying these concepts. The chapter emphasizes the importance of correct tag usage and styling for effective web design.

Uploaded by

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

HTML5 Lists & Images Guide

Chapter 5 covers the use of lists and images in HTML5, detailing types of lists such as unordered, ordered, and description lists, as well as the <img> tag for images. It includes objective and descriptive questions about HTML elements and their attributes, along with practical lab exercises for applying these concepts. The chapter emphasizes the importance of correct tag usage and styling for effective web design.

Uploaded by

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

Chapter 5 Lists and Images in HTML5

Objective Type Questions


1. a. Color; b. Font; c. <li>; d. Position; e. Bulleted; f. Ordered; g. Bullet; h. <img>
2. a. F; b. F; c. T; d. T; e. F; g. T; h. F; i. F
3. a. i; b. iv; c. ii; d. iii; e. iv; f. iv; g. ii; h. iii

Descriptive Type Questions


1. Different types of lists that we can create in an HTML document are unordered, ordered,
and description lists.
2. a. <dl> is description list
b. <dt> is definition list term
c. <dd> is definition list description
3. <img> image tag is used to specify an image to be displayed in an HTML document.
4. The <img> tag is a container tag.
5. src source attribute of the <img> tag is used to specify the URL of an image.
6. None, disc, circle, square can be assigned to the list-style-type property of an unordered
list.
7. <ul> tag is used to create an unordered list.
8. Web browsers support a number of graphic formats such as jpeg, gif, png, and tiff.

Application Based Questions


1. The tag name is incorrect; replace image with img. Correct code: <img src= “house.gif”>
2. To insert an image use the <img> tag. Two widely used graphic formats are jpeg and gif.
3. Ordered list is a list in which order of items is important. <ol> tag is used to create this
type of list.

4. a. Unordered list
b. Set list-style-type property to square

IN THE LAB
1. Give the title of the page in the <title> tag. For the heading use <h1> or <h2> tag and for
the unordered list, use <ul> tag. Modify the bullet style of the list items using line-style-
type property.

To add the list items, use the <li> tag.


2. Under the <body> tag give the heading using <h1> or <h2> tag and for the unordered
list, use <ul> tag. Modify the bullet style of the list items using line-style-type property.
To add the list items, use the <li> tag.
To add the image of your favourite sport, use the <img> tag and specify the path of the
picture using the src property of the tag.
3. For the heading use <h1> or <h2> tag and for the unordered list, use <ul> tag. Modify the
bullet style of the list items using line-style-type property.
To add the list items, use the <li> tag.
4. For the heading use <h1> or <h2> tag and for the description list, use <dl> tag.
In the style tag specify the color and font-size of the <dt> definition list term and <dd>
definition list description.
When you create the list in the body the text in the <dt> tag will be of the color and font-
size you specified in the style tag and so will the text in the <dd> tag.

You might also like