javascript表單驗(yàn)證提交 html css實(shí)現(xiàn)簡(jiǎn)單的注冊(cè)表單驗(yàn)證代碼?
html css實(shí)現(xiàn)簡(jiǎn)單的注冊(cè)表單驗(yàn)證代碼?其實(shí)很簡(jiǎn)單,以下是方法步驟:1.新建html文檔。2.書(shū)寫(xiě)hmtl代碼。<div class="form-div"><form id="reg-
html css實(shí)現(xiàn)簡(jiǎn)單的注冊(cè)表單驗(yàn)證代碼?
其實(shí)很簡(jiǎn)單,以下是方法步驟:
1.新建html文檔。
2.書(shū)寫(xiě)hmtl代碼。
<div class="form-div">
<form id="reg-form" action="" method="post">
<table>
<tr>
<td>用戶名</td>
3.書(shū)寫(xiě)css代碼。
* { margin: 0 padding: 0 list-style-type: none }
a, img { border: 0 }
body { font: 16/180% Arial, Helvetica, sans-serif, "微軟雅黑", "黑體" background: #
4.代碼整體結(jié)構(gòu)。
5.查看效果。