fieldset屬性

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>one </title>
<style text="text/css">
#w {width:300px; height:100px; text-align:center; border-color:red blue green block; border-style; dashed}
</style>
</head>

<body>
<form  id="one" name="one" action="#" method="get">
<fieldset  id="w" align="center"><legend width="20px">請輸入用戶名和密碼</legend>
<p > 用戶名:<input type="text" id="username" name="username" maxlength="16" ><br/>
 密&nbsp;&nbsp碼:<input type="password" id="psw" name="psw" maxlength="6"></p>
<p align="center"><input type="submit" id="tijiao"  name="tijiao" value="提交查詢內容">
   <input type="reset" id="ret" name="rst" value="重置"></p></p>
</fieldset>
</form>

</body>
</html>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章