html標(biāo)準(zhǔn)寫法與dreamweaver自動(dòng)生成的不一樣

字號:


    代碼如下:
    <!--doctype指定文檔類型htm-->
    <!doctype html>
    <html>
    <header>
    <!--設(shè)置字符集 utf-8-->
    <meta charset=utf-8>
    <style>
    <!--這里寫你的css代碼-->
    </style>
    <script>
    //這里寫你的js代碼
    </script>
    </header>
    <body>
    <!--這里bof體內(nèi)容-->
    </body>
    </html>
    接下來介紹html標(biāo)簽
    <br/> 換行標(biāo)簽
    //不換行
    <nobr>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    </nobr>
    //居中樣式
    <center>
    <p>saddddddddddddddddddddddddddddddddd</p>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    <img src=http://file.ynet.com/2/1403/26/8829944-148x86.jpg>
    </center>