码迷,mamicode.com
首页 > Web开发 > 详细

html

时间:2016-07-07 14:32:42      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:网页   标签   前端   

<!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

html

标签:网页   标签   前端   

原文地址:http://9272317.blog.51cto.com/9262317/1812213

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!