-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTr.htm
114 lines (113 loc) · 3.98 KB
/
Tr.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
<!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> TR </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 contains a row of cells ie., <SPAN CLASS= INTRO> Table Row </SPAN>
in a table. <BR>It contains the <SPAN CLASS= INTRO> <A HREF="TH.HTM" TITLE= "Th-Defines a Table Heading Section"> TH </A> </SPAN> and
<SPAN CLASS= INTRO> <A HREF="TD.HTM" TITLE= "Td-Defines a Table Cell"> TD </A> </SPAN> Tags. <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"> ALIGN :
<SPAN CLASS= MAIN> It specifies the Alignment of the text of the Row.</SPAN>
<OL>
<LI CLASS="DOC"> LEFT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Left Align </SPAN>
the text of the Row.</SPAN>
<LI CLASS="DOC"> RIGHT :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Right Align </SPAN>
the text of the Row.</SPAN>
<LI CLASS="DOC"> CENTER :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Center Align </SPAN>
the text of the Row.</SPAN>
<LI CLASS="DOC"> JUSTIFY :
<SPAN CLASS= MAIN> It will <SPAN CLASS= INTRO> Justify Align </SPAN>
the text of the Row.</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"> 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"> 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>
</OL>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= MAIN> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
...Content...
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= MAIN> </TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H3> Example </H3>
<SPAN CLASS= INTRO> <TABLE> </SPAN>
<BR>
<SPAN CLASS= MAIN> <TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
This is a Table
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<SPAN CLASS= INTRO> <TD> </SPAN>
<BR>
With Two Columns
<BR>
<SPAN CLASS= INTRO> </TD> </SPAN>
<BR>
<SPAN CLASS= MAIN> </TR> </SPAN>
<BR>
<SPAN CLASS= INTRO> </TABLE> </SPAN>
<H5> Effect </H5>
<TABLE BORDER = 1>
<TR>
<TD>
This is a Table
</TD>
<TD>
With Two Columns
</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>