Focus on WEB Application and Software Engineering
二月 24
一个不常用的HTML标签fieldset,不过我觉得比较有意思,其语法如下:
<fieldset>
<legend>fieldset名称</legend>
<!-- 加入你的内容 -->
</fieldset>

下面是一个代码示例:

<center>
<fieldset style="width:300px">
<legend>用户登陆</legend>
<form name="login" method="post">
帐号:<input name="UserName"></input>
<br><br>
密码:<input type="password" name="UserPassword"></input>
<br><br>
<input type="submit" value="登陆" name="Submit"></input>
  
<input type="reset" value="重填" name="Reset"></input>
</form>
</fieldset>
</center> 

当前评分 2.3 , 共有 11 人参与

  • Currently 2.272727/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

添加评论


 

看不清?点击图片看看
biuquote
Loading



关于我

kittow (天笑)
80年代生于“天府之国”四川
爱好:编程、篮球、数码、旅游
乘一叶兴趣小舟,漂泊于浩瀚IT海洋。。。
TITLE:MSE of UESTC & 软件设计师
Technical Capacity | Last Blog