-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTable.htm
134 lines (133 loc) · 5.28 KB
/
Table.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE HTML 4.0 TRANSITIONAL PUBLIC "_//w3c//dtd html 4.0//en">
<HTML>
<HEAD>
<LINK REL=STYLESHEET TYPE="TEXT/CSS" HREF="STYLES.CSS">
<TITLE> HTML Tutorial </TITLE>
</HEAD>
<body class="MIC">
<H1> TABLE </H1>
This tag is included in the <SPAN CLASS= INTRO> <A HREF="BODY.HTM" TITLE= "Body-Contains the Formatting Tags. Its contents are displayed on the Browser"> BODY </A> </SPAN> Tag.
Specifies <SPAN CLASS= INTRO> a Container Table within your doocument </SPAN>.<BR>
This is a Container Tag and should be closed.
<H4> Attributes </H4>
<OL>
<LI CLASS="HAND"> ALIGN :
<SPAN CLASS= MAIN> It specifies the Alignment of the text of the Table.</SPAN>
<OL>
<LI CLASS="DOC"> LEFT :
<SPAN CLASS= MAIN> Positions the Table on the <SPAN CLASS= INTRO> Left
of the Window </SPAN>. </SPAN>
<LI CLASS="DOC"> RIGHT :
<SPAN CLASS= MAIN> Positions the Table on the <SPAN CLASS= INTRO> Right
of the Window </SPAN>. </SPAN>
<LI CLASS="DOC"> CENTER :
<SPAN CLASS= MAIN> Positions the Table on the <SPAN CLASS= INTRO> Center
of the Window </SPAN>. </SPAN>
</OL>
<LI CLASS="HAND"> CELLPADDING :
<SPAN CLASS= MAIN> It specifies <SPAN CLASS= INTRO> the space (in the Number of
Pixels) between the edges of the table cells and their contents
</SPAN>. </SPAN>
<LI CLASS="HAND"> CELLSPACING :
<SPAN CLASS= MAIN> It specifies <SPAN CLASS= INTRO> the space (in the Number of
Pixels) between the borders of the table cells and the borders of
their adjacent cells</SPAN>. </SPAN>
<LI CLASS="HAND"> COLS :
<SPAN CLASS= MAIN> It specifies <SPAN CLASS= INTRO> the Number of Columns in the
Table</SPAN>. </SPAN>
<LI CLASS="HAND"> FRAME :
<SPAN CLASS= MAIN> It specifies the Vertical Alignment of the text of the Column.</SPAN>
<OL>
<LI CLASS="DOC"> VOID :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> No Borderlines
</SPAN>. </SPAN>
<LI CLASS="DOC"> BOX :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borders around the
Entire Table. This is the Default </SPAN>. </SPAN>
<LI CLASS="DOC"> ABOVE :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borderline Above the Top
Edge </SPAN>. </SPAN>
<LI CLASS="DOC"> BELOW :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borderline Along the Bottom
Edge </SPAN>. </SPAN>
<LI CLASS="DOC"> HSIDES :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borderline Along the Top
and the Bottom Edges </SPAN>. </SPAN>
<LI CLASS="DOC"> LHS :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borderline Along the Left
Side </SPAN>. </SPAN>
<LI CLASS="DOC"> RHS :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borderline Along the Right
Side </SPAN>. </SPAN>
<LI CLASS="DOC"> VSIDES :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Borderline Along the Left
and the Right Sides </SPAN>. </SPAN>
</OL>
<LI CLASS="HAND"> RULES :
<SPAN CLASS= MAIN> It specifies where the Rule Lines appear inside the Table.
<SPAN CLASS= INTRO> For the RULES attribute to work, set the BORDER
Attribute </SPAN>. </SPAN>
<OL>
<LI CLASS="DOC"> NONE :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> No Rule lines
</SPAN>. </SPAN>
<LI CLASS="DOC"> ROWS :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Rule lines between
Rows </SPAN>. </SPAN>
<LI CLASS="DOC"> COLS :
<SPAN CLASS= MAIN> Indicates <SPAN CLASS= INTRO> Rule lines between
Columns </SPAN>. </SPAN>
<LI CLASS="DOC"> ALL :
<SPAN CLASS= MAIN> Draws <SPAN CLASS= INTRO> All possible Rule Lines
</SPAN>. </SPAN>
<LI CLASS="DOC"> GROUP :
<SPAN CLASS= MAIN> Specifies <SPAN CLASS= INTRO> Rule lines between
the Groups Defined by the <A HREF="TFOOT.HTM" TITLE= "Tfoot-Defines a Table Footer Section"> TFOOT </A>,
<A HREF="THEAD.HTM" TITLE= "Thead-Defines a Table Header Section"> THEAD </A>,
<A HREF="TBODY.HTM" TITLE= "Tbody-Defines a Table Body within a Table"> TBODY </A>
and <A HREF="COLGROUP.HTM" TITLE= "Colgroup-Attributes for a Group of Table Column"> COLGROUP </A>Tags</SPAN>. </SPAN>
</OL>
<LI CLASS="HAND"> SUMMARY :
<SPAN CLASS= MAIN> It specifies descriptive text for the Table. This is used
to summarize the Table <SPAN CLASS= INTRO> for display on the browsers
That don't support Graphics or Tables</SPAN>. </SPAN>
<LI CLASS="HAND"> WIDTH :
<SPAN CLASS= MAIN> It specifies the Width of the Table. This is used
<SPAN CLASS= INTRO> to specify the size of the Table w.r.t. the
browser's size</SPAN>. </SPAN>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= MAIN> <TABLE> </SPAN>
<BR>
....
<BR>
<SPAN CLASS= MAIN> </TABLE> </SPAN>
<H3> Example </H3>
<SPAN CLASS= MAIN> <TABLE> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
This is the Table Data
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= MAIN> </TABLE> </SPAN>
<H5> Effect </H5>
<TABLE BORDER = 1>
<TR>
<TD>
This is the Table Data
</TD>
</TR>
</TABLE>
<BR>
<A HREF="TABLEEG.HTM" TARGET="_BLANK">See More Effects</A>
<BR>
<BR>
<A HREF=" INTRO.HTM" TITLE="HTML Tutorial Home-Introduction to HTML"> Home </A>
<BR>
<A HREF=" ABOUT.HTM" TITLE="About HTML Tutorial"> About </A>
</BODY>
</HTML>