-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStyle.htm
90 lines (89 loc) · 3.01 KB
/
Style.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
<!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> STYLE </H1>
This tag is included in the <SPAN CLASS= INTRO> <A HREF="HEAD.HTM" TITLE= "Head-To define the Control Info for the Document"> HEAD
</A> </SPAN> Tag. It contains the <SPAN CLASS= INTRO> Style Sheet Definitions </SPAN>.
Place the contents between the <SPAN CLASS= INTRO> <A HREF="Comment.HTM" TITLE= "<!--...-->-Text will not be Displayed. Comment Tag"> !--...-- </A> </SPAN> Tag
to keep the <SPAN CLASS= INTRO> Style Hidden from the Browsers which don't support Scripts
or are forced to do that. </SPAN> This is a Container Tag and should be closed.
<H4> Attributes </H4>
<OL>
<LI CLASS="HAND"> MEDIA :
<SPAN CLASS= MAIN> It specifies the <SPAN CLASS= INTRO> Destination medium
for the Style Information. It may be a Single Type or a Comma separated
List </SPAN>. </SPAN>
<OL>
<LI CLASS="DOC"> SCREEN :
<SPAN CLASS= MAIN> It is for <SPAN CLASS= INTRO> Online Viewing </SPAN>
of the Document. It is the <SPAN CLASS= INTRO> Default
</SPAN>. </SPAN>
<LI CLASS="DOC"> PRINT :
<SPAN CLASS= MAIN> It is for <SPAN CLASS= INTRO> Traditional Printed
Material and for Documents to be Viewed in the Print Preview
Mode </SPAN> . </SPAN>
<LI CLASS="DOC"> PROJECTION :
<SPAN CLASS= MAIN> It is for viewing on <SPAN CLASS= INTRO> Projectors
</SPAN>. </SPAN>
<LI CLASS="DOC"> BRAILLE :
<SPAN CLASS= MAIN> It is for <SPAN CLASS= INTRO> Braille Tactile Feedback
Devices </SPAN>. </SPAN>
<LI CLASS="DOC"> SPEECH :
<SPAN CLASS= MAIN> It is for a <SPAN CLASS= INTRO> Speech Synthesizer
</SPAN>. </SPAN>
<LI CLASS="DOC"> ALL :
<SPAN CLASS= MAIN> It <SPAN CLASS= INTRO> Applies to All Devices
</SPAN>. </SPAN>
</OL>
<LI CLASS="HAND"> TYPE :
<SPAN CLASS= MAIN> It specifies <SPAN CLASS= INTRO> the MIME Type of the
Style Sheet Specification Standard used</SPAN>. </SPAN>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= MAIN> <STYLE [MEDIA="MEDIA"] [TYPE="TYPE"]> </SPAN>
<BR>
<SPAN CLASS= INTRO> <!--
<BR>
<tagname> {
<BR>
<property1>:<specifications>;
<BR>
<property2>:<specifications>;
<BR>
}
<BR>
-->
<BR>
</SPAN>
<SPAN CLASS= MAIN> </STYLE> </SPAN>
<H3> Example </H3>
<SPAN CLASS= MAIN> <STYLE MEDIA="ALL" TYPE="TEXT/CSS"> </SPAN>
<BR>
<SPAN CLASS= INTRO> <!--
<BR>
H1 {
<BR>
BACKGROUND:TEAL;
<BR>
COLOR:CYAN;
<BR>
}
<BR>
-->
<BR>
</SPAN>
<SPAN CLASS= MAIN> </STYLE> </SPAN>
<H5> Effect </H5>
<SPAN CLASS= MAIN> The Effect can't be shown on the Document now. </SPAN>
<SPAN CLASS= INTRO> This entire Document is Composed by Style. </SPAN>
<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>