{"id":776,"date":"2025-12-14T14:29:03","date_gmt":"2025-12-14T06:29:03","guid":{"rendered":"https:\/\/www.52runoob.com\/?p=776"},"modified":"2025-12-14T14:29:03","modified_gmt":"2025-12-14T06:29:03","slug":"html%e7%bd%91%e9%a1%b5%e5%88%b6%e4%bd%9c%e4%bb%a3%e7%a0%81%e5%a4%a7%e5%85%a8-html%e5%b8%b8%e7%94%a8%e6%a0%87%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/www.52runoob.com\/index.php\/2025\/12\/14\/html%e7%bd%91%e9%a1%b5%e5%88%b6%e4%bd%9c%e4%bb%a3%e7%a0%81%e5%a4%a7%e5%85%a8-html%e5%b8%b8%e7%94%a8%e6%a0%87%e8%ae%b0\/","title":{"rendered":"html\u7f51\u9875\u5236\u4f5c\u4ee3\u7801\u5927\u5168 (html\u5e38\u7528\u6807\u8bb0)"},"content":{"rendered":"\n<p>\u4e0b\u9762\u662f\u4e00\u4efd<strong>\u53ef\u76f4\u63a5\u6536\u85cf \/ \u5b66\u4e60 \/ \u6559\u5b66\u4f7f\u7528\u7684\u300aHTML \u7f51\u9875\u5236\u4f5c\u4ee3\u7801\u5927\u5168\uff08HTML \u5e38\u7528\u6807\u8bb0\uff09\u300b<\/strong>\uff0c\u8986\u76d6\u6700\u5e38\u7528\u3001\u6700\u6838\u5fc3\u7684 HTML \u6807\u7b7e\uff0c\u5e76\u914d\u6709\u7b80\u8981\u8bf4\u660e\u4e0e\u793a\u4f8b\uff0c\u9002\u5408<strong>\u521d\u5b66\u8005\u5230\u8fdb\u9636<\/strong>\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">HTML \u7f51\u9875\u5236\u4f5c\u4ee3\u7801\u5927\u5168\uff08HTML \u5e38\u7528\u6807\u8bb0\uff09<\/h1>\n\n\n\n<p>HTML\uff08HyperText Markup Language\uff09\u662f\u7f51\u9875\u7684\u57fa\u7840\u8bed\u8a00\uff0c\u901a\u8fc7\u5404\u79cd**\u6807\u8bb0\uff08\u6807\u7b7e \/ Tag\uff09**\u6765\u63cf\u8ff0\u7f51\u9875\u7ed3\u6784\u548c\u5185\u5bb9\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001HTML \u6587\u6863\u57fa\u7840\u7ed3\u6784<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;!DOCTYPE html&gt;\n&amp;lt;html lang=&quot;zh-CN&quot;&gt;\n&amp;lt;head&gt;\n  &amp;lt;meta charset=&quot;UTF-8&quot;&gt;\n  &amp;lt;title&gt;My First HTML Page&amp;lt;\/title&gt;\n  &amp;lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n&amp;lt;\/head&gt;\n&amp;lt;body&gt;\n\n  \u9875\u9762\u5185\u5bb9\u5199\u5728\u8fd9\u91cc\n\n&amp;lt;\/body&gt;\n&amp;lt;\/html&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u8bf4\u660e<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>&lt;!DOCTYPE html><\/code>\uff1a\u58f0\u660e HTML5 \u6587\u6863<\/li>\n\n\n\n<li><code>&lt;html><\/code>\uff1aHTML \u6839\u5143\u7d20<\/li>\n\n\n\n<li><code>&lt;head><\/code>\uff1a\u9875\u9762\u914d\u7f6e\u4fe1\u606f<\/li>\n\n\n\n<li><code>&lt;body><\/code>\uff1a\u9875\u9762\u53ef\u89c1\u5185\u5bb9<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u6587\u672c\u4e0e\u6392\u7248\u6807\u7b7e\uff08\u6700\u5e38\u7528\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u6807\u9898\u6807\u7b7e<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;h1&gt;\u4e00\u7ea7\u6807\u9898&amp;lt;\/h1&gt;\n&amp;lt;h2&gt;\u4e8c\u7ea7\u6807\u9898&amp;lt;\/h2&gt;\n&amp;lt;h3&gt;\u4e09\u7ea7\u6807\u9898&amp;lt;\/h3&gt;\n&amp;lt;h4&gt;\u56db\u7ea7\u6807\u9898&amp;lt;\/h4&gt;\n&amp;lt;h5&gt;\u4e94\u7ea7\u6807\u9898&amp;lt;\/h5&gt;\n&amp;lt;h6&gt;\u516d\u7ea7\u6807\u9898&amp;lt;\/h6&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u6bb5\u843d\u4e0e\u6362\u884c<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;p&gt;\u8fd9\u662f\u4e00\u4e2a\u6bb5\u843d&amp;lt;\/p&gt;\n&amp;lt;br&gt;\n&amp;lt;hr&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u6587\u672c\u5f3a\u8c03<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;strong&gt;\u52a0\u7c97\uff08\u8bed\u4e49\uff09&amp;lt;\/strong&gt;\n&amp;lt;b&gt;\u52a0\u7c97\uff08\u6837\u5f0f\uff09&amp;lt;\/b&gt;\n\n&amp;lt;em&gt;\u659c\u4f53\uff08\u8bed\u4e49\uff09&amp;lt;\/em&gt;\n&amp;lt;i&gt;\u659c\u4f53\uff08\u6837\u5f0f\uff09&amp;lt;\/i&gt;\n\n&amp;lt;u&gt;\u4e0b\u5212\u7ebf&amp;lt;\/u&gt;\n&amp;lt;mark&gt;\u9ad8\u4eae\u6587\u672c&amp;lt;\/mark&gt;\n&amp;lt;small&gt;\u5c0f\u53f7\u6587\u5b57&amp;lt;\/small&gt;\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u94fe\u63a5\u4e0e\u56fe\u7247<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u8d85\u94fe\u63a5<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;a href=&quot;https:\/\/www.example.com&quot; target=&quot;_blank&quot;&gt;\n  \u8bbf\u95ee\u7f51\u7ad9\n&amp;lt;\/a&gt;\n\n<\/pre><\/div>\n\n\n<p>\u5e38\u7528\u5c5e\u6027\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>href<\/code>\uff1a\u94fe\u63a5\u5730\u5740<\/li>\n\n\n\n<li><code>target=\"_blank\"<\/code>\uff1a\u65b0\u7a97\u53e3\u6253\u5f00<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u56fe\u7247<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;img src=&quot;image.jpg&quot; alt=&quot;\u56fe\u7247\u8bf4\u660e&quot; width=&quot;300&quot;&gt;\n\n<\/pre><\/div>\n\n\n<p>\u5e38\u7528\u5c5e\u6027\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>src<\/code>\uff1a\u56fe\u7247\u8def\u5f84<\/li>\n\n\n\n<li><code>alt<\/code>\uff1a\u56fe\u7247\u63cf\u8ff0\uff08SEO \u5fc5\u987b\uff09<\/li>\n\n\n\n<li><code>width \/ height<\/code>\uff1a\u5c3a\u5bf8<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u5217\u8868\u6807\u7b7e<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e0\u5e8f\u5217\u8868<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;ul&gt;\n  &amp;lt;li&gt;\u82f9\u679c&amp;lt;\/li&gt;\n  &amp;lt;li&gt;\u9999\u8549&amp;lt;\/li&gt;\n  &amp;lt;li&gt;\u6a58\u5b50&amp;lt;\/li&gt;\n&amp;lt;\/ul&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u6709\u5e8f\u5217\u8868<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;ol&gt;\n  &amp;lt;li&gt;\u7b2c\u4e00\u6b65&amp;lt;\/li&gt;\n  &amp;lt;li&gt;\u7b2c\u4e8c\u6b65&amp;lt;\/li&gt;\n  &amp;lt;li&gt;\u7b2c\u4e09\u6b65&amp;lt;\/li&gt;\n&amp;lt;\/ol&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u5b9a\u4e49\u5217\u8868<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;dl&gt;\n  &amp;lt;dt&gt;HTML&amp;lt;\/dt&gt;\n  &amp;lt;dd&gt;\u7f51\u9875\u7ed3\u6784\u8bed\u8a00&amp;lt;\/dd&gt;\n&amp;lt;\/dl&gt;\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u8868\u683c\u6807\u7b7e<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;table border=&quot;1&quot;&gt;\n  &amp;lt;tr&gt;\n    &amp;lt;th&gt;\u59d3\u540d&amp;lt;\/th&gt;\n    &amp;lt;th&gt;\u5e74\u9f84&amp;lt;\/th&gt;\n  &amp;lt;\/tr&gt;\n  &amp;lt;tr&gt;\n    &amp;lt;td&gt;\u5f20\u4e09&amp;lt;\/td&gt;\n    &amp;lt;td&gt;20&amp;lt;\/td&gt;\n  &amp;lt;\/tr&gt;\n&amp;lt;\/table&gt;\n\n<\/pre><\/div>\n\n\n<p>\u5e38\u7528\u6807\u7b7e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>&lt;table><\/code> \u8868\u683c<\/li>\n\n\n\n<li><code>&lt;tr><\/code> \u884c<\/li>\n\n\n\n<li><code>&lt;th><\/code> \u8868\u5934<\/li>\n\n\n\n<li><code>&lt;td><\/code> \u5355\u5143\u683c<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u8868\u5355\u6807\u7b7e\uff08\u975e\u5e38\u91cd\u8981\uff09<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;form action=&quot;\/submit&quot; method=&quot;post&quot;&gt;\n\n  &amp;lt;input type=&quot;text&quot; placeholder=&quot;\u7528\u6237\u540d&quot;&gt;\n  &amp;lt;input type=&quot;password&quot; placeholder=&quot;\u5bc6\u7801&quot;&gt;\n\n  &amp;lt;input type=&quot;radio&quot; name=&quot;gender&quot;&gt; \u7537\n  &amp;lt;input type=&quot;radio&quot; name=&quot;gender&quot;&gt; \u5973\n\n  &amp;lt;input type=&quot;checkbox&quot;&gt; \u540c\u610f\u534f\u8bae\n\n  &amp;lt;select&gt;\n    &amp;lt;option&gt;\u5317\u4eac&amp;lt;\/option&gt;\n    &amp;lt;option&gt;\u4e0a\u6d77&amp;lt;\/option&gt;\n  &amp;lt;\/select&gt;\n\n  &amp;lt;textarea rows=&quot;4&quot;&gt;&amp;lt;\/textarea&gt;\n\n  &amp;lt;button type=&quot;submit&quot;&gt;\u63d0\u4ea4&amp;lt;\/button&gt;\n\n&amp;lt;\/form&gt;\n\n<\/pre><\/div>\n\n\n<p>\u5e38\u7528\u8868\u5355\u63a7\u4ef6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>input<\/code>\uff08text \/ password \/ radio \/ checkbox \/ file\uff09<\/li>\n\n\n\n<li><code>select<\/code> \/ <code>option<\/code><\/li>\n\n\n\n<li><code>textarea<\/code><\/li>\n\n\n\n<li><code>button<\/code><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001HTML5 \u65b0\u589e\u8bed\u4e49\u6807\u7b7e\uff08\u63a8\u8350\uff09<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;header&gt;\u5934\u90e8&amp;lt;\/header&gt;\n&amp;lt;nav&gt;\u5bfc\u822a&amp;lt;\/nav&gt;\n&amp;lt;main&gt;\u4e3b\u4f53\u5185\u5bb9&amp;lt;\/main&gt;\n&amp;lt;section&gt;\u533a\u5757&amp;lt;\/section&gt;\n&amp;lt;article&gt;\u6587\u7ae0&amp;lt;\/article&gt;\n&amp;lt;aside&gt;\u4fa7\u8fb9\u680f&amp;lt;\/aside&gt;\n&amp;lt;footer&gt;\u5e95\u90e8&amp;lt;\/footer&gt;\n\n<\/pre><\/div>\n\n\n<p>\ud83d\udc49 \u6709\u5229\u4e8e SEO \u548c\u7ed3\u6784\u6e05\u6670\u5316\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u516b\u3001\u591a\u5a92\u4f53\u6807\u7b7e<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u97f3\u9891<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;audio controls&gt;\n  &amp;lt;source src=&quot;music.mp3&quot; type=&quot;audio\/mpeg&quot;&gt;\n&amp;lt;\/audio&gt;\n\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u89c6\u9891<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;video controls width=&quot;400&quot;&gt;\n  &amp;lt;source src=&quot;video.mp4&quot; type=&quot;video\/mp4&quot;&gt;\n&amp;lt;\/video&gt;\n\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e5d\u3001\u5e38\u7528 HTML \u5c5e\u6027\u901f\u67e5<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u5c5e\u6027<\/th><th>\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td>id<\/td><td>\u552f\u4e00\u6807\u8bc6<\/td><\/tr><tr><td>class<\/td><td>\u7c7b\u540d<\/td><\/tr><tr><td>style<\/td><td>\u884c\u5185\u6837\u5f0f<\/td><\/tr><tr><td>title<\/td><td>\u9f20\u6807\u63d0\u793a<\/td><\/tr><tr><td>hidden<\/td><td>\u9690\u85cf\u5143\u7d20<\/td><\/tr><tr><td>data-*<\/td><td>\u81ea\u5b9a\u4e49\u6570\u636e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u3001HTML \u5b66\u4e60\u5efa\u8bae<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTML \u8d1f\u8d23 <strong>\u7ed3\u6784<\/strong><\/li>\n\n\n\n<li>CSS \u8d1f\u8d23 <strong>\u6837\u5f0f<\/strong><\/li>\n\n\n\n<li>JavaScript \u8d1f\u8d23 <strong>\u4ea4\u4e92<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u4e09\u8005\u7f3a\u4e00\u4e0d\u53ef\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5341\u4e00\u3001\u603b\u7ed3<\/h2>\n\n\n\n<p>\u8fd9\u4efd\u300aHTML \u7f51\u9875\u5236\u4f5c\u4ee3\u7801\u5927\u5168\uff08HTML \u5e38\u7528\u6807\u8bb0\uff09\u300b\u8986\u76d6\u4e86\u7f51\u9875\u5f00\u53d1\u4e2d <strong>90% \u4ee5\u4e0a\u7684\u5e38\u7528\u6807\u7b7e<\/strong>\uff0c\u9002\u5408\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTML \u521d\u5b66\u8005<\/li>\n\n\n\n<li>\u6559\u5b66 \/ \u57f9\u8bad\u8d44\u6599<\/li>\n\n\n\n<li>\u901f\u67e5\u624b\u518c \/ Cheat Sheet<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u662f\u4e00\u4efd\u53ef\u76f4\u63a5\u6536\u85cf \/ \u5b66\u4e60 \/ \u6559\u5b66\u4f7f\u7528\u7684\u300aHTML \u7f51\u9875\u5236\u4f5c\u4ee3\u7801\u5927\u5168\uff08HT&#8230; <a class=\"more-link\" href=\"https:\/\/www.52runoob.com\/index.php\/2025\/12\/14\/html%e7%bd%91%e9%a1%b5%e5%88%b6%e4%bd%9c%e4%bb%a3%e7%a0%81%e5%a4%a7%e5%85%a8-html%e5%b8%b8%e7%94%a8%e6%a0%87%e8%ae%b0\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-776","post","type-post","status-publish","format-standard","hentry","category-html-xhtml"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/comments?post=776"}],"version-history":[{"count":1,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":777,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/posts\/776\/revisions\/777"}],"wp:attachment":[{"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/media?parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/categories?post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.52runoob.com\/index.php\/wp-json\/wp\/v2\/tags?post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}