美文网首页
HTML5常用标签

HTML5常用标签

作者: 王小贱_ww | 来源:发表于2017-12-04 21:50 被阅读4次
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
    </head>
    <body>
     
    <p>这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签</p>
    <p>这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签这是段落标签</p>
    
    <h1>这是h1的标题</h1>
    <h6>这是h6的标题</h6>
    <hr>
    <br>
    <hr>
    <nobr>这是个很长的数学公式,不换行。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。这是个很长的数学公式,不换行。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。</nobr>
    <br>
    <br>
    <br>
    <center>居中显示</center>
    
    <marquee behavior="scroll" direction='left'>
        
        <p>大家好。。。</p>
    </marquee>
    
    <button type="button" onclick="buttonOnclick()">按钮
    </button>
    <script type="text/javascript">
        function buttonOnclick(){
            alert("我是按钮")
        }
    
    </script>
    <br>
    <a href="http://www.jianshu.com/" title="这是一个超链接" target="_blank">超链接</a>
    <br>
    <br>
    <img src="test.jpg" title="猫" width="200px" height="200px">
    
    </body>
    </html>
    
    捕获.PNG

    相关文章

      网友评论

          本文标题:HTML5常用标签

          本文链接:https://www.haomeiwen.com/subject/qmufixtx.html