<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="Refresh" content="1; Url=http://120.24.153.71/wsdc/wsdc/index.do" > <title>Title</title> </head> <body> </body> </html>
网页一秒后自动跳转。
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>标签</h1> <div>123456</div> <h1>jiang</h1> <h2>wenhui</h2> <p></p> <span></span> <a>jiang</a><a>wenhui</a> </body> </html>
常用的一些标签
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <a href="http://www.baidu.com" target="_blank">baidu</a> <a href="网页自动跳转.html" target="_blank">网页自动跳转</a> <a href="#2">2到第二章</a> <div style="height:500px;background-color:red">1第一张</div> <div id="2" style="height:1000px;background-color:grenn;">2第二章</div> </body> </html>
超链接a标签
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <img title="1234" src="Z:\图片\官网菜品图片\1.jpg" style="height:700px;width:500px;" /> </body> </html>
img把图片搞到浏览器显示的标签
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <select> <option>beijing</option> <option>shanghai</option> <option>guangzhou</option> <option>shenzhen</option> </select> <select size="2"> <option>beijing</option> <option>shanghai</option> <option>guangzhou</option> <option>shenzhen</option> </select> <select size="12" multiple="multiple"> <option>beijing</option> <option>shanghai</option> <option>guangzhou</option> <option>shenzhen</option> </select> <select> <optgroup label="guangdong"> <option>深圳</option> <option>guangzhou</option> </optgroup> <optgroup label="hubei"> <option>wuhan</option> <option>tianmen</option> </optgroup> </select> </body> </html>
select下拉框标签
更多请见:http://www.cnblogs.com/liwenzhou/p/5353956.html
原文地址:http://9272317.blog.51cto.com/9262317/1812213