Class8 CH 8 and 9 Solutions
Class8 CH 8 and 9 Solutions
Section-A
1. Report
2. Unordered
3. Border-spacing
4. Reversed
5. Description
B. True or False:
1. False
2. True
3. False
4. True
5. False
1. Border-collapse
2. List-style-image
Section-B
1. a) bulleted
2. b) 1
3. a) list-style-position
4. b) <dd>
5. c) caption-side
1. <ul> tag is used to define an unordered list where the items are not to be displayed
in any particular sequence while as <ol> tag is used to define an ordered list where
list items follow a specific order. The default list-item marker for unordered list is
disc whereas it is sequence of numbers in ordered list.
2. Unordered List: An Unordered list is used when the items are not required to be
displayed in any particular sequence.
Ordered List: The Ordered list is used to display the list of items in a specific order.
Description List: A description list consists of a term followed by its definition.
3. Tables are extremely popular on the web because they are flexible and an attractive
way of presenting information in the form of rows and columns. In HTML the
<TABLE> tag is used for creating tables.
4. (a) List-style-image property helps in specifying an image as the list item marker.
(b) List-style is a shorthand property wherein all the list properties can be specified
in one declaration.
(c) Empty-cells property helps in specifying whether or not the border and
background are to be placed around empty cells in a table.
Section-A
1. <img>
2. Alt
3. Hyperlinking
4. Internal
5. Frames
6. Border-style
B. True or false:
1. False
2. False
3. False
4. True
5. True
6. True
Section-B
1. A) href
2. B) Relative
3. C) Active
4. B) Autoplay
5. B) Video
6. C) Frames
1. The <img> tag is used to add images in an HTML webpage. Attributes used with image tag.
i. src – To add and define the source of an image on a web page, the src attribute is
used.
ii. Height – Height attribute specifies the height (in pixels) of an image either in the
form of an integer or a percentage value.
iii. Width – Width attribute specifies the width (in pixels) of an image either in the form
of an integer or a percentage value.
iv. Alt – The Alt attribute displays text as an alternative to the image.
2. Sometimes a browser on the user's computer does not display images due to some reasons
(maybe because of slow connection or error in the src attribute). In that case, you can display
the alternate text to describe the image. The Alt attribute displays text as an alternative to the
image. It is generally used in case the user has a text-based browser on his computer, such as
Lynx. It also proves to be useful when the user is a blind surfer for whom the browser is
programmed to read aloud the alternative text instead of displaying the image.
3. The webpages can be linked to each other by using the anchor <A> tag.
Internal linking: When one part of a web page is linked to another section on the same page, it is
called internal linking.
External linking: When one page is linked to another web page or website, it is called external
linking.
4. For Audio:<video controls src="file name"> and for Audio write <audio controls src="file name">
5. Frames allow you to present multiple HTML documents as independent windows within one
browser window, which gives greater flexibility in designing and maintaining your website.
1. <img> tag
2. Alt attribute
3. The anchor tag <A>
4. HREF attribute
5. Autoplay
6. border:none