-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex2.html
More file actions
184 lines (159 loc) · 6.9 KB
/
Copy pathIndex2.html
File metadata and controls
184 lines (159 loc) · 6.9 KB
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content = "IE=edge">
<meta name = viewport content = "width=device-width initial-scale=1.0">
<link rel = "icon" type = "image/webp" href = "Images/PikachiuImage.webp">
<title>
this is website numero 2!
</title>
</head>
<body>
<p> this is normal text</p>
<p>This is<b> bold</b> text</p>
<p>this is <u>underlined</u> text</p>
<p>this is <del>deleted </del>text</p>
<p>This is <big>big</big> text</p>
<p>This is <small>small </small>text</p>
<p>This is <sub>subscript</sub> text</p>
<p>This is <sup>superscript </sup>text</p>
<p>This is <tt>monospaced </tt> text</p>
<p>This is <mark style = "background-color:lightcoral">normal</mark> text</p>
<!--Group Together HTML-->
<!--<span> inline container to group elements for styling purposes-->
<!--<div> block container to group elements for styling purposes-->
<h1><span style="background-color:aquamarine;">This is a span title</span></h1>
<h1><div style = "background-color: aqua;">This is a div title</div></h1>
<p><span style="background-color:aquamarine;">
This is a span sentence
</span></p>
<p><div style="background-color: aqua;">
This is a div sentence
</div></p>
<!--Unordered List-->
<ul>
<li>milk</li>
<li>eggs</li>
<li>bread</li>
<li>coffee supplies</li>
<ul>
<li>beans</li>
<li>creamer</li>
<li>sugar</li>
</ul>
</ul>
<!--Ordered List-->
<h4>To do list</h4>
<ol>
<li>eat breakfast</li>
<li>Go to class</li>
<li>walk dog</li>
<li>work</li>
</ol>
<!--Description List-->
<h4>Famous Singers</h4>
<dl style = "background-color: azure; border: 2px solid">
<dt>Taylor Swift</dt>
<dd>psycho 30 something year old whose been in one too many highschool breakups</dd>
<dt>sabrina carpenter</dt>
<dd>THAT'S THAT ME ESPRESSO</dd>
<dt>Ariana Grande</dt>
<dd>YERRRRR. THIS IS A DESCRIPTION</dd>
</dl>
<br>
<h3>Store Hours</h3>
<table border = "1" style="background-color: black;">
<tr align = "center" style="background-color: lightcoral"><!--Table row header-->
<th><!--table header tags-->Sunday</th>
<th width = "100">Monday</th>
<th width = "100">Tuesday</th>
<th width = "100">Wednesday</th>
<th width = "100">Thursday</th>
<th width = "100">Friday</th>
<th width = "100">Saturday</th>
</tr>
<tr align = "center" style="background-color: aliceblue;">
<td>Closed</td>
<td>9-5</td>
<td>9-5</td>
<td>9-5</td>
<td>9-5</td>
<td>9-5</td>
<td>9-2</td>
</tr>
</table>
<!--buttons-->
<a href="index.html">
<button style = "font-size: 25px; background-color: gray; color: blue; border-radius: 25px;">
click me!
</button>
</a>
<br>
<p id="Greeting">Henlo</p>
<br>
<button onclick = "doSomething()" style = "font-size: 25px; background-color: gold; color: red; border-radius: 25px;">
click me for cool javascript effect!
</button>
<script>
function doSomething(){
document.getElementByID("Greeting").innerHTML = "Goodbye";
}
</script>
<!--Forms Forms And More Forms-->
<form action = "index.php" method = "POST" enctype="multipart/form-data">
<!--POST is for transferring sensitive data, get is for insensitive data-->
<label for = "username">username:</label>
<input type = "text" id="username" placeholder = "PATRICKTHESTAR" minlength="8" maxlength="20" required>
<label for="password">password:</lebel>
<input type = "password" id="password">
<label for="email">email:</label>
<input type = "email" id="email" placeholder="Bob@gmail.com"><br>
<label for="phone">phone #:</label>
<input type = "tel" id = "phone" placeholder = "123-456-7890" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"><br>
<label for="bday">birthdate:</label>
<input type="date" id="bday"><br>
<label for="quantity">quantity:</label>
<input type="number" id="quantity" min="0" max="99" value="1"><br>
<label for=""title>title:</label>
<label for="Mr">Mr.</label>
<input type = "radio" id="Mr. " value="Mr " name="title">
<label for="Ms. ">Ms.</label>
<input type = "radio" id="Ms." value="Ms. " name="title">
<label for="payment">payment</label>
<select id="payment">
<option value="visa">visa</option>
<option value="mastercard">mastercard</option>
<option value="Paypal">paypal</option>
</select><br>
<label for="subscribe">subscribe=</label>
<input type = "checkbox" id="subscribe"><br>
<label for="comment">comment:</label>
<textarea id="comment" rows="3" cos="25"></textarea>
<label for="file">file:</label>
<input for="file" id="file" accept="image/png, image/jpeg"><br>
<input type = "reset"><br>
<input type = "submit">
</form>
<!--Headers-->
<header style="background-color: chartreuse;">
<h1>Welcome to my Site!</h1>
<a href="">Home</a>
<a href="">About Us</a>
<a href="">Products</a>
<a href="">Contact Us</a>
</header>
<main>
<h4>Check out these cool moves:</h4>
<image src="Images/PikachiuImage.webp"></image>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Exercitationem, laborum et minus, tempora similique doloremque illo ex vitae molestias saepe numquam rerum nesciunt fuga, eius accusamus magnam debitis explicabo quaerat.</p>
</main>
<!--Footers-->
<footer style="background-color: brown;">
<hr>
author: William Chiu<br>
© copright reserved <br>
<small><a href="williamrchiu18@gmail.com"></a></small>
</footer>
</body>
</html>