下拉框+文字框+搜尋按鈕
阿新 • • 發佈:2019-02-02
<!doctype html>
<html langj="zh">
<head>
<meta charset="gbk">
<title>搜尋下拉</title>
<link rel="stylesheet" href="form.css">
</head>
<style>
form {
display: inline-block;
}
select, input {
margin: 0;
padding: 0;
float: left;
}
</style>
<body>
<form action="" method="">
<legend></legend>
<input type="text" placeholder="">
<select>
<option value="XXXX">XXXX</option>
<option value="YYYY">YYYY</option>
<option value="ZZZZ">ZZZZ</option>
</select>
<input type="button" value="搜尋">
</form>
</body>
</html>
<html langj="zh">
<head>
<meta charset="gbk">
<title>搜尋下拉</title>
<link rel="stylesheet" href="form.css">
</head>
<style>
form {
display: inline-block;
}
select, input {
margin: 0;
padding: 0;
float: left;
}
</style>
<body>
<form action="" method="">
<legend></legend>
<input type="text" placeholder="">
<select>
<option value="XXXX">XXXX</option>
<option value="YYYY">YYYY</option>
<option value="ZZZZ">ZZZZ</option>
</select>
<input type="button" value="搜尋">
</form>
</body>
</html>