-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlearn_html.html
More file actions
40 lines (37 loc) · 1.24 KB
/
learn_html.html
File metadata and controls
40 lines (37 loc) · 1.24 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
<html>
<head>
<title>I'm learning html.</title>
</head>
<body>
<!--Begining-->
<h1>Title</h1>
<h2>Title</h2>
<h3>Title</h3>
<h4>Title</h4>
<h5>Title</h5>
<h6>Title</h6>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Eos, velit iste!</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Minus, nulla distinctio dolorum impedit repellat
ratione quibusdam unde, reiciendis nihil veritatis modi? Necessitatibus aspernatur perspiciatis non? Asperiores
autem esse corrupti molestias.</p>
<button type="button" onclick="button()">Button</button>
<script type="text/javascript">
function button(){
alert("触发!");
}
</script>
<form action="communicate" method="post">
<div>
<label for ="name">昵称:</label>
<input type="text" id="name">
</div>
<div>
<label for ="message">消息:</label>
<input type="text" id="message">
</div>
<div class="button">
<button type="submit">发送消息</button>
</div>
</form>
</body>
</html>