{"id":52065,"date":"2024-12-03T11:03:55","date_gmt":"2024-12-03T03:03:55","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52065\/"},"modified":"2024-12-03T11:03:55","modified_gmt":"2024-12-03T03:03:55","slug":"html%e4%b8%adruby%e6%a0%87%e7%ad%be%e9%97%b4%e5%87%ba%e7%8e%b0%e9%97%b4%e9%9a%94%e6%80%8e%e4%b9%88%e5%8a%9e%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52065\/","title":{"rendered":"HTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>HTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f <\/h1>\n<p>\u5c0f\u4f19\u4f34\u4eec\u5bf9\u6587\u7ae0\u7f16\u7a0b\u611f\u5174\u8da3\u5417\uff1f\u662f\u5426\u6b63\u5728\u5b66\u4e60\u76f8\u5173\u77e5\u8bc6\u70b9\uff1f\u5982\u679c\u662f\uff0c\u90a3\u4e48\u672c\u6587\u300aHTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f \u300b\uff0c\u5c31\u5f88\u9002\u5408\u4f60\uff0c\u672c\u7bc7\u6587\u7ae0\u8bb2\u89e3\u7684\u77e5\u8bc6\u70b9\u4e3b\u8981\u5305\u62ec\u3002\u5728\u4e4b\u540e\u7684\u6587\u7ae0\u4e2d\u4e5f\u4f1a\u591a\u591a\u5206\u4eab\u76f8\u5173\u77e5\u8bc6\u70b9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241118\/1731937733673b45c52221f.jpg\" class=\"aligncenter\" title=\"HTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f\u63d2\u56fe\" alt=\"HTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>HTML\u4e2dRuby\u6807\u7b7e\u95f4\u7684\u95f4\u9694\u95ee\u9898<\/strong><\/p>\n<p>\u5728HTML\u4e2d\u4f7f\u7528&lt;ruby&gt;\u6807\u7b7e\u4e3a\u6587\u672c\u6dfb\u52a0\u6ce8\u97f3\u65f6\uff0c\u76f8\u90bb\u7684&lt;ruby&gt;\u6807\u7b7e\u4e4b\u95f4\u53ef\u80fd\u4f1a\u51fa\u73b0\u95f4\u9694\uff0c\u5bfc\u81f4\u6ce8\u97f3\u6587\u5b57\u65e0\u6cd5\u8fde\u8d2f\u663e\u793a\u3002<\/p>\n<p>\u8fd9\u79cd\u95f4\u9694\u662f\u7531\u4e8e\u6d4f\u89c8\u5668\u5bf9&lt;ruby&gt;\u6807\u7b7e\u7684\u5b9e\u73b0\u65b9\u5f0f\u9020\u6210\u7684\u3002\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\u5bf9&lt;ruby&gt;\u6807\u7b7e\u7684\u5904\u7406\u6709\u6240\u4e0d\u540c\uff0c\u5bfc\u81f4\u95f4\u9694\u7684\u51fa\u73b0\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6709\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528border-bottom\u66ff\u4ee3\u4e0b\u5212\u7ebf\uff1a<\/strong><\/p>\n<p>\u4f7f\u7528border-bottom\u6837\u5f0f\u53ef\u4ee5\u5728\u6587\u5b57\u4e0b\u65b9\u6dfb\u52a0\u4e0b\u5212\u7ebf\uff0c\u4ece\u800c\u66ff\u4ee3&lt;u&gt;\u6807\u7b7e\u3002\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728&lt;ruby&gt;\u6807\u7b7e\u95f4\u4ea7\u751f\u95f4\u9694\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u4fee\u6539&lt;ruby&gt;\u6807\u7b7e\u7684\u5e03\u5c40\uff1a<\/strong><\/p>\n<p>\u5982\u679c&lt;ruby&gt;\u6807\u7b7e\u4e0d\u6362\u884c\uff0c\u5219\u4e0d\u4f1a\u51fa\u73b0\u95f4\u9694\u3002\u53ea\u9700\u5c06&lt;ruby&gt;\u6807\u7b7e\u653e\u5728\u540c\u4e00\u4e2a&lt;div&gt;\u6216&lt;span&gt;\u5bb9\u5668\u4e2d\uff0c\u5e76\u8bbe\u7f6efont-size:0\uff0c\u5373\u53ef\u6d88\u9664\u6807\u7b7e\u4e4b\u95f4\u7684\u7a7a\u767d\u5360\u4f4d\u7b26\u3002<\/p>\n<\/li>\n<\/ul>\n<pre>&lt;div&gt;\n  &lt;ruby&gt;\n    &lt;rb&gt;\u6e90&lt;\/rb&gt;\n    &lt;rp&gt;\uff08&lt;\/rp&gt;\n    &lt;rt&gt;\u307f\u306a\u3082\u306e&lt;\/rt&gt;\n    &lt;rp&gt;\uff09&lt;\/rp&gt;\n  &lt;\/ruby&gt;\n  &lt;ruby&gt;\n    &lt;rb&gt;\u7fa9\u7d4c&lt;\/rb&gt;\n    &lt;rp&gt;\uff08&lt;\/rp&gt;\n    &lt;rt&gt;\u3088\u3057\u3064\u306d&lt;\/rt&gt;\n    &lt;rp&gt;\uff09&lt;\/rp&gt;\n  &lt;\/ruby&gt;\n&lt;\/div&gt;<\/pre>\n<p>\u603b\u4e4b\uff0cHTML\u4e2d&lt;ruby&gt;\u6807\u7b7e\u95f4\u7684\u95f4\u9694\u662f\u7531\u4e8e\u6d4f\u89c8\u5668\u5b9e\u73b0\u9020\u6210\u7684\u3002\u901a\u8fc7\u4f7f\u7528border-bottom\u3001\u4fee\u6539&lt;ruby&gt;\u6807\u7b7e\u7684\u5e03\u5c40\u6216\u5728\u7236\u7ea7\u8bbe\u7f6efont-size:0\uff0c\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u300aHTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f \u300b\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u5173\u4e8e\u7684\u8d44\u6599\u8bf7\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff01<\/p>\n<dl>\n<dt><\/dt>\n<dd>\n   \u53f0\u5f0f\u7535\u8111\u5c4f\u5e55\u5c3a\u5bf8\u600e\u4e48\u8bbe\u7f6e\uff1f\n <\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>HTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f \u5c0f\u4f19\u4f34\u4eec\u5bf9\u6587\u7ae0\u7f16\u7a0b\u611f\u5174\u8da3\u5417\uff1f\u662f\u5426\u6b63\u5728\u5b66\u4e60\u76f8\u5173\u77e5\u8bc6\u70b9\uff1f\u5982\u679c\u662f\uff0c\u90a3\u4e48\u672c\u6587\u300aHTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f \u300b\uff0c\u5c31\u5f88\u9002\u5408\u4f60\uff0c\u672c\u7bc7\u6587\u7ae0\u8bb2\u89e3\u7684\u77e5\u8bc6\u70b9\u4e3b\u8981\u5305\u62ec\u3002\u5728\u4e4b\u540e\u7684\u6587\u7ae0\u4e2d\u4e5f\u4f1a\u591a\u591a\u5206\u4eab\u76f8\u5173\u77e5\u8bc6\u70b9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u77e5\u8bc6\u79ef\u7d2f\u6709\u6240\u5e2e\u52a9\uff01 HTML\u4e2dRuby\u6807\u7b7e\u95f4\u7684\u95f4\u9694\u95ee\u9898 \u5728HTML\u4e2d\u4f7f\u7528&lt;ruby&gt;\u6807\u7b7e\u4e3a\u6587\u672c\u6dfb\u52a0\u6ce8\u97f3\u65f6\uff0c\u76f8\u90bb\u7684&lt;ruby&gt;\u6807\u7b7e\u4e4b\u95f4\u53ef\u80fd\u4f1a\u51fa\u73b0\u95f4\u9694\uff0c\u5bfc\u81f4\u6ce8\u97f3\u6587\u5b57\u65e0\u6cd5\u8fde\u8d2f\u663e\u793a\u3002 \u8fd9\u79cd\u95f4\u9694\u662f\u7531\u4e8e\u6d4f\u89c8\u5668\u5bf9&lt;ruby&gt;\u6807\u7b7e\u7684\u5b9e\u73b0\u65b9\u5f0f\u9020\u6210\u7684\u3002\u4e0d\u540c\u7684\u6d4f\u89c8\u5668\u5bf9&lt;ruby&gt;\u6807\u7b7e\u7684\u5904\u7406\u6709\u6240\u4e0d\u540c\uff0c\u5bfc\u81f4\u95f4\u9694\u7684\u51fa\u73b0\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6709\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a \u4f7f\u7528border-bottom\u66ff\u4ee3\u4e0b\u5212\u7ebf\uff1a \u4f7f\u7528border-bottom\u6837\u5f0f\u53ef\u4ee5\u5728\u6587\u5b57\u4e0b\u65b9\u6dfb\u52a0\u4e0b\u5212\u7ebf\uff0c\u4ece\u800c\u66ff\u4ee3&lt;u&gt;\u6807\u7b7e\u3002\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728&lt;ruby&gt;\u6807\u7b7e\u95f4\u4ea7\u751f\u95f4\u9694\u3002 \u4fee\u6539&lt;ruby&gt;\u6807\u7b7e\u7684\u5e03\u5c40\uff1a \u5982\u679c&lt;ruby&gt;\u6807\u7b7e\u4e0d\u6362\u884c\uff0c\u5219\u4e0d\u4f1a\u51fa\u73b0\u95f4\u9694\u3002\u53ea\u9700\u5c06&lt;ruby&gt;\u6807\u7b7e\u653e\u5728\u540c\u4e00\u4e2a&lt;div&gt;\u6216&lt;span&gt;\u5bb9\u5668\u4e2d\uff0c\u5e76\u8bbe\u7f6efont-size:0\uff0c\u5373\u53ef\u6d88\u9664\u6807\u7b7e\u4e4b\u95f4\u7684\u7a7a\u767d\u5360\u4f4d\u7b26\u3002 &lt;div&gt; &lt;ruby&gt; &lt;rb&gt;\u6e90&lt;\/rb&gt; &lt;rp&gt;\uff08&lt;\/rp&gt; &lt;rt&gt;\u307f\u306a\u3082\u306e&lt;\/rt&gt; &lt;rp&gt;\uff09&lt;\/rp&gt; &lt;\/ruby&gt; &lt;ruby&gt; &lt;rb&gt;\u7fa9\u7d4c&lt;\/rb&gt; &lt;rp&gt;\uff08&lt;\/rp&gt; &lt;rt&gt;\u3088\u3057\u3064\u306d&lt;\/rt&gt; &lt;rp&gt;\uff09&lt;\/rp&gt; &lt;\/ruby&gt; &lt;\/div&gt; \u603b\u4e4b\uff0cHTML\u4e2d&lt;ruby&gt;\u6807\u7b7e\u95f4\u7684\u95f4\u9694\u662f\u7531\u4e8e\u6d4f\u89c8\u5668\u5b9e\u73b0\u9020\u6210\u7684\u3002\u901a\u8fc7\u4f7f\u7528border-bottom\u3001\u4fee\u6539&lt;ruby&gt;\u6807\u7b7e\u7684\u5e03\u5c40\u6216\u5728\u7236\u7ea7\u8bbe\u7f6efont-size:0\uff0c\u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002 \u4ee5\u4e0a\u5c31\u662f\u300aHTML\u4e2dRuby\u6807\u7b7e\u95f4\u51fa\u73b0\u95f4\u9694\u600e\u4e48\u529e\uff1f \u300b\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u5173\u4e8e\u7684\u8d44\u6599\u8bf7\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff01 \u53f0\u5f0f\u7535\u8111\u5c4f\u5e55\u5c3a\u5bf8\u600e\u4e48\u8bbe\u7f6e\uff1f<\/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-52065","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52065","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=52065"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52065\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}