HTML内容回顾

发布于:2024-06-22 ⋅ 阅读:(153) ⋅ 点赞:(0)
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!--
    HTML标签:“
        标题标签  h1-h6
        段落标签  p
        换行  br
        水平分割线  hr
        空格  &nbsp;

        加粗  <b>  <strong>百度是最大的爬虫</>strong>   使用strong的时候可能会出错 把关键字也加粗  所以一般用<b>就可以了
                建立网站的时候他可能会用strong包裹关键字 看各个网站的时候可以用strong做关键字搜索爬虫 例如京东的
                        <meta name="Keywords" content="网上购物,网上商城,家电,手机,电脑,服装,居家,母婴,美妆,个护,食品,生鲜,京东">
        斜体  <i>  <em>

        超链接  <a href = ''>百度一下</a>
        图片  <img src='1.png' width = 300 />   结尾的/代表结束
        列表
        块标签:div(主要做页面布局)
        表格标签:table  tr  tb
                合并行  rowspan
                合并列  colspan
        表单标签:
                <input type ="text" >
                <input type ="password" >
                <input type ="button" >
                <input type ="submit" >
                <button>按钮</button>

                <input type ="radio" name = "abc">男
                <input type ="radio" name = "abc" checked>女

                <input type ="checkbox" name = "abc">苹果
                <input type ="checkbox" name = "abc">梨

                <select>
                    <option>苹果</>option>
                    <option selected>梨</>option>
                </option>select>

                <textarea roes = "10"  cols= "50">
                </>textarea>

    -->

</body>
</html>


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!--
    HTML标签:“
        标题标签  h1-h6
        段落标签  p
        换行  br
        水平分割线  hr
        空格  &nbsp;

        加粗  <b>  <strong>百度是最大的爬虫</>strong>   使用strong的时候可能会出错 把关键字也加粗  所以一般用<b>就可以了
                建立网站的时候他可能会用strong包裹关键字 看各个网站的时候可以用strong做关键字搜索爬虫 例如京东的
                        <meta name="Keywords" content="网上购物,网上商城,家电,手机,电脑,服装,居家,母婴,美妆,个护,食品,生鲜,京东">
        斜体  <i>  <em>

        超链接  <a href = ''>百度一下</a>
        图片  <img src='1.png' width = 300 />   结尾的/代表结束
        列表
        块标签:div(主要做页面布局)
        表格标签:table  tr  tb
                合并行  rowspan
                合并列  colspan
        表单标签:
                <input type ="text" >
                <input type ="password" >
                <input type ="button" >
                <input type ="submit" >
                <button>按钮</button>

                <input type ="radio" name = "abc">男
                <input type ="radio" name = "abc" checked>女

                <input type ="checkbox" name = "abc">苹果
                <input type ="checkbox" name = "abc">梨

                <select>
                    <option>苹果</>option>
                    <option selected>梨</>option>
                </option>select>

                <textarea roes = "10"  cols= "50">
                </>textarea>

    -->

</body>
</html>



网站公告

今日签到

点亮在社区的每一天
去签到