{"id":52746,"date":"2024-12-03T12:19:42","date_gmt":"2024-12-03T04:19:42","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52746\/"},"modified":"2024-12-03T12:19:42","modified_gmt":"2024-12-03T04:19:42","slug":"html-%e5%92%8c-body-%e8%83%8c%e6%99%af%e8%89%b2%e4%bc%98%e5%85%88%e7%ba%a7%ef%bc%9a%e4%b8%ba%e4%bb%80%e4%b9%88-body-%e7%9a%84%e8%83%8c%e6%99%af%e8%89%b2%e4%bc%9a%e5%bd%b1%e5%93%8d%e6%95%b4%e4%b8%aa-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52746\/","title":{"rendered":"HTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>HTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f <\/h1>\n<p>\u4eb2\u7231\u7684\u7f16\u7a0b\u5b66\u4e60\u7231\u597d\u8005\uff0c\u5982\u679c\u4f60\u70b9\u5f00\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff0c\u8bf4\u660e\u4f60\u5bf9\u300aHTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f \u300b\u5f88\u611f\u5174\u8da3\u3002\u672c\u7bc7\u6587\u7ae0\u5c31\u6765\u7ed9\u5927\u5bb6\u8be6\u7ec6\u89e3\u6790\u4e00\u4e0b\uff0c\u4e3b\u8981\u4ecb\u7ecd\u4e00\u4e0b\uff0c\u5e0c\u671b\u6240\u6709\u8ba4\u771f\u8bfb\u5b8c\u7684\u7ae5\u978b\u4eec\uff0c\u90fd\u6709\u5b9e\u8d28\u6027\u7684\u63d0\u9ad8\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241123\/1732325625674130f9b750e.jpg\" class=\"aligncenter\" title=\"HTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f\u63d2\u56fe\" alt=\"HTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>HTML \u548c Body \u80cc\u666f\u8272\u7684\u4f18\u5148\u7ea7<\/strong><\/p>\n<p>\u5728 HTML \u6587\u6863\u4e2d\uff0c\u7ed9 Body \u6807\u7b7e\u8bbe\u7f6e\u80cc\u666f\u8272\u901a\u5e38\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\u7684\u80cc\u666f\u8272\uff0c\u5373\u4f7f Body \u7684\u5c3a\u5bf8\u4e0d\u8db3\u4ee5\u586b\u6ee1\u6d4f\u89c8\u5668\u7a97\u53e3\u3002\u7136\u800c\uff0c\u5982\u679c\u4e3a HTML \u6807\u7b7e\u8bbe\u7f6e\u80cc\u666f\u8272\uff0c\u6d4f\u89c8\u5668\u7684\u80cc\u666f\u8272\u5c31\u4f1a\u53d8\u4e3a HTML \u6807\u7b7e\u7684\u80cc\u666f\u8272\u3002<\/p>\n<p>\u8fd9\u79cd\u73b0\u8c61\u7684\u539f\u56e0\u5728\u4e8e CSS \u89c4\u8303\u89c4\u5b9a\uff0c\u5982\u679c\u6839\u5143\u7d20\uff08HTML \u6216 XHTML html\uff09\u7684 background-image \u4e3a none \u5e76\u4e14 background-color \u4e3a\u900f\u660e\uff0c\u5219\u6d4f\u89c8\u5668\u5c06\u4f7f\u7528\u6839\u5143\u7d20\u7b2c\u4e00\u4e2a HTML body \u6216 XHTML body \u5b50\u5143\u7d20\u7684 background \u5c5e\u6027\u8ba1\u7b97\u503c\u3002Body \u5143\u7d20 background \u5c5e\u6027\u7684\u5b9e\u9645\u503c\u662f\u5176\u521d\u59cb\u503c\uff0c\u800c\u4f20\u64ad\u7684\u503c\u5c06\u88ab\u89c6\u4e3a\u5728\u6839\u5143\u7d20\u4e0a\u6307\u5b9a\u3002\u56e0\u6b64\uff0c\u5efa\u8bae HTML \u6587\u6863\u7684\u4f5c\u8005\u5c06\u753b\u5e03\u80cc\u666f\u6307\u5b9a\u7ed9 body \u5143\u7d20\uff0c\u800c\u4e0d\u662f HTML \u5143\u7d20\u3002<\/p>\n<p>\u4eca\u5929\u5e26\u5927\u5bb6\u4e86\u89e3\u4e86\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u5e0c\u671b\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff1b\u5173\u4e8e\u6587\u7ae0\u7684\u6280\u672f\u77e5\u8bc6\u6211\u4eec\u4f1a\u4e00\u70b9\u70b9\u6df1\u5165\u4ecb\u7ecd\uff0c\u6b22\u8fce\u5927\u5bb6\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff0c\u4e00\u8d77\u5b66\u4e60\u7f16\u7a0b~<\/p>\n<dl>\n<dt><\/dt>\n<dd>\n   \u901a\u8fc7\u89e3\u51b3\u5f02\u5e38\u5904\u7406\u95ee\u9898\u6765\u589e\u5f3a\u60a8\u7684 Spring Boot \u6280\u80fd\uff1a\u4e3a UserNotFoundException \u5b9e\u73b0\u5168\u5c40\u5904\u7406\u7a0b\u5e8f\n <\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>HTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f \u4eb2\u7231\u7684\u7f16\u7a0b\u5b66\u4e60\u7231\u597d\u8005\uff0c\u5982\u679c\u4f60\u70b9\u5f00\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff0c\u8bf4\u660e\u4f60\u5bf9\u300aHTML \u548c Body \u80cc\u666f\u8272\u4f18\u5148\u7ea7\uff1a\u4e3a\u4ec0\u4e48 Body \u7684\u80cc\u666f\u8272\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\uff1f \u300b\u5f88\u611f\u5174\u8da3\u3002\u672c\u7bc7\u6587\u7ae0\u5c31\u6765\u7ed9\u5927\u5bb6\u8be6\u7ec6\u89e3\u6790\u4e00\u4e0b\uff0c\u4e3b\u8981\u4ecb\u7ecd\u4e00\u4e0b\uff0c\u5e0c\u671b\u6240\u6709\u8ba4\u771f\u8bfb\u5b8c\u7684\u7ae5\u978b\u4eec\uff0c\u90fd\u6709\u5b9e\u8d28\u6027\u7684\u63d0\u9ad8\u3002 HTML \u548c Body \u80cc\u666f\u8272\u7684\u4f18\u5148\u7ea7 \u5728 HTML \u6587\u6863\u4e2d\uff0c\u7ed9 Body \u6807\u7b7e\u8bbe\u7f6e\u80cc\u666f\u8272\u901a\u5e38\u4f1a\u5f71\u54cd\u6574\u4e2a\u6d4f\u89c8\u5668\u7684\u80cc\u666f\u8272\uff0c\u5373\u4f7f Body \u7684\u5c3a\u5bf8\u4e0d\u8db3\u4ee5\u586b\u6ee1\u6d4f\u89c8\u5668\u7a97\u53e3\u3002\u7136\u800c\uff0c\u5982\u679c\u4e3a HTML \u6807\u7b7e\u8bbe\u7f6e\u80cc\u666f\u8272\uff0c\u6d4f\u89c8\u5668\u7684\u80cc\u666f\u8272\u5c31\u4f1a\u53d8\u4e3a HTML \u6807\u7b7e\u7684\u80cc\u666f\u8272\u3002 \u8fd9\u79cd\u73b0\u8c61\u7684\u539f\u56e0\u5728\u4e8e CSS \u89c4\u8303\u89c4\u5b9a\uff0c\u5982\u679c\u6839\u5143\u7d20\uff08HTML \u6216 XHTML html\uff09\u7684 background-image \u4e3a none \u5e76\u4e14 background-color \u4e3a\u900f\u660e\uff0c\u5219\u6d4f\u89c8\u5668\u5c06\u4f7f\u7528\u6839\u5143\u7d20\u7b2c\u4e00\u4e2a HTML body \u6216 XHTML body \u5b50\u5143\u7d20\u7684 background \u5c5e\u6027\u8ba1\u7b97\u503c\u3002Body \u5143\u7d20 background \u5c5e\u6027\u7684\u5b9e\u9645\u503c\u662f\u5176\u521d\u59cb\u503c\uff0c\u800c\u4f20\u64ad\u7684\u503c\u5c06\u88ab\u89c6\u4e3a\u5728\u6839\u5143\u7d20\u4e0a\u6307\u5b9a\u3002\u56e0\u6b64\uff0c\u5efa\u8bae HTML \u6587\u6863\u7684\u4f5c\u8005\u5c06\u753b\u5e03\u80cc\u666f\u6307\u5b9a\u7ed9 body \u5143\u7d20\uff0c\u800c\u4e0d\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-52746","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=52746"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52746\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}