Organising and enhancing Webpages CLASS VIII
Chapter 6
Organising
and enhancing Webpages
1. Which of the following is not a type of bullet in an unordered list
(C) Number
2. Which attribute is used to display a list of items from the last to the first?
(a) Reversed
3. Which of these is used to create a definition list?
(d) all of these
4. Which of these is used to define a table heading?
(c)<th>
5. Which of the following elements can you insert in a webpage using HTML?
(d) Image, Audio, video
(B) T/F
1. The start attribute is used to decide the start value of the first item in an unordered list
1. FALSE
2. The bgcolor attribute is used to change the background color of an individual cell.
2. FALSE
3. The src attribute defines the path or the URL of the image to be inserted.
3. TRUE
4. The <a> tag is used to create a table.
4. FALSE
5. Both text and images can be hyperlinked on a webpage.
5. TRUE
C. List an attribute and its function for each of the following tags.
<OL> In an ordered list, the list items appear in a particular order. An
ordered list is a numbered list of items.
Attributes-
1. Type 2. Start
i.
The
type attributes gives the type of numbering to be used in the list. Type “a”
gives alphabetical order.
<ol type=”value”>
ii.
The
start attribute defines the start value for the ordered list numbers.
2. <UL>
tag is a container tag. It is use to display list of item with bulleted style.
Its attribute help us to change the different type of list.
Attribute-
Type
3.
<TH> tag is a container element that is used to specify row headings in
the table.
Attribute- 1. ID 2. STYLE
3. ALIGN 4.
BGCOLOR
4. <A>
The <a>…….</a> element is used to create a hyperlink. The href
attribute is used with the <a> tag to specify the URL of the location to
be linked.
<a
href=”url”> text </a>
6.
<audio>
Attribute- controls
An audio can be inserted
using the <audio>..</audio> element. The controls attribute is used
to display audio controls such as play, pause and volume buttons.
7.
<Video>
Attribute- controls
An audio can be inserted
using the
< Video >..</ Video
> element. The controls attribute is used to display Video controls such as
play, pause and volume buttons.
Short answer questions
1. Mention the attributes required to build an ordered list.
Ans- Attributes
required to build an ordered list:-
1.
Type 2. Start
2. Name the tags used to create a definition list.
Ans- Tags used to create a definition list
a. Definition list <DL>
b. Definition list item <DT>
C. Definition list description
<DD>
3. Mention the tags used to create a table in HTML.
Ans- Tags used
to create a table in HTML –
1. <TABLE>……</TABLE>
2.
<TR>…<TR>
3.
<TD>..</TD>
4.
<CAPTION>…….</CAPTION>
5.
<TH> ……..</TH>
ANS 4. Attributes of <TD> AND <TH> Tags are ROWSPAN COLSPAN
5. Name the three types of hyperlinks.
ANS5.
Following are the three types of hyperlinks
1.
Internal-
Links on the same page
2.
Local-
Links to another page within the same website
3.
Global-
Links to pages on different websites.
Long answer questions-
1. Explain the type attributes used to create an ordered list.
ANS1. Already done
2. Define a list. Write the differences between an ordered and an unordered list.
ANS2. A list is a number of similar items that are presented in a particular way
mostly one below the other. A list helps organize data in a specific order so that the data becomes easy to read and understand.
3. What is a nested list? Explain with the help of an example in HTML.
Ans 3. A
list inside another list is known as a nested list. Nested list are useful when
subcategories of the items to be listed.
Example-
<html>
<head>
<title> nested list
</title>
<head>
<body>
<ol>
<li> Monday </li>
<ul>
<li> English </li>
<li> Mathematics </li>
</ul>
<li> Tuesday </li>
</ol>
</body>
</html>
ANS4. Four Tags required to create a
table are (PAGE 89)
1. <Table> Tag
2. <Tr> Tag
3. <Td> Tag
4. <Th> Tag
ANS5. A website consists of multiple
webpages. These webpages are linked to each other through hyperlinks. A
hyperlink can be a text or an image that links to another location on the
computer or the internet. When clicked, a hyperlink takes to another location
in the same or a different webpage.
Syntax- < a href=”url”> text
</a>
6. Explain the syntax of inserting an audio and a video on a webpage.
Ans6
Audio
Syntax- <audio controls>
< source src=”URL”>
</audio>
Video
Syntax-
<Video controls>
< source src=”URL”>
</video>
Comments
Post a Comment