0% found this document useful (0 votes)
5 views

HTML- Unit - 2 Table and Hyperlink

Chapter 7 covers advanced HTML features, focusing on tables and hyperlinks. It includes exercises on creating tables with specific tags like <TR>, <TD>, and <TH>, as well as defining hyperlinks using the <href> attribute. Additionally, it discusses table properties such as borders, backgrounds, captions, and various HTML form elements.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

HTML- Unit - 2 Table and Hyperlink

Chapter 7 covers advanced HTML features, focusing on tables and hyperlinks. It includes exercises on creating tables with specific tags like <TR>, <TD>, and <TH>, as well as defining hyperlinks using the <href> attribute. Additionally, it discusses table properties such as borders, backgrounds, captions, and various HTML form elements.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CHAPTER 7: HTML-ADVANCED FEATURES

UNIT 2: TABLE AND HYPYERLINK


TEXTBOOK EXERCISE

I. Fill in the blanks with appropriate words.

1. A table is created by the intersection of rows and columns.


2. In a table, the horizontal lines are called rows whereas the vertical lines are
called Columns.
3. Every row in an HTML table starts with row tag <TR> and ends with row tag
</TR>
4. An HTML table begins with a table tag <TABLE> and ends with table tag
</TABLE>
5. The table heading is defined with <TH> tag in an HTML.
6. In an HTML table, each cell in a row is created with <TD> to store data.
7. The attribute <href> is used to create a hyperlink between two or more HTML
codes.
8. An HTML table sets the height and width in terms of pixels or percentage.

TO BE WRITTEN IN C.W NOTE

II. Write short notes on

1. Table Heading: An HTML table heading can be defined using the <TH> tag. The
top row represents the heading of the table, but the <TH> element can be used in
any row in a table.

2. Table Border: The border option is used to set the width of border around the
table. If a border attribute is not specified, the table will be displayed without the
border.

3. Table Background: The background option is used to set background color for
the table. By default, the table background color is white. The color can be set by
using Bgcolor and Bodybgcolor.
4. Table Caption: The caption tag serves as a title or explanation for the table. This
tag is placed just after the <TABLE> tag and is optional to use it in a table.

5. Hyperlink: It is a reference to data/a piece of text/ an image that is linked to


another webpage. It points to a whole document or to a specific element within a
document.

6. Anchor Tag: A hyperlink has an anchor that is located within the document.
Through the anchor the hyperlink can be followed.

7. Forms in HTML: A form is a systematic collection of information provided by the


user. The body of the form includes various elements like text fields, radio button,
check box etc.

8. Define these tags with reference to HTML form:

i. Input tag: one of the most important tag which allows you to create a field to
enter data of your choice

ii. Check Box: it is used to provide different square boxes when you have more
than one option to be marked

iii. Radio buttons: this attribute is used to only one in the given options by entering
the dot into the circle

iv. Password: it allows a field to enter a password to your personal form

v. Submit button: it is used to create a button where you need to submit the form

III. Distinguish between

1. Cell Padding and Cell Spacing

Cell Padding Cell Spacing

It represents the distance between the It defines the weight of the border with
cell borders in a cell
2. Colspan and Rowspan

Colspan Rowspan

Colspan it merges two or more columns Rowspan merges two or more rows
into a single column into a single row

3. <TR> and <TD> tags

<TR> <TD>

It builds the row in the table It creates a sense and add data into it

********************************

You might also like