<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>6button元素</title>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>6button元素</title>
</head>
<body>
<body>
<form action="" >
用户名:<input type="text" size="30" name="yhm"><br><br>
意见:<textarea rows="3" cols="30" name="yj" placeholder="请输入你的意见,谢谢参与"></textarea><br><br><!--rows设置行数。cols设置每行字数-->
邮箱:<input type="email" name="yx">
<button type="submit"><img src="E:\xampp\htdocs\html\1\baidu1.png" alt="" width="12px">提交</button>
<button type="reset" style="background:#00ffff;border-radius:12px;padding:12px">重置</button>
<!--最好在form中使用input在其他地方使用button,因为button按钮不同浏览器会提交不同的值 IE将提交开始与结束标签之间的文本,其他浏览器提交value的值-->
</form>
</body>
</html>