-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTh.htm
134 lines (133 loc) · 4.7 KB
/
Th.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> TH </H1>
This tag is included in the <SPAN CLASS= INTRO> <A HREF="TR.HTM" TITLE= "Tr-Creates a Table Row"> TR </A> </SPAN> Tag.
It contains the Table Cell Headings i.e., <SPAN CLASS= INTRO> Table Head </SPAN>.<BR>
This is a Container Tag and can be closed. The <SPAN CLASS= INTRO> Closing is Optional. </SPAN>
<H4> Attributes </H4>
<OL>
<LI CLASS="HAND"> ABBR :
<SPAN CLASS= MAIN> It specifies <SPAN CLASS= INTRO> Short Replacement Text
associated with the tag contents. </SPAN>. </SPAN>
<LI CLASS="HAND"> ALIGN :
<SPAN CLASS= MAIN> It specifies the Alignment of the text of the Heading.</SPAN>
<OL>
<LI CLASS="DOC"> LEFT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Left Align </SPAN>
the text of the Heading.</SPAN>
<LI CLASS="DOC"> RIGHT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Right Align </SPAN>
the text of the Heading.</SPAN>
<LI CLASS="DOC"> CENTER :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Center Align </SPAN>
the text of the Heading.</SPAN>
<LI CLASS="DOC"> JUSTIFY :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Justify Align </SPAN>
the text of the Heading.</SPAN>
<LI CLASS="DOC"> CHAR :
<SPAN CLASS= MAIN> It will specify that the alignment to be done on
the basis of a <SPAN CLASS= INTRO> Character </SPAN>.</SPAN>
</OL>
<LI CLASS="HAND"> CHAR :
<SPAN CLASS= MAIN> It specifies the Character on the basis of which the alignment of
the text will be done. <SPAN CLASS= INTRO> The Default is the Dot
'.' </SPAN>. </SPAN>
<LI CLASS="HAND"> CHAROFF :
<SPAN CLASS= MAIN> It specifies <SPAN CLASS= INTRO> the number of Characters from the left
at which the alignment appears </SPAN>. </SPAN>
<LI CLASS="HAND"> COLSPAN :
<SPAN CLASS= MAIN> It specifies that a <SPAN CLASS= INTRO> Table Cell occupies
more than One Column </SPAN>. It is mostly used if some Category
Name applies to more than One Column Data.</SPAN>
<LI CLASS="HAND"> NOWRAP :
<SPAN CLASS= MAIN> It specifies that the text within the Table Cell in the row
<SPAN CLASS= INTRO> does not Wrap</SPAN>. This may cause the table
to expand beyond the horizontal dimensions of the current page.</SPAN>
<LI CLASS="HAND"> ROWSPAN :
<SPAN CLASS= MAIN> It specifies that a <SPAN CLASS= INTRO> Table Cell occupies
more than One Row </SPAN>. It is useful if several rows of
information relate to One Category. </SPAN>
<LI CLASS="HAND"> VALIGN :
<SPAN CLASS= MAIN> It specifies the Vertical Alignment of the text of the Row.</SPAN>
<OL>
<LI CLASS="DOC"> TOP :
<SPAN CLASS= MAIN> It will align the text with the <SPAN CLASS= INTRO>
Top </SPAN> of the Row.</SPAN>
<LI CLASS="DOC"> MIDDLE :
<SPAN CLASS= MAIN> It will align the text with the <SPAN CLASS= INTRO>
Middle </SPAN> of the Row.</SPAN>
<LI CLASS="DOC"> BOTTOM :
<SPAN CLASS= MAIN> It will align the text with the <SPAN CLASS= INTRO>
Bottom </SPAN> of the Row.</SPAN>
<LI CLASS="DOC"> BASELINE :
<SPAN CLASS= MAIN> It will align the text with the <SPAN CLASS= INTRO>
Baseline </SPAN> of the Row.</SPAN>
<LI CLASS="DOC"> WIDTH :
<SPAN CLASS= MAIN> It specifies the <SPAN CLASS= INTRO> Horizontal
Dimesions of the cellin number of Pixels or as a Percentage of
the Table Width </SPAN>. </SPAN>
</OL>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= MAIN> <TH> </SPAN>
<BR>
...Content...
<BR>
<SPAN CLASS= MAIN> </TH> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H3> Example </H3>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= MAIN> <TH> </SPAN>
<BR>
This is a Table Heading
<BR>
<SPAN CLASS= MAIN> </TH> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
This is a Table Data
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H5> Effect </H5>
<TABLE BORDER = 1>
<TR>
<TH>
This is a Table Heading
</TH>
</TR>
<TR>
<TD>
This is a Table Data
</TD>
</TR>
</TABLE>
<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>