generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 6
/
test.html
27 lines (27 loc) · 706 Bytes
/
test.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>输入框</title>
<style>
/* 样式代码,将label和input都设置为inline-block */
label, input {
display: inline-block;
}
</style>
</head>
<body>
<form>
<label for="input1">输入框1:</label>
<input type="text" id="input1" name="input1">
<label for="input2">输入框2:</label>
<input type="text" id="input2" name="input2">
<label for="input3">输入框3:</label>
<input type="text" id="input3" name="input3">
<label for="input4">输入框4:</label>
<input type="text" id="input4" name="input4">
<label for="input5">输入框5:</label>
<input type="text" id="input5" name="input5">
</form>
</body>
</html>