SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
AC I-Unit 1: HTML Tables - Examples

HTML Tables
Examples
1. Write HTML code to create the following table:
Table of Dog Breeds
Breed

Description

Group

French Bulldog

Loyal Companion

Wheaten Terrier

High energy, friendly Terrier

English Pointer

Hunting companion

Australian Cattle Dog Guarding, herding

Organization

Non-Sporting
Sporting

All listed dogs are AKC recognized

Working

Source Code:
<TABLE BORDER = "1">
<!—Row 1 – heading -->
<TR>
<TH COLSPAN="4">Table of Dog Breeds</TH>
</TR>
<!—Row 2 – heading -->
<TR>
<TH>Breed</TH>
<TH>Description</TH>
<TH>Group</TH>
<TH>Organization</TH>
</TR>
<!—Row 3 -->
<TR>
<TD>French Bulldog</TD>
<TD>Loyal Companion</TD>
<TD>Non-Sporting</TD>
<TD ROWSPAN = "5">All listed dogs are AKC recognized</TD>
</TR>
<!—Row 4 -->
<TR>
<TD>Wheaten Terrier</TD>
<TD>High energy, friendly</TD>
<TD>Terrier</TD>
</TR>
<!—Row 5 -->
<TR>
<TD>English Pointer</TD>
<TD>Hunting companion</TD>
<TD>Sporting</TD>
</TR>
Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }

Page 1 of 14
AC I-Unit 1: HTML Tables - Examples
<!—Row 6 -->
<TR>
<TD>Australian Cattle Dog</TD>
<TD>Guarding, herding</TD>
<TD>Working</TD>
</TR>
</TABLE>

2. Write HTML code to create the following table:
Items Order Form
Item
Price
Quantity
DVD

10

10

Mouse

100

12

Pen Drive

300

5

Source Code:
<TABLE BORDER = "1">
<CAPTION>Items Order Form</CAPTION>
<TR>
<TD WIDTH = 80>Item</TD>
<TD WIDTH = 80>Price</TD>
<TD WIDTH = 80>Quantity</TD>
</TR>
<TR>
<TD>DVD</TD>
<TD ALIGN = center>10</TD>
<TD ALIGN = CENTER>10</TD></TR>
</TR>
<TR>
<TD>Mouse</TD>
<TD ALIGN = CENTER>100</TD>
<TD ALIGN = CENTER>12</TD></TR>
</TR>
<TR>
<TD>Pen Drive</TD>
<TD ALIGN = CENTER>300</TD>
<TD ALIGN = CENTER>5</td></TR>
</TR>
</TABLE>

3. Write HTML code to create the following table:
Page 2 of 14

mukeshtekwani@hotmail.com
AC I-Unit 1: HTML Tables - Examples

Banner

column 1

column 2

Source Code:
<BODY>
<DIV ALIGN="CENTER">
<TABLE WIDTH="650" BORDER="1">
<TR>
<TD COLSPAN="2" HEIGHT="50">banner</TD>
</TR>
<TR>
<TD WIDTH="20%" HEIGHT="250">column 1</TD>
<TD>column 2</TD>
</TR>
</TABLE>
</DIV>
</BODY>

4. Write HTML code to create the following stacked tables:

Banner
Button 1

Button 2

Button 3

Button 4

Graphic

Graphic

Graphic

Column 1

Column 2

Button 5

Column 3

Source Code:
<TABLE WIDTH="650" BORDER="1">
<TR>
Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }

Page 3 of 14
AC I-Unit 1: HTML Tables - Examples
<TD COLSPAN="5"><H1>Banner</H1></TD>
</TR>
<TR>
<TD>Button
<TD>Button
<TD>Button
<TD>Button
<TD>Button
</TR>
</TABLE>

1</TD>
2</TD>
3</TD>
4</TD>
5</TD>

<BR>
<!—Next table starts here -- >
<TABLE WIDTH="650" BORDER="1">
<TR>
<TD>Graphic</TD>
<TD>Graphic</TD>
<TD>Graphic</TD>
</TR>
<TR HEIGHT="300">
<TD WIDTH="33%"><P>Column 1</P></TD>
<TD WIDTH="33%"><P>Column 2</P></TD>
<TD WIDTH="33%"><P>Column 3</P></TD>
</TR>
</TABLE>

5. Write HTML code to create the following table:
Column 2-Top

Column 3-Top

Column 2-Bottom

Column 3-Bottom

Column 1

Source Code:
<TABLE WIDTH="750" BORDER="1" HEIGHT="300">
<TR>
<TD ROWSPAN="2" WIDTH="20%">Column 1</TD>
<TD>Column 2-Top</TD>
<TD>Column 3-Top</TD>
</TR>
<TR>
<TD>Column 2-Bottom</TD>
Page 4 of 14

mukeshtekwani@hotmail.com
AC I-Unit 1: HTML Tables - Examples
<TD>Column 3-Bottom</TD>
</TR>
</TABLE>

6. Write HTML code to create the following table:

Column 2-A
Column 1

Column 3
Column 2-B

Source Code:
<TABLE WIDTH="650" BORDER="1" HEIGHT="300">
<TR>
<TD ROWSPAN="2" WIDTH="15%">Column 1</TD>
<TD WIDTH="70%">Column 2-A</TD>
<TD ROWSPAN="2" WIDTH="15%">Column 3</TD>
</TR>
<TR>
<TD>Column 2-B</TD>
</TR>
</TABLE>

7. Write HTML code to create the following tables:
Cell that spans two columns:
Name
Telephone
Bill Gates 555 77 854 555 77 855
Cell that spans two rows:
First Name: Bill Gates
Telephone:

555 77 854
555 77 855

Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }

Page 5 of 14
AC I-Unit 1: HTML Tables - Examples

8. Write HTML code to create the following table:
This is a paragraph

This cell contains a table:
AB

This is another paragraph C D
This cell contains a list
• apples
HELLO
• bananas
• pineapples
Source Code:
<TABLE BORDER="1">
<TR>
<TD>
<P>This is a paragraph</P>
<P>This is another paragraph</P>
</TD>
<TD>This cell contains a table:
<TABLE BORDER="1">
<TR>
<TD>A</TD>
<TD>B</TD>
</TR>
<TR>
<TD>C</TD>
<TD>D</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>This cell contains a list
<UL>
<LI>apples</LI>
<LI>bananas</LI>
<LI>pineapples</LI>
</UL>
</TD>
<TD>HELLO</TD>
</TR>
</TABLE>

9. Write HTML code to create the following table:
Item 1
Page 6 of 14

Item 2

Item 3
mukeshtekwani@hotmail.com
AC I-Unit 1: HTML Tables - Examples
Item 4

Item 5

<TABLE BORDER = "1" width = 500>
<TR>
<TD>Item 1</TD>
<TD ROWSPAN = 2>Item 2</TD>
<TD>Item 3</TD>
</TR>
<TR>
<TD>Item 4</TD>
<TD>Item 5</TD>
</TR>
</TABLE>

10.Write HTML code to create the following table (multiple headers and
colspan):
Head1

Head2

Head 3 Head 4 Head 5 Head 6
A

B

C

D

E

F

G

H

<TABLE BORDER = 1>
<TR>
<TH COLSPAN=2>Head1</TH>
<TH COLSPAN=2>Head2</TH>
</TR>
<TR>
<TH>Head 3</TH>
<TH>Head 4</TH>
<TH>Head 5</TH>
<TH>Head 6</TH>
</TR>
<TR>
<TD>A</TD>
<TD>B</TD>
<TD>C</TD>
<TD>D</TD>
</TR>
<TR>
<TD>E</TD>
<TD>F</TD>
<TD>G</TD>
<TD>H</TD>
</TR>
</TABLE>
Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }

Page 7 of 14
AC I-Unit 1: HTML Tables - Examples

11.Write HTML code to create the telephone bill:
Telephone Bill
Subscriber’s Name
and Address
Leena P, Cross
Roads
Off Haji Ali Road.
Telephone
Type
no
Genl res
575077
Perm
OPENING
CLOSING
METER
METER
READING
READING
1052
1297
DETAILS

Consumer no

P.O.Stamp

PL 0051077
Bill date

Due Date

Pay By Date

01- Aug-2001

18-Aug-2001

25-Aug-2001

METERED DEBIT
CALLS CALLS

CREDIT
CALLS

FREE
CALLS

CHARGEABLE
CALLS

245

0
ITEM

150
PERIOD
10/09/97
to
31/10/98
16/05/97
to
15/07/97
16/05/97
to
15/07/97
16/05/97
to
15/07/97

95
AMOUNT

TAX

14.00

0

Rate

No. of
Calls

Charge

Rent

0.80

95

76

ITEM

10

TKP/PG
CALLS

SURCHARGE AFTER
PAY BY DATE

AMT ON/ BEFORE PAY
290
BY DATE

ITX
CALLS

AMT AFTER PAY BY
DATE

MISC

300

200.00

76.00

0.00

0.00

TOTAL
290.00
ADDRESS
PLEASE PAY BEFORE DUE DATE
AND AVOID DISCONNECTION
E & O.E. PLEASE SEE OVERLEAF FOR
CODES / INSTRUCTIONS

Accounts Officer

<html>
<head>
<title>Telephone Bill</title>
</head>
Page 8 of 14

mukeshtekwani@hotmail.com
AC I-Unit 1: HTML Tables - Examples
<body>
<h2>Telephone Bill</h2>
<br>
<table border="1" cellspacing="0" cellpadding="0" align = center
>
<!-- Row 1 -->
<tr>
<td width="182" colspan="3"
align="center"><b><u>Subscriber’s Name and Address</u></b></td>
<td width="131" colspan="2" align = "center"><B>Consumer
no</b></td>
<td width="289" colspan="4"><h3><u>P.O.Stamp</u></h3></td>
</tr>
<!-- Row 2 -->
<tr>
<td width="182" colspan="3" align="center">Leena P, Cross
Roads<p align="center">Off Haji Ali Road.</td>
<td width="131" colspan="2" align = "center">PL 0051077</td>
<td width="71" align="center">&nbsp;</td>
<td width="91" colspan="2" align="center">&nbsp;</td>
<td width="126" align="center">&nbsp;</td>
</tr>
<!-- Row
<tr>
<td
<td
<td
<td
<td
</tr>

3 -->

<!-- Row
<tr>
<td
<td
<td
<td
<td
</tr>

4 -->

width="92" align="center">Telephone no</td>
width="90" colspan="2" align="center">Type</td>
width="131" colspan="2" align="center">Bill date</td>
width="162" colspan="3" align="center">Due Date</td>
width="126" align="center">Pay By Date</td>

width="92" align="center">575077</td>
width="90" colspan="2" align="center">Genl res Perm</td>
width="131" colspan="2" align="center">01- Aug-2001</td>
width="162" colspan="3" align="center">18-Aug-2001</td>
width="126" align="center">25-Aug-2001</td>

<!-- Row 5 -->
<tr>
<td width="92" align="center">OPENING METER READING</td>
<td width="90" colspan="2" align="center">CLOSING METER
READING</td>
<td width="65" align="center">METERED CALLS</td>
Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }
Page 9 of 14
AC I-Unit 1: HTML Tables - Examples
<td
<td
<td
<td

width="66" align="center">DEBIT CALLS</td>
width="78" colspan="2" align="center">CREDIT CALLS</td>
width="85" align="center">FREE CALLS</td>
width="126" align="center">CHARGEABLE CALLS</td>

</tr>
<!-- Row
<tr>
<td
<td
<td
<td
<td
<td
<td
</tr>

6 -->

<!-- Row
<tr>
<td
<td
<td
<td
</tr>

7 -->

width="92" align="center">1052</td>
width="90" colspan="2" align="center">1297</td>
width="65" align="center">245</td>
width="66" align="center">0</td>
width="78" colspan="2" align="center">0</td>
width="85" align="center">150</td>
width="126" align="center">95</td>

width="313" colspan="5" align="center">DETAILS</td>
width="78" colspan="2" align="center">ITEM</td>
width="85" align="center">PERIOD</td>
width="126" align="center">AMOUNT</td>

<!-- Row 8 -->
<tr>
<td width="92" align="center">Rate</td>
<td width="89" align="center">No. of Calls</td>
<td width="132" colspan="3" align="center">Charge</td>
<td width="78" colspan="2" align="center">Rent</td>
<td width="85" align="center">10/09/97 <br> to
<br>31/10/98</td>
<td width="126" align="center">200.00</td>
</tr>
<!-- Row 9 -->
<tr>
<td width="92" align="center">0.80</td>
<td width="89" align="center">95</td>
<td width="132" colspan="3" align="center">76</td>
<td width="78" colspan="2" align="center">ITEM</td>
<td width="85" align="center">16/05/97 <br> to <br>
15/07/97</td>
<td width="126" align="center">76.00</td>
</tr>
<!-- Row 10 -->
<tr>
Page 10 of 14

mukeshtekwani@hotmail.com
AC I-Unit 1: HTML Tables - Examples
<td width="181" colspan="2" align="center">SURCHARGE AFTER
PAY BY DATE</td>
<td width="132" colspan="3" align="center">10</td>
<td width="78" colspan="2" align="center">TKP/PG CALLS</td>
<td width="85" align="center">16/05/97 <br> to <br>
15/07/97</td>
<td width="126" align="center">0.00</td>
</tr>
<!-- Row 11 -->
<tr>
<td width="181" colspan="2" align="center">AMT ON/
BEFORE &nbsp; PAY BY DATE</td>
<td width="132" colspan="3" align="center">290</td>
<td width="78" colspan="2" align="center">ITX CALLS</td>
<td width="85" align="center">16/05/97 <br> to <br>
15/07/97</td>
<td width="126" align="center">0.00</td>
</tr>
<!-- Row 12 -->
<tr>
<td width="181" colspan="2" align="center">AMT AFTER PAY BY
DATE</td>
<td width="132" colspan="3" align="center">300</td>
<td width="78" colspan="2" align="center">MISC</td>
<td width="85" align="center">TAX</td>
<td width="126" align="center">14.00</td>
</tr>
<!-- Row
<tr>
<td
<td
<td
<td
</tr>

13 -->

<!-- Row
<tr>
<td
<td
<td
</tr>

14 -->

width="181"
width="132"
width="162"
width="126"

colspan="2" align="center">&nbsp;</td>
colspan="3" align="center">&nbsp;</td>
colspan="3" align="center">TOTAL</td>
align="center">290.00</td>

width="313" colspan="5">&nbsp;</td>
width="162" colspan="3">ADDRESS</td>
width="126">&nbsp;</td>

<!-- Row 15 -->
<tr>
<td width="313" colspan="5">&nbsp;</td>
<td width="289" colspan="4">PLEASE PAY BEFORE DUE DATE AND
AVOID DISCONNECTION<p>&nbsp;</td>
Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }
Page 11 of 14
AC I-Unit 1: HTML Tables - Examples
</tr>
<!-- Row
<tr>
<td
FOR
<td
</tr>

16 -->
width="313" colspan="5">E &amp; O.E. PLEASE SEE OVERLEAF
CODES / INSTRUCTIONS</td>
width="289" colspan="4">&nbsp;Accounts Officer</td>

</table>
</body>
</html>

12.Write HTML code to display the calendar for the month of April 2004 in
the following format

April 2004

ABC CORP

04 - 2004

SUN

4

11

18

25

MON

5

12

19

26

TUE

6

13

20

27

WED

7

14

21

28

THUR

1

8

15

22

29

FRI

2

9

16

23

30

SAT

3

10

17

24

Sponsors
APRIL 2004

13. Write an html page to display the following table
Page 12 of 14

mukeshtekwani@hotmail.com
AC I-Unit 1: HTML Tables - Examples
T.Y.B.Sc.
Department of Computer Science
Main

Applied Component

Data Communication
DBMS

Web Design

Advanced Java
Operating System
Linux

SSAD
Web Technology
OOAD

Data communication & Networking
Author
Behrouz
Forouzan
Andrew s.
Tanenbaum

Name

price

DCN

300/-

TCP/IP

350/-

Networking

400/-

William
Stallings

Computer
Communication &
Networking

Total Cost
(total 4 books)

Operating System
Author

Name

Price

Andrew s.
Tanenbaum

Operating
system

William
Stallings

Operating
system
Concepts

Total

Rs.1000/-

500/-

Rs.1450/-

400/-

14.Create an HTML page, which should look like follows.
1. The HTML page should have an appropriate title. The data within the table should be
center aligned. Demonstrate the program to the examiner. Take a printout of the HTML
code and attach with your answer sheet.
2. Explain all the HTML tags and the attributes that you have used in the above program.
This is a simple table for which you have to give the code.
HTML
ASP
Hyper Text Markup
Active Server Pages
Language
HTML 4.0
ASP 2.0
This is a table using Rowspan and Colspan

Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 }

CFML
Cold Fusion Markup
Language
CFML 5.0

Page 13 of 14
AC I-Unit 1: HTML Tables - Examples
No. of Students
Year
Year
Year
2001
2002
2003
58
96
154

Total
288

COMPUTER SCIENCE

Page 14 of 14

mukeshtekwani@hotmail.com

Contenu connexe

Tendances (20)

HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
Tags in html
Tags in htmlTags in html
Tags in html
 
Html Intro2
Html Intro2Html Intro2
Html Intro2
 
Web design - Working with tables in HTML
Web design - Working with tables in HTMLWeb design - Working with tables in HTML
Web design - Working with tables in HTML
 
Html form tag
Html form tagHtml form tag
Html form tag
 
Html table tags
Html table tagsHtml table tags
Html table tags
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
Html projects for beginners
Html projects for beginnersHtml projects for beginners
Html projects for beginners
 
Html ppt
Html pptHtml ppt
Html ppt
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Basic html
Basic htmlBasic html
Basic html
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html
HtmlHtml
Html
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tags
 
Html
HtmlHtml
Html
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 

En vedette

Take Better Care of Library Data and Spreadsheets with Google Visualization A...
Take Better Care of Library Data and Spreadsheets with Google Visualization A...Take Better Care of Library Data and Spreadsheets with Google Visualization A...
Take Better Care of Library Data and Spreadsheets with Google Visualization A...Bohyun Kim
 
Introduction to spreadsheets
Introduction to spreadsheetsIntroduction to spreadsheets
Introduction to spreadsheetsCasey Robertson
 

En vedette (6)

HTML practicals
HTML practicals HTML practicals
HTML practicals
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
 
Tables frames
Tables framesTables frames
Tables frames
 
Take Better Care of Library Data and Spreadsheets with Google Visualization A...
Take Better Care of Library Data and Spreadsheets with Google Visualization A...Take Better Care of Library Data and Spreadsheets with Google Visualization A...
Take Better Care of Library Data and Spreadsheets with Google Visualization A...
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 
Introduction to spreadsheets
Introduction to spreadsheetsIntroduction to spreadsheets
Introduction to spreadsheets
 

Similaire à Html tables examples

Similaire à Html tables examples (20)

Html&css lesson 2
Html&css lesson 2Html&css lesson 2
Html&css lesson 2
 
Html
HtmlHtml
Html
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
html-lists-tables.ppt
html-lists-tables.ppthtml-lists-tables.ppt
html-lists-tables.ppt
 
Tables and their padding in HTML etc.pptx
Tables and their padding in HTML etc.pptxTables and their padding in HTML etc.pptx
Tables and their padding in HTML etc.pptx
 
01 HTML-Tables-1.pptx
01 HTML-Tables-1.pptx01 HTML-Tables-1.pptx
01 HTML-Tables-1.pptx
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
 
Html ,css,xml
Html ,css,xmlHtml ,css,xml
Html ,css,xml
 
Html.pptx
Html.pptxHtml.pptx
Html.pptx
 
Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)Web Developement Workshop (Oct 2009 -Day 1)
Web Developement Workshop (Oct 2009 -Day 1)
 
Web forms and html lecture Number 3
Web forms and html lecture Number 3Web forms and html lecture Number 3
Web forms and html lecture Number 3
 
Getting into HTML
Getting into HTMLGetting into HTML
Getting into HTML
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
Web technology
Web technologyWeb technology
Web technology
 
Html introduction Part-2
Html introduction Part-2Html introduction Part-2
Html introduction Part-2
 
Lecture 5 html table
Lecture 5 html tableLecture 5 html table
Lecture 5 html table
 
Comp 111chp iv vi
Comp 111chp iv viComp 111chp iv vi
Comp 111chp iv vi
 
Html - Tables, Forms and Frames by Telerik Academy
Html - Tables, Forms and Frames by Telerik AcademyHtml - Tables, Forms and Frames by Telerik Academy
Html - Tables, Forms and Frames by Telerik Academy
 
Html
HtmlHtml
Html
 

Plus de Mukesh Tekwani

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelMukesh Tekwani
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfMukesh Tekwani
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - PhysicsMukesh Tekwani
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion Mukesh Tekwani
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Mukesh Tekwani
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversionMukesh Tekwani
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion Mukesh Tekwani
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversionMukesh Tekwani
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Mukesh Tekwani
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prismMukesh Tekwani
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surfaceMukesh Tekwani
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomMukesh Tekwani
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesMukesh Tekwani
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEMukesh Tekwani
 

Plus de Mukesh Tekwani (20)

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube Channel
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdf
 
Circular motion
Circular motionCircular motion
Circular motion
 
Gravitation
GravitationGravitation
Gravitation
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - Physics
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion
 
Hexadecimal to decimal conversion
Hexadecimal to decimal conversion Hexadecimal to decimal conversion
Hexadecimal to decimal conversion
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversion
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prism
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surface
 
Spherical mirrors
Spherical mirrorsSpherical mirrors
Spherical mirrors
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atom
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lenses
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
 
Cyber Laws
Cyber LawsCyber Laws
Cyber Laws
 
XML
XMLXML
XML
 

Dernier

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 

Dernier (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Html tables examples

  • 1. AC I-Unit 1: HTML Tables - Examples HTML Tables Examples 1. Write HTML code to create the following table: Table of Dog Breeds Breed Description Group French Bulldog Loyal Companion Wheaten Terrier High energy, friendly Terrier English Pointer Hunting companion Australian Cattle Dog Guarding, herding Organization Non-Sporting Sporting All listed dogs are AKC recognized Working Source Code: <TABLE BORDER = "1"> <!—Row 1 – heading --> <TR> <TH COLSPAN="4">Table of Dog Breeds</TH> </TR> <!—Row 2 – heading --> <TR> <TH>Breed</TH> <TH>Description</TH> <TH>Group</TH> <TH>Organization</TH> </TR> <!—Row 3 --> <TR> <TD>French Bulldog</TD> <TD>Loyal Companion</TD> <TD>Non-Sporting</TD> <TD ROWSPAN = "5">All listed dogs are AKC recognized</TD> </TR> <!—Row 4 --> <TR> <TD>Wheaten Terrier</TD> <TD>High energy, friendly</TD> <TD>Terrier</TD> </TR> <!—Row 5 --> <TR> <TD>English Pointer</TD> <TD>Hunting companion</TD> <TD>Sporting</TD> </TR> Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } Page 1 of 14
  • 2. AC I-Unit 1: HTML Tables - Examples <!—Row 6 --> <TR> <TD>Australian Cattle Dog</TD> <TD>Guarding, herding</TD> <TD>Working</TD> </TR> </TABLE> 2. Write HTML code to create the following table: Items Order Form Item Price Quantity DVD 10 10 Mouse 100 12 Pen Drive 300 5 Source Code: <TABLE BORDER = "1"> <CAPTION>Items Order Form</CAPTION> <TR> <TD WIDTH = 80>Item</TD> <TD WIDTH = 80>Price</TD> <TD WIDTH = 80>Quantity</TD> </TR> <TR> <TD>DVD</TD> <TD ALIGN = center>10</TD> <TD ALIGN = CENTER>10</TD></TR> </TR> <TR> <TD>Mouse</TD> <TD ALIGN = CENTER>100</TD> <TD ALIGN = CENTER>12</TD></TR> </TR> <TR> <TD>Pen Drive</TD> <TD ALIGN = CENTER>300</TD> <TD ALIGN = CENTER>5</td></TR> </TR> </TABLE> 3. Write HTML code to create the following table: Page 2 of 14 mukeshtekwani@hotmail.com
  • 3. AC I-Unit 1: HTML Tables - Examples Banner column 1 column 2 Source Code: <BODY> <DIV ALIGN="CENTER"> <TABLE WIDTH="650" BORDER="1"> <TR> <TD COLSPAN="2" HEIGHT="50">banner</TD> </TR> <TR> <TD WIDTH="20%" HEIGHT="250">column 1</TD> <TD>column 2</TD> </TR> </TABLE> </DIV> </BODY> 4. Write HTML code to create the following stacked tables: Banner Button 1 Button 2 Button 3 Button 4 Graphic Graphic Graphic Column 1 Column 2 Button 5 Column 3 Source Code: <TABLE WIDTH="650" BORDER="1"> <TR> Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } Page 3 of 14
  • 4. AC I-Unit 1: HTML Tables - Examples <TD COLSPAN="5"><H1>Banner</H1></TD> </TR> <TR> <TD>Button <TD>Button <TD>Button <TD>Button <TD>Button </TR> </TABLE> 1</TD> 2</TD> 3</TD> 4</TD> 5</TD> <BR> <!—Next table starts here -- > <TABLE WIDTH="650" BORDER="1"> <TR> <TD>Graphic</TD> <TD>Graphic</TD> <TD>Graphic</TD> </TR> <TR HEIGHT="300"> <TD WIDTH="33%"><P>Column 1</P></TD> <TD WIDTH="33%"><P>Column 2</P></TD> <TD WIDTH="33%"><P>Column 3</P></TD> </TR> </TABLE> 5. Write HTML code to create the following table: Column 2-Top Column 3-Top Column 2-Bottom Column 3-Bottom Column 1 Source Code: <TABLE WIDTH="750" BORDER="1" HEIGHT="300"> <TR> <TD ROWSPAN="2" WIDTH="20%">Column 1</TD> <TD>Column 2-Top</TD> <TD>Column 3-Top</TD> </TR> <TR> <TD>Column 2-Bottom</TD> Page 4 of 14 mukeshtekwani@hotmail.com
  • 5. AC I-Unit 1: HTML Tables - Examples <TD>Column 3-Bottom</TD> </TR> </TABLE> 6. Write HTML code to create the following table: Column 2-A Column 1 Column 3 Column 2-B Source Code: <TABLE WIDTH="650" BORDER="1" HEIGHT="300"> <TR> <TD ROWSPAN="2" WIDTH="15%">Column 1</TD> <TD WIDTH="70%">Column 2-A</TD> <TD ROWSPAN="2" WIDTH="15%">Column 3</TD> </TR> <TR> <TD>Column 2-B</TD> </TR> </TABLE> 7. Write HTML code to create the following tables: Cell that spans two columns: Name Telephone Bill Gates 555 77 854 555 77 855 Cell that spans two rows: First Name: Bill Gates Telephone: 555 77 854 555 77 855 Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } Page 5 of 14
  • 6. AC I-Unit 1: HTML Tables - Examples 8. Write HTML code to create the following table: This is a paragraph This cell contains a table: AB This is another paragraph C D This cell contains a list • apples HELLO • bananas • pineapples Source Code: <TABLE BORDER="1"> <TR> <TD> <P>This is a paragraph</P> <P>This is another paragraph</P> </TD> <TD>This cell contains a table: <TABLE BORDER="1"> <TR> <TD>A</TD> <TD>B</TD> </TR> <TR> <TD>C</TD> <TD>D</TD> </TR> </TABLE> </TD> </TR> <TR> <TD>This cell contains a list <UL> <LI>apples</LI> <LI>bananas</LI> <LI>pineapples</LI> </UL> </TD> <TD>HELLO</TD> </TR> </TABLE> 9. Write HTML code to create the following table: Item 1 Page 6 of 14 Item 2 Item 3 mukeshtekwani@hotmail.com
  • 7. AC I-Unit 1: HTML Tables - Examples Item 4 Item 5 <TABLE BORDER = "1" width = 500> <TR> <TD>Item 1</TD> <TD ROWSPAN = 2>Item 2</TD> <TD>Item 3</TD> </TR> <TR> <TD>Item 4</TD> <TD>Item 5</TD> </TR> </TABLE> 10.Write HTML code to create the following table (multiple headers and colspan): Head1 Head2 Head 3 Head 4 Head 5 Head 6 A B C D E F G H <TABLE BORDER = 1> <TR> <TH COLSPAN=2>Head1</TH> <TH COLSPAN=2>Head2</TH> </TR> <TR> <TH>Head 3</TH> <TH>Head 4</TH> <TH>Head 5</TH> <TH>Head 6</TH> </TR> <TR> <TD>A</TD> <TD>B</TD> <TD>C</TD> <TD>D</TD> </TR> <TR> <TD>E</TD> <TD>F</TD> <TD>G</TD> <TD>H</TD> </TR> </TABLE> Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } Page 7 of 14
  • 8. AC I-Unit 1: HTML Tables - Examples 11.Write HTML code to create the telephone bill: Telephone Bill Subscriber’s Name and Address Leena P, Cross Roads Off Haji Ali Road. Telephone Type no Genl res 575077 Perm OPENING CLOSING METER METER READING READING 1052 1297 DETAILS Consumer no P.O.Stamp PL 0051077 Bill date Due Date Pay By Date 01- Aug-2001 18-Aug-2001 25-Aug-2001 METERED DEBIT CALLS CALLS CREDIT CALLS FREE CALLS CHARGEABLE CALLS 245 0 ITEM 150 PERIOD 10/09/97 to 31/10/98 16/05/97 to 15/07/97 16/05/97 to 15/07/97 16/05/97 to 15/07/97 95 AMOUNT TAX 14.00 0 Rate No. of Calls Charge Rent 0.80 95 76 ITEM 10 TKP/PG CALLS SURCHARGE AFTER PAY BY DATE AMT ON/ BEFORE PAY 290 BY DATE ITX CALLS AMT AFTER PAY BY DATE MISC 300 200.00 76.00 0.00 0.00 TOTAL 290.00 ADDRESS PLEASE PAY BEFORE DUE DATE AND AVOID DISCONNECTION E & O.E. PLEASE SEE OVERLEAF FOR CODES / INSTRUCTIONS Accounts Officer <html> <head> <title>Telephone Bill</title> </head> Page 8 of 14 mukeshtekwani@hotmail.com
  • 9. AC I-Unit 1: HTML Tables - Examples <body> <h2>Telephone Bill</h2> <br> <table border="1" cellspacing="0" cellpadding="0" align = center > <!-- Row 1 --> <tr> <td width="182" colspan="3" align="center"><b><u>Subscriber’s Name and Address</u></b></td> <td width="131" colspan="2" align = "center"><B>Consumer no</b></td> <td width="289" colspan="4"><h3><u>P.O.Stamp</u></h3></td> </tr> <!-- Row 2 --> <tr> <td width="182" colspan="3" align="center">Leena P, Cross Roads<p align="center">Off Haji Ali Road.</td> <td width="131" colspan="2" align = "center">PL 0051077</td> <td width="71" align="center">&nbsp;</td> <td width="91" colspan="2" align="center">&nbsp;</td> <td width="126" align="center">&nbsp;</td> </tr> <!-- Row <tr> <td <td <td <td <td </tr> 3 --> <!-- Row <tr> <td <td <td <td <td </tr> 4 --> width="92" align="center">Telephone no</td> width="90" colspan="2" align="center">Type</td> width="131" colspan="2" align="center">Bill date</td> width="162" colspan="3" align="center">Due Date</td> width="126" align="center">Pay By Date</td> width="92" align="center">575077</td> width="90" colspan="2" align="center">Genl res Perm</td> width="131" colspan="2" align="center">01- Aug-2001</td> width="162" colspan="3" align="center">18-Aug-2001</td> width="126" align="center">25-Aug-2001</td> <!-- Row 5 --> <tr> <td width="92" align="center">OPENING METER READING</td> <td width="90" colspan="2" align="center">CLOSING METER READING</td> <td width="65" align="center">METERED CALLS</td> Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } Page 9 of 14
  • 10. AC I-Unit 1: HTML Tables - Examples <td <td <td <td width="66" align="center">DEBIT CALLS</td> width="78" colspan="2" align="center">CREDIT CALLS</td> width="85" align="center">FREE CALLS</td> width="126" align="center">CHARGEABLE CALLS</td> </tr> <!-- Row <tr> <td <td <td <td <td <td <td </tr> 6 --> <!-- Row <tr> <td <td <td <td </tr> 7 --> width="92" align="center">1052</td> width="90" colspan="2" align="center">1297</td> width="65" align="center">245</td> width="66" align="center">0</td> width="78" colspan="2" align="center">0</td> width="85" align="center">150</td> width="126" align="center">95</td> width="313" colspan="5" align="center">DETAILS</td> width="78" colspan="2" align="center">ITEM</td> width="85" align="center">PERIOD</td> width="126" align="center">AMOUNT</td> <!-- Row 8 --> <tr> <td width="92" align="center">Rate</td> <td width="89" align="center">No. of Calls</td> <td width="132" colspan="3" align="center">Charge</td> <td width="78" colspan="2" align="center">Rent</td> <td width="85" align="center">10/09/97 <br> to <br>31/10/98</td> <td width="126" align="center">200.00</td> </tr> <!-- Row 9 --> <tr> <td width="92" align="center">0.80</td> <td width="89" align="center">95</td> <td width="132" colspan="3" align="center">76</td> <td width="78" colspan="2" align="center">ITEM</td> <td width="85" align="center">16/05/97 <br> to <br> 15/07/97</td> <td width="126" align="center">76.00</td> </tr> <!-- Row 10 --> <tr> Page 10 of 14 mukeshtekwani@hotmail.com
  • 11. AC I-Unit 1: HTML Tables - Examples <td width="181" colspan="2" align="center">SURCHARGE AFTER PAY BY DATE</td> <td width="132" colspan="3" align="center">10</td> <td width="78" colspan="2" align="center">TKP/PG CALLS</td> <td width="85" align="center">16/05/97 <br> to <br> 15/07/97</td> <td width="126" align="center">0.00</td> </tr> <!-- Row 11 --> <tr> <td width="181" colspan="2" align="center">AMT ON/ BEFORE &nbsp; PAY BY DATE</td> <td width="132" colspan="3" align="center">290</td> <td width="78" colspan="2" align="center">ITX CALLS</td> <td width="85" align="center">16/05/97 <br> to <br> 15/07/97</td> <td width="126" align="center">0.00</td> </tr> <!-- Row 12 --> <tr> <td width="181" colspan="2" align="center">AMT AFTER PAY BY DATE</td> <td width="132" colspan="3" align="center">300</td> <td width="78" colspan="2" align="center">MISC</td> <td width="85" align="center">TAX</td> <td width="126" align="center">14.00</td> </tr> <!-- Row <tr> <td <td <td <td </tr> 13 --> <!-- Row <tr> <td <td <td </tr> 14 --> width="181" width="132" width="162" width="126" colspan="2" align="center">&nbsp;</td> colspan="3" align="center">&nbsp;</td> colspan="3" align="center">TOTAL</td> align="center">290.00</td> width="313" colspan="5">&nbsp;</td> width="162" colspan="3">ADDRESS</td> width="126">&nbsp;</td> <!-- Row 15 --> <tr> <td width="313" colspan="5">&nbsp;</td> <td width="289" colspan="4">PLEASE PAY BEFORE DUE DATE AND AVOID DISCONNECTION<p>&nbsp;</td> Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } Page 11 of 14
  • 12. AC I-Unit 1: HTML Tables - Examples </tr> <!-- Row <tr> <td FOR <td </tr> 16 --> width="313" colspan="5">E &amp; O.E. PLEASE SEE OVERLEAF CODES / INSTRUCTIONS</td> width="289" colspan="4">&nbsp;Accounts Officer</td> </table> </body> </html> 12.Write HTML code to display the calendar for the month of April 2004 in the following format April 2004 ABC CORP 04 - 2004 SUN 4 11 18 25 MON 5 12 19 26 TUE 6 13 20 27 WED 7 14 21 28 THUR 1 8 15 22 29 FRI 2 9 16 23 30 SAT 3 10 17 24 Sponsors APRIL 2004 13. Write an html page to display the following table Page 12 of 14 mukeshtekwani@hotmail.com
  • 13. AC I-Unit 1: HTML Tables - Examples T.Y.B.Sc. Department of Computer Science Main Applied Component Data Communication DBMS Web Design Advanced Java Operating System Linux SSAD Web Technology OOAD Data communication & Networking Author Behrouz Forouzan Andrew s. Tanenbaum Name price DCN 300/- TCP/IP 350/- Networking 400/- William Stallings Computer Communication & Networking Total Cost (total 4 books) Operating System Author Name Price Andrew s. Tanenbaum Operating system William Stallings Operating system Concepts Total Rs.1000/- 500/- Rs.1450/- 400/- 14.Create an HTML page, which should look like follows. 1. The HTML page should have an appropriate title. The data within the table should be center aligned. Demonstrate the program to the examiner. Take a printout of the HTML code and attach with your answer sheet. 2. Explain all the HTML tags and the attributes that you have used in the above program. This is a simple table for which you have to give the code. HTML ASP Hyper Text Markup Active Server Pages Language HTML 4.0 ASP 2.0 This is a table using Rowspan and Colspan Prof. Mukesh N. Tekwani {Mobile: 9869 488 356 } CFML Cold Fusion Markup Language CFML 5.0 Page 13 of 14
  • 14. AC I-Unit 1: HTML Tables - Examples No. of Students Year Year Year 2001 2002 2003 58 96 154 Total 288 COMPUTER SCIENCE Page 14 of 14 mukeshtekwani@hotmail.com