obsidian-douban/test.html

28 lines
706 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>