-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathColgroup.htm
128 lines (127 loc) · 4.07 KB
/
Colgroup.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
<!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> COLGROUP </H1>
This specifies <SPAN CLASS= INTRO> Attributes for a Group of Table Columns </SPAN>.
This is to be used in the <SPAN CLASS= INTRO> <A HREF="TABLE.HTM" TITLE= "Table-Specifies a Container Table within your doocument"> TABLE </A> </SPAN> Tag.
This is a Container Tag and thus needs to be closed.
<H4> Attributes </H4>
<OL>
<LI CLASS="HAND"> ALIGN :
<SPAN CLASS= MAIN> It specifies the Alignment of the text of the Column Group.</SPAN>
<OL>
<LI CLASS="DOC"> LEFT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Left Align </SPAN>
the text of the Column Group.</SPAN>
<LI CLASS="DOC"> RIGHT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Right Align </SPAN>
the text of the Column Group.</SPAN>
<LI CLASS="DOC"> CENTER :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Center Align </SPAN>
the text of the Column Group.</SPAN>
<LI CLASS="DOC"> JUSTIFY :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Justify Align </SPAN>
the text of the Column Group.</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 Column Group.</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>
<LI CLASS="HAND"> WIDTH :
<SPAN CLASS= MAIN> Specifies the Width or Horizontal Dimension of the Column Group
<SPAN CLASS= INTRO> ( In px or % ) </SPAN>. </SPAN>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= MAIN> <COLGROUP> </SPAN>
<BR>
<SPAN CLASS= INTRO> <COL>
<BR>
...
<BR>
<TR>
<BR>
<TD> Contents </TD>
<BR>
...
<BR>
</TR>
<BR>
...
<BR> </SPAN>
<SPAN CLASS= MAIN> </COLGROUP> </SPAN>
<SPAN CLASS= INTRO> <BR>
...
<BR>
</TABLE> </SPAN>
<H3> Example </H3>
<SPAN CLASS= INTRO> <TABLE BORDER=1> </SPAN>
<BR>
<SPAN CLASS= MAIN> <COLGROUP> </SPAN>
<BR>
<SPAN CLASS= INTRO> <COL ALIGN="LEFT">
<BR>
<COL ALIGN="CENTER">
<BR>
<COL ALIGN="RIGHT">
<BR>
<TR>
<BR>
<TD> This Cell is Left Aligned </TD>
<BR>
<TD> This Cell is Center Aligned </TD>
<BR>
<TD> This Cell is Right Aligned </TD>
<BR>
</TR>
<BR> </SPAN>
<SPAN CLASS= MAIN> </COLGROUP> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H5> Effect </H5>
<TABLE BORDER=1>
<COLGROUP WIDTH=200>
<COL ALIGN="LEFT">
<COL ALIGN="CENTER">
<COL ALIGN="RIGHT">
<TR>
<TD> This Cell is Left Aligned </TD>
<TD> This Cell is Center Aligned </TD>
<TD> This Cell is Right Aligned </TD>
</TR>
</COLGROUP>
</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>