-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOption.htm
88 lines (87 loc) · 2.41 KB
/
Option.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
<!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> OPTION </H1>
Indicates <SPAN CLASS="INTRO"> Items in a fill out Form Selection List made by the </SPAN>
<SPAN CLASS= INTRO> <A HREF="SELECT.HTM" TITLE= "Select-Specify a Selection List"> SELECT </A> </SPAN> Tag.<BR>
This is a Container Tag and thus has to be closed.
<H4> Attributes </H4>
<OL>
<LI CLASS="HAND"> DISABLED :
<SPAN CLASS= MAIN> <SPAN CLASS="INTRO"> Denies Access </SPAN>
to the Input Method.</SPAN>
<LI CLASS="HAND"> LABEL :
<SPAN CLASS= MAIN> Specifies <SPAN CLASS="INTRO"> Shorter Alternatives text
assigned to this tag. Browsers use this to show
Tool Tips over the Group. </SPAN> </SPAN>
<LI CLASS="HAND"> SELECTED :
<SPAN CLASS= MAIN> Marks a Selected List Item <SPAN CLASS="INTRO">
Preselected </SPAN>. </SPAN>
<LI CLASS="HAND"> VALUE :
<SPAN CLASS= MAIN> Indicates which Data is to be sent to the Form Processor if
someone chooses the Item. If <SPAN CLASS="INTRO">VALUE is not Present,
the Text between the Starting and Ending Tags is Sent to the Form
Processor </SPAN>. </SPAN>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= INTRO> <FORM>
<BR>
<SELECT> </SPAN>
<SPAN CLASS= MAIN>
<BR>
<OPTION [LABEL="LABEL"][DISABLED][SELECTED][VALUE="VALUE"]> </SPAN>
<BR>
Text to be shown on the Browser
<BR>
<SPAN CLASS= MAIN></OPTION>
<BR>
... </SPAN>
<BR>
<SPAN CLASS= INTRO> </SELECT>
<BR>
</FORM> </SPAN>
<H3> Example </H3>
<SPAN CLASS= INTRO> <FORM>
<BR>
<SELECT> </SPAN>
<BR>
<SPAN CLASS= MAIN>
<OPTION SELECTED VALUE="VALUE1">
</SPAN>
<BR>
Text1
<BR>
<SPAN CLASS= MAIN>
</OPTION>
<BR>
<OPTION VALUE="VALUE2">
</SPAN>
<BR>
</SPAN>
Text2
<BR>
<SPAN CLASS= MAIN>
</OPTION>
</SPAN>
<BR>
<SPAN CLASS= INTRO> </SELECT>
<BR>
</FORM> </SPAN>
<H5> Effect </H5>
<FORM NAME="SELEF">
Choose Who You are.....
<SELECT NAME="SELE1" READONLY>
<OPTION VALUE="Teacher"> Teacher </OPTION>
<OPTION VALUE="Student"> Student </OPTION>
</SELECT>
</FORM>
<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>