{"id":1983,"date":"2025-02-23T15:05:53","date_gmt":"2025-02-23T07:05:53","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=1983"},"modified":"2025-02-23T15:05:53","modified_gmt":"2025-02-23T07:05:53","slug":"xhtml-%e6%b5%8b%e9%aa%8c","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/02\/23\/xhtml-%e6%b5%8b%e9%aa%8c\/","title":{"rendered":"XHTML\u00a0\u6d4b\u9a8c"},"content":{"rendered":"\n<p>\u4e0b\u9762\u662f\u9488\u5bf9 <strong>XHTML<\/strong> \u7684\u4e00\u4efd\u6d4b\u9a8c\uff0c\u5e2e\u52a9\u4f60\u68c0\u67e5\u5bf9 XHTML \u7684\u7406\u89e3\u7a0b\u5ea6\u3002\u5b83\u5c06\u6db5\u76d6 XHTML \u7684\u57fa\u7840\u77e5\u8bc6\u3001\u8bed\u6cd5\u8981\u6c42\u3001\u5143\u7d20\u7b49\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">XHTML \u6d4b\u9a8c<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">1. <strong>XHTML \u4e0e HTML \u7684\u4e3b\u8981\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/strong><\/h4>\n\n\n\n<p>A) XHTML \u66f4\u52a0\u5bbd\u677e\uff0c\u5141\u8bb8 HTML \u8bed\u6cd5\u9519\u8bef<br>B) XHTML \u662f\u4e25\u683c\u7684 XML \u8bed\u6cd5\uff0c\u5e76\u4e14\u6240\u6709\u5143\u7d20\u5fc5\u987b\u95ed\u5408<br>C) XHTML \u4ec5\u652f\u6301\u9759\u6001\u9875\u9762<br>D) XHTML \u4e0d\u652f\u6301\u591a\u5a92\u4f53\u5143\u7d20<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>\u4ee5\u4e0b\u54ea\u9879\u662f XHTML \u7684\u8bed\u6cd5\u8981\u6c42\uff1f<\/strong><\/h4>\n\n\n\n<p>A) \u6807\u7b7e\u5fc5\u987b\u5c0f\u5199<br>B) \u5c5e\u6027\u540d\u4e0d\u533a\u5206\u5927\u5c0f\u5199<br>C) <code>&lt;br&gt;<\/code> \u6807\u7b7e\u65e0\u9700\u95ed\u5408<br>D) \u65e0\u9700\u4f7f\u7528 <code>&lt;!DOCTYPE&gt;<\/code> \u58f0\u660e<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>XHTML \u4e2d\uff0c<code>&lt;img&gt;<\/code> \u6807\u7b7e\u7684\u6b63\u786e\u5199\u6cd5\u662f\u4ec0\u4e48\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;img src=\"image.jpg\"&gt;<\/code><br>B) <code>&lt;img src=\"image.jpg\" \/&gt;<\/code><br>C) <code>&lt;img src=\"image.jpg\"&gt;<\/code>\uff0c\u4e0d\u9700\u8981\u95ed\u5408<br>D) <code>&lt;img src=\"image.jpg\"&gt;&lt;\/img&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">4. <strong>\u4ee5\u4e0b\u54ea\u4e2a\u662f XHTML \u5fc5\u987b\u9075\u5faa\u7684\u89c4\u5219\uff1f<\/strong><\/h4>\n\n\n\n<p>A) \u6807\u7b7e\u540d\u79f0\u53ef\u4ee5\u5927\u5199<br>B) \u6240\u6709\u6807\u7b7e\u5fc5\u987b\u95ed\u5408<br>C) \u53ef\u4ee5\u7701\u7565\u7ed3\u675f\u6807\u7b7e<br>D) \u4e0d\u9700\u8981 <code>DOCTYPE<\/code> \u58f0\u660e<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">5. <strong>XHTML \u4e2d\u7684 <code>&lt;!DOCTYPE&gt;<\/code> \u58f0\u660e\u5e94\u4f7f\u7528\uff1a<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;!DOCTYPE HTML&gt;<\/code><br>B) <code>&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-strict.dtd\"&gt;<\/code><br>C) <code>&lt;!DOCTYPE XHTML PUBLIC \"-\/\/W3C\/\/DTD XHTML 2.0\/\/EN\"&gt;<\/code><br>D) <code>&lt;!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML5\/\/EN\"&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">6. <strong>\u5728 XHTML \u4e2d\uff0c\u54ea\u4e2a\u5c5e\u6027\u503c\u5fc5\u987b\u7528\u5f15\u53f7\u5305\u88f9\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>alt<\/code> \u5c5e\u6027<br>B) <code>src<\/code> \u5c5e\u6027<br>C) \u6240\u6709\u5c5e\u6027\u7684\u503c<br>D) <code>class<\/code> \u5c5e\u6027<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">7. <strong>XHTML \u4e2d\uff0c<code>&lt;input&gt;<\/code> \u6807\u7b7e\u5fc5\u987b\u5305\u542b\u54ea\u4e2a\u5c5e\u6027\u624d\u80fd\u6210\u4e3a\u81ea\u95ed\u5408\u6807\u7b7e\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>type<\/code><br>B) <code>src<\/code><br>C) <code>value<\/code><br>D) <code>checked<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">8. <strong>\u5728 XHTML \u4e2d\uff0c<code>&lt;link&gt;<\/code> \u548c <code>&lt;meta&gt;<\/code> \u6807\u7b7e\u5fc5\u987b\u653e\u7f6e\u5728\u54ea\u4e2a\u90e8\u5206\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;body&gt;<\/code><br>B) <code>&lt;html&gt;<\/code><br>C) <code>&lt;head&gt;<\/code><br>D) <code>&lt;footer&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">9. <strong>\u5728 XHTML \u4e2d\uff0c\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u6ce8\u91ca\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;!-- This is a comment --&gt;<\/code><br>B) <code>\/\/ This is a comment<\/code><br>C) <code>\/* This is a comment *\/<\/code><br>D) <code>\/* This is a comment *\/ &lt;!-- --&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">10. <strong>XHTML \u6587\u6863\u5fc5\u987b\u5305\u542b\u54ea\u4e2a\u5143\u7d20\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;html&gt;<\/code><br>B) <code>&lt;head&gt;<\/code><br>C) <code>&lt;body&gt;<\/code><br>D) \u6240\u6709\u4e0a\u8ff0\u5143\u7d20<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">11. <strong>XHTML \u4e2d\uff0c\u4ee5\u4e0b\u54ea\u79cd\u6807\u7b7e\u662f\u5fc5\u987b\u95ed\u5408\u7684\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;br&gt;<\/code><br>B) <code>&lt;hr&gt;<\/code><br>C) <code>&lt;img&gt;<\/code><br>D) <code>&lt;li&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">12. <strong>XHTML \u4e2d\uff0c<code>&lt;script&gt;<\/code> \u6807\u7b7e\u7684\u4f4d\u7f6e\u662f\uff1a<\/strong><\/h4>\n\n\n\n<p>A) \u53ef\u4ee5\u653e\u5728 <code>&lt;head&gt;<\/code> \u6216 <code>&lt;body&gt;<\/code> \u4e2d<br>B) \u5fc5\u987b\u653e\u5728 <code>&lt;body&gt;<\/code> \u4e2d<br>C) \u53ea\u80fd\u653e\u5728 <code>&lt;head&gt;<\/code> \u4e2d<br>D) \u5fc5\u987b\u653e\u5728 <code>&lt;footer&gt;<\/code> \u4e2d<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">13. <strong>XHTML \u4e2d\uff0c\u5982\u4f55\u5d4c\u5957\u6807\u7b7e\u7684\u987a\u5e8f\u662f\u6b63\u786e\u7684\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;h1&gt;&lt;p&gt;&lt;\/h1&gt;&lt;\/p&gt;<\/code><br>B) <code>&lt;p&gt;&lt;h1&gt;&lt;\/p&gt;&lt;\/h1&gt;<\/code><br>C) <code>&lt;h1&gt;&lt;p&gt;&lt;\/p&gt;&lt;\/h1&gt;<\/code><br>D) <code>&lt;h1&gt;&lt;p&gt;&lt;\/h1&gt;&lt;\/p&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">14. <strong>\u4ee5\u4e0b\u54ea\u79cd\u5199\u6cd5\u662f XHTML \u4e2d\u6b63\u786e\u7684\u8868\u5355\u6807\u7b7e\u8bed\u6cd5\uff1f<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;form action=\"submit.php\"&gt;<\/code><br>B) <code>&lt;form action=\"submit.php\" method=\"post\" \/&gt;<\/code><br>C) <code>&lt;form action=\"submit.php\" method=\"post\"&gt;<\/code><br>D) <code>&lt;form action=\"submit.php\" method=\"post\"&gt; &lt;\/form&gt;<\/code><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">15. <strong>XHTML \u4e2d\uff0c<code>&lt;ol&gt;<\/code> \u6807\u7b7e\u4e2d\u7684\u6bcf\u4e00\u9879\u5217\u8868\u5143\u7d20\u5fc5\u987b\u4f7f\u7528\uff1a<\/strong><\/h4>\n\n\n\n<p>A) <code>&lt;list&gt;<\/code><br>B) <code>&lt;item&gt;<\/code><br>C) <code>&lt;li&gt;<\/code><br>D) <code>&lt;p&gt;<\/code><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b54\u6848\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>B<\/strong> \u2014 XHTML \u662f\u4e25\u683c\u7684 XML \u8bed\u6cd5\uff0c\u8981\u6c42\u6240\u6709\u5143\u7d20\u5fc5\u987b\u95ed\u5408\u3002<\/li>\n\n\n\n<li><strong>A<\/strong> \u2014 XHTML \u6807\u7b7e\u540d\u5fc5\u987b\u5c0f\u5199\u3002<\/li>\n\n\n\n<li><strong>B<\/strong> \u2014 <code>&lt;img src=\"image.jpg\" \/><\/code>\uff0c\u5728 XHTML \u4e2d\uff0c\u5fc5\u987b\u4e3a\u81ea\u95ed\u5408\u6807\u7b7e\u6dfb\u52a0\u659c\u6760\u3002<\/li>\n\n\n\n<li><strong>B<\/strong> \u2014 \u6240\u6709\u6807\u7b7e\u5fc5\u987b\u95ed\u5408\u3002<\/li>\n\n\n\n<li><strong>B<\/strong> \u2014 XHTML \u4f7f\u7528 <code>&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Strict\/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-strict.dtd\"><\/code> \u4f5c\u4e3a\u58f0\u660e\u3002<\/li>\n\n\n\n<li><strong>C<\/strong> \u2014 \u6240\u6709\u5c5e\u6027\u7684\u503c\u5fc5\u987b\u7528\u5f15\u53f7\u5305\u88f9\u3002<\/li>\n\n\n\n<li><strong>A<\/strong> \u2014 <code>&lt;input><\/code> \u6807\u7b7e\u5fc5\u987b\u5305\u542b <code>type<\/code> \u5c5e\u6027\u624d\u80fd\u6210\u4e3a\u81ea\u95ed\u5408\u6807\u7b7e\u3002<\/li>\n\n\n\n<li><strong>C<\/strong> \u2014 <code>&lt;link><\/code> \u548c <code>&lt;meta><\/code> \u6807\u7b7e\u5fc5\u987b\u653e\u5728 <code>&lt;head><\/code> \u4e2d\u3002<\/li>\n\n\n\n<li><strong>A<\/strong> \u2014 XHTML \u6ce8\u91ca\u8bed\u6cd5\u662f <code>&lt;!-- This is a comment --><\/code>\u3002<\/li>\n\n\n\n<li><strong>D<\/strong> \u2014 XHTML \u6587\u6863\u5fc5\u987b\u5305\u542b <code>&lt;html><\/code>\u3001<code>&lt;head><\/code> \u548c <code>&lt;body><\/code> \u5143\u7d20\u3002<\/li>\n\n\n\n<li><strong>D<\/strong> \u2014 <code>&lt;li><\/code> \u662f\u5fc5\u987b\u95ed\u5408\u7684\u6807\u7b7e\u3002<\/li>\n\n\n\n<li><strong>A<\/strong> \u2014 <code>&lt;script><\/code> \u6807\u7b7e\u53ef\u4ee5\u653e\u5728 <code>&lt;head><\/code> \u6216 <code>&lt;body><\/code> \u4e2d\u3002<\/li>\n\n\n\n<li><strong>C<\/strong> \u2014 \u6b63\u786e\u7684\u6807\u7b7e\u5d4c\u5957\u987a\u5e8f\u662f <code>&lt;h1>&lt;p>&lt;\/p>&lt;\/h1><\/code>\u3002<\/li>\n\n\n\n<li><strong>C<\/strong> \u2014 <code>&lt;form action=\"submit.php\" method=\"post\"><\/code> \u662f\u6b63\u786e\u7684\u8868\u5355\u6807\u7b7e\u8bed\u6cd5\u3002<\/li>\n\n\n\n<li><strong>C<\/strong> \u2014 <code>&lt;ol><\/code> \u6807\u7b7e\u4e2d\u7684\u6bcf\u4e00\u9879\u5fc5\u987b\u4f7f\u7528 <code>&lt;li><\/code> \u6807\u7b7e\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u53cd\u9988\uff1a<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c\u4f60\u7b54\u5bf9\u4e86\u5927\u90e8\u5206\u95ee\u9898\uff0c\u90a3\u4e48\u4f60\u5bf9 XHTML \u7684\u57fa\u7840\u6709\u4e86\u8f83\u597d\u7684\u7406\u89e3\uff01\u5982\u679c\u6709\u4e9b\u5730\u65b9\u4e0d\u592a\u6e05\u695a\uff0c\u53ef\u4ee5\u56de\u987e\u76f8\u5173\u7684\u8bed\u6cd5\u89c4\u8303\u548c\u8981\u6c42\uff0c\u786e\u4fdd\u6bcf\u4e2a\u7ec6\u8282\u90fd\u638c\u63e1\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u9762\u662f\u9488\u5bf9 XHTML \u7684\u4e00\u4efd\u6d4b\u9a8c\uff0c\u5e2e\u52a9\u4f60\u68c0\u67e5\u5bf9 XHTML \u7684\u7406\u89e3\u7a0b\u5ea6\u3002\u5b83\u5c06\u6db5\u76d6 XHTML \u7684\u57fa\u7840\u77e5\u8bc6\u3001\u8bed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-1983","post","type-post","status-publish","format-standard","hentry","category-html"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=1983"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1983\/revisions"}],"predecessor-version":[{"id":1984,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1983\/revisions\/1984"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=1983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=1983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=1983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}