SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascriptFaysalAhammed5
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlveena parihar
 
Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manualneela madheswari
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tagsKainat Ilyas
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practicalNitesh Dubey
 
Html ppt
Html pptHtml ppt
Html pptIblesoft
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
HTML practical file
HTML practical fileHTML practical file
HTML practical fileKuldeep Sharma
 
CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML Rc Os
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)AakankshaR
 
HTML practical guide for O/L exam
HTML practical guide for O/L examHTML practical guide for O/L exam
HTML practical guide for O/L examAnne Perera
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTMLMehul Patel
 

Was ist angesagt? (20)

presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manual
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tags
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practical
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html ppt
Html pptHtml ppt
Html ppt
 
html-table
html-tablehtml-table
html-table
 
Html Table
Html TableHtml Table
Html Table
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html notes
Html notesHtml notes
Html notes
 
CSS for Beginners
CSS for BeginnersCSS for Beginners
CSS for Beginners
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html
HtmlHtml
Html
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
 
HTML practical guide for O/L exam
HTML practical guide for O/L examHTML practical guide for O/L exam
HTML practical guide for O/L exam
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
 

Andere mochten auch

HTML Tables
HTML TablesHTML Tables
HTML TablesNisa Soomro
 
Tables frames
Tables framesTables frames
Tables framesVasya Petrov
 
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
 

Andere mochten auch (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
 

Ă„hnlich wie Html tables examples

Ă„hnlich wie Html tables examples (20)

Html&css lesson 2
Html&css lesson 2Html&css lesson 2
Html&css lesson 2
 
Practicals it
Practicals itPracticals it
Practicals it
 
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
 
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
 
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
 
HTML
HTML HTML
HTML
 

Mehr von Mukesh 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
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code? 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
 
Spherical mirrors
Spherical mirrorsSpherical mirrors
Spherical mirrorsMukesh 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
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference ModelMukesh Tekwani
 

Mehr von Mukesh Tekwani (20)

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
 
Social media
Social mediaSocial media
Social media
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 

KĂĽrzlich hochgeladen

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 

KĂĽrzlich hochgeladen (20)

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 

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