0% found this document useful (0 votes)
18 views3 pages

New CH 8

gg

Uploaded by

baabsattu
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 (0 votes)
18 views3 pages

New CH 8

gg

Uploaded by

baabsattu
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/ 3

Chapter 8 Advanced features of HTML

A. Fill in the blanks


1. list

2. unordered

3. Border-Spacing

4. Reversed

5. <img>

B. State true or False


1. false
2. true
3. false
4. false
5. true
C. Multiple choice questions
1. (a) bulleted
2. (b) 1
3. (c)<img>
4. (b) Relative
5. (a)<tr> ,</tr>

D. Application based question


1. Border-Collapse: collapse
2. <ol type=”i” start=”iii”>
E. Answer the following
Q1) Differentiate between the <ul> and <ol> tags.
1. <UL>tag is used for unordered list whereas <OL> tag is used for ordered list.
<UL> tag is used when the items are not to be displayed in any particular order
whereas <OL> tag is used to display the list of items in a special order. <UL> tag
gives you bullets by default whereas <OL> tag gives you numbers.
Q2) Describe the use of the <img> tag. Also, discuss the Alt attribute.
2. We can add images to a HTML document using <IMG> tag. It is an empty tag
and requires different attributes to be specified with it. The different attributes
of the image tag are as follows:-
a) SRC- this attribute helps in defining the source of an image.
b) Height and Width- These attributes specify the height and width of an image
respectively.
c) Align- This attribute aligns an image relative to the surrounding text.
d) ALT- It is used to display alternate text for the images so as to provide
description about the images.
Q3) Which tag is used to create a table? Also mention the tags that are used
to create the rows and columns in a table.
3. The <table> tag is used to create the table on the webpage. It is a container
tag. The tags used to create the rows and columns of a table are: -
(a)<tr>: - This tag is used to create the rows of the table. The row must be
inside the table. It is a container tag.
(b) <td>: - This tag is used to define a cell within a row of the table. It is a
container tag. It is defined within a row.
(c)<th>: - This tag is used to specify the column heading. It is container tag. It
makes the text bold.
(d) <caption>:- This tag is used to specify the title of the table.
Q4) What is the use of Anchor tag?
4. The anchor tag is used to mark the text as a hyperlink, which the user can
click to display the document anchored to it. Being a container tag, it requires a
closing tag.
Syntax:- <a href=”new.html”>Click here for new page</a>
Q5) Describe the use of the <form> and <input> tags.
5. <form>: -This tag is used to create a form on the webpage. It is a container
tag. A form is a collection of fields of information on a page. It resembles a
paper or database form where a user fills the required information.
<input>: - This tag is used to create the input elements. It is an empty tag.
Input elements are the form elements that can accept input from the user. These
are also called form controls.

You might also like