-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathThead.htm
126 lines (125 loc) · 3.96 KB
/
Thead.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
<!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> THEAD </H1>
This tag is included in the <SPAN CLASS= INTRO> <A HREF="TABLE.HTM" TITLE= "Table-Specifies a Container Table within your doocument"> TABLE
</A> </SPAN> Tag. It defines the <SPAN CLASS= INTRO> Table Header </SPAN>.
It should contain atleast one <SPAN CLASS= INTRO> <A HREF="TR.HTM" TITLE= "Tr-Creates a Table Row"> TR </A> </SPAN> Tag.
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 Header.</SPAN>
<OL>
<LI CLASS="DOC"> LEFT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Left Align </SPAN>
the text of the Table Header.</SPAN>
<LI CLASS="DOC"> RIGHT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Right Align </SPAN>
the text of the Table Header.</SPAN>
<LI CLASS="DOC"> CENTER :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Center Align </SPAN>
the text of the Table Header.</SPAN>
<LI CLASS="DOC"> JUSTIFY :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Justify Align </SPAN>
the text of the Table Header.</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"> VALIGN :
<SPAN CLASS= MAIN> It specifies the Vertical Alignment of the text of the Table Header.</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>
</OL>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= MAIN> <THEAD> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
...Content...
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= MAIN> </THEAD> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H3> Example </H3>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= MAIN> <THEAD> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
This is the Table Head
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= MAIN> </THEAD> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
This is a Row
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H5> Effect </H5>
<TABLE BORDER = 1>
<THEAD>
<TR>
<TD>
This is the Table Head
</TD>
</TR>
</THEAD>
<TR>
<TD>
This is a Row
</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>