Tabelite näiteid

 

Alljärgnevalt toon teieni mõningaid näiteid tabelite vormindamisest HTML programmeerimiskeeles.

Õpetlikku leiavad siit kindlasti need programmeerimishuvilised, kellel ei ole võimalik kasutada selliseid arvutiprogramme:

"MS FrontPage", "Macromedia Dreamweaver", "HTML- Kit" või mõnda muud eelpoolnimetatutega sarnast programmitoimetit.

Selle lehekülje programmi lähtekoodi näete, kui valite oma arvuti veebibrauseri menüüst: View > Source

Teile sobiva tabeli lähtekoodi saate oma programmi kopeerida sealt edasi juba lihtsalt .....

 

This is a paragraph

This is another paragraph

This cell contains a table:
A B
C D
This cell contains a list
  • apples
  • bananas
  • pineapples
HELLO

Heading Another Heading
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2

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

Without cellpadding:

First Row
Second Row

With cellpadding:

First Row
Second Row

Without cellspacing:

First Row
Second Row

With cellspacing:

First Row
Second Row

A background color:

First Row
Second Row

A background image:

First Row
Second Row

Money spent on.... January February
Clothes $241.10 $50.20
Make-Up $30.00 $44.45
Food $730.40 $650.00
Sum $1001.50 $744.65

NB! Juhul kui te alljärgnevate tabelite raamide detaile ei näe, siis sel puhul kasutate te Interneti brauser- veebilehitseja vanemat versiooni,

mis ei näita teile seda veebilehekülge õieti välja.

With frame="border":

First Row
Second Row

With frame="box":

First Row
Second Row

With frame="void":

First Row
Second Row

With frame="above":

First Row
Second Row

With frame="below":

First Row
Second Row

With frame="hsides":

First Row
Second Row

With frame="vsides":

First Row
Second Row

With frame="lhs":

First Row
Second Row

With frame="rhs":

First Row
Second Row

Järgnev tabel on ilma raamita:

Name Cups Type of Coffee Sugar?
T. Sexton 10 Espresso No
J. Dinnen 5 Decaf Yes

Järgnev tabel on raamiga ja eraldi pealkirjaga:

"Cups of coffee consumed by each senator"

Name Cups Type of Coffee Sugar?
T. Sexton 10 Espresso No
J. Dinnen 5 Decaf Yes
A. Soria Not available

1 2 3
4 6
7 8 9

1 2 3
4 6
7 8 9

Vegetable Cost per kilo
Lettuce $1
Silver carrots $10.50
Golden turnips $100.30

Community Courses -- Bath Autumn 1997
Course Name Course Tutor Summary Code Fee
After the Civil War Dr. John The course will examine the turbulent years in England after 1646. H27 £32
An Introduction to............................... Mark One day course introducing the early medieval period reconstruction........................... H28 £18
The Glory that................. Valerie Birthplace of democracy, philosophy, heartland of theater, home of argument. H30 £18

"Travel Expense Report"
Meals Hotels Transport subtotals
San Jose
25-Aug-97 37.74 112.00 45.00
26-Aug-97 27.28 112.00 45.00
subtotals 65.02 224.00 90.00 379.02
Seattle
27-Aug-97 96.25 109.00 36.00
28-Aug-97 35.00 109.00 36.00
subtotals 131.25 218.00 72.00 421.25
Totals 196.27 442.00 162.00 800.27

Code-Page
ID
Name ACP OEMCP Windows
NT 3.1
Windows
NT 3.51
Windows
95
1200 Unicode (BMP of ISO/IEC-10646) X X *
1250 Windows 3.1 Eastern European X X X X
1251 Windows 3.1 Cyrillic X X X X
1252 Windows 3.1 US (ANSI) X X X X
1253 Windows 3.1 Greek X X X X
1254 Windows 3.1 Turkish X X X X
1255 Hebrew X X
1256 Arabic X X
1257 Baltic X X
1361 Korean (Johab) X ** X
437 MS-DOS United States X X X X
708 Arabic (ASMO 708) X X
709 Arabic (ASMO 449+, BCON V4) X X
710 Arabic (Transparent Arabic) X X
720 Arabic (Transparent ASMO) X X

Average Red
eyes
height weight
Males 1.9 0.003 40%
Females 1.7 0.002 43%

...rows...

...rows...

...rows... ...rows... ...rows... ...rows......rows...
...rows... ...rows...

...rows...

...rows......rows......rows...
...rows... ...rows... ...rows......rows... ...rows...


NO IDS Date
ID Device ID
 
   
1 k 00030 11/09/01 12:14:00 pm
2 c 00006 11/11/01 12:15:00 pm
3 a 00016 10/16/01 08:14:00 am
4 b 00031 09/05/01 10:05:00 am

IDS  
 
ID Device ID Date
 
   
k 00030 11/09/01 12:14:00 pm
c 00006 11/11/01 12:15:00 pm
a 00016 10/16/01 08:14:00 am
b 00031 09/05/01 10:05:00 am

ID Device ID Date Comment
 
k 00030 11/09/01 12:14:00 pm 1
c 00006 11/11/01 12:15:00 pm 2
a 00016 10/16/01 08:14:00 am 3
b 00031 09/05/01 10:05:00 am 4

ID Device ID Date
 
k 00030 11/09/01 12:14:00 pm
 

ID
 
k

Tagasi Üles | Prindi

© 2003- 2020 Hannes Web Disain • Alates: 12.02.2003 • Uuendatud: 01.01.2020 •