forked from Open-Source-Community/oscwebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHTML.html
63 lines (42 loc) · 1.64 KB
/
HTML.html
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
<!DOCTYPE html>
<html>
<body>
<div id="container">
<div id="header" style="background-color:#B8E6B8;">
<h1 style="margin-bottom:0; text-align:center;">OSC Website HTML Page</h1></div>
<div id="menu" style="background-color:#CCFFCC; width:100px; text-align:center; float:left;">
<a href=Homepage.html>Home</a><br>
<b>HTML</b>
<br>CSS
<br>JavaScript
</div>
<div id="content" style="background-color:#EEEEEE; text-align:center;">
<p>
HTML Forms are used to select different kinds of user input.
Examples
Try it Yourself - Examples
Create text fields
How to create text fields. The user can write text in a text field.
Create password field
How to create a password field.
(You can find more examples at the bottom of this page)
HTML Forms
HTML forms are used to pass data to a server.
An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label elements.
The <form> tag is used to create an HTML form:
<form>
.
input elements
.
</form>
HTML Forms - The Input Element
The most important form element is the <input> element.
The <input> element is used to select user information.
An <input> element can vary in many ways, depending on the type attribute. An <input> element can be of type text field, checkbox, password, radio button, submit button, and more.
</p>
</div>
<div id="footer" style="background-color:#B8E6B8;clear:both;text-align:center;">
Copyright © W3Schools.com</div>
</div>
</body>
</html>