css怎么制作一个登录页面

html-css08

css怎么制作一个登录页面,第1张

CSS+HTML可以制作一个登录静态页面,做不了动态页面。

表单代码:

<form name="form" method="POST" action="">

<input type="text" value="用户名" />

<input type="password" value="密码" />

<input type="submit" name="button" value="登录" class="xiaoka_tj"/>

</form>

CSS只是用来写样式的。要写输入框就用HTML的<input>标签。例如:<input type="text" name="username" /><input type="password" name="password">