HTML5,Javascript,and jQuery 24-Hour Trainer(2)——一些简单的tag

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/abclixu123/article/details/48465583
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset = "utf-8">
    <title>
        Sugar's page
    </title>
</head> 
<body>
    <h1>This is the first header</h1>  <!--标题-->
    <p>
    This is a paragraphs.               <!--段落-->
    <br>                                <!--空行-->
    This is a next line
    <br>
    Hi!
    </p>
    <blockquote>>                       <!--引用-->
    It' a lone life.
    <cite>By sugar</cite>               <!--出处-->
    </blockquote>
    <p>Click me <a href="2.html">here</a> to view a page</p>    <!--链接到另一页面-->
    <p><a href="http://www.baidu.com">百度</a></p>                <!--链接到网页-->
    <p>
    <img src='1.jpg' title="a text" width="200">                <!--放置图片-->
    </p>
    <p>
    <a href="http://www.baidu.com"><img src='1.jpg' width="200"/></a> <!--图片链接-->
    </p>
</body>
</html>

输出效果:

这里写图片描述

猜你喜欢

转载自blog.csdn.net/abclixu123/article/details/48465583