html常用标签及属性介绍
1、image标签
<image src="文件路径" alt="提示信息"/>
2、a标签
<a href="#" title='提示信息' target='页面跳转方式'/>
<!--torget标签的属性有'_self'和'_blank' 分别对应链接网页代替原网页和重新打开一个网页-->
3、label标签
<label for="input标签中的id">用户名:</label>
<!--label标签通常与input标签配合使用,点label标签内容能激活input标签-->
4、input标签
<input type="类型" name="#" value=""/>
<!--常见属性有,text、password、radio(单选,需要设置相同name)、checkbox、submit、reset等-->
<!--name属性表示提交时对应的键,value属性表示提交时所应的值-->
5、textarea标签
<textarea></textarea>
<!--多行文本框-->
6、form表单
<form action="" method="post">
<input type="text" name="username"/>
<input type="password" name="password" />
</form>