找到关于 HTML 的2189 篇文章

在 HTML 中如何创建表格标题?

Krantik Chavan
更新于 2020-05-27 22:28:51

492 次浏览

在 HTML 中使用 `` 标签创建表格标题。`` 标签用于向表格添加标题。`thead` 标签与 `tbody` 标签和 `tfoot` 标签一起使用,以确定表格的每个部分(标题、页脚、正文)。`` 标签还支持以下附加属性:属性值描述alignrightleftcenterjustifychar已弃用 − 可见对齐方式。charcharacter已弃用 − 指定对齐文本的字符。当 align = "char" 时使用charoff像素或%已弃用 − 指定相对于使用 char 属性指定的第一个字符的对齐偏移量(以像素或百分比值表示)。当 align = "char" 时使用valigntopmiddlebottombaseline已弃用 − 垂直… 阅读更多

我们如何在 HTML 中添加文档标题?

varma
更新于 2020-03-02 12:28:36

243 次浏览

使用 `` 标签添加文档标题。HTML `<title>` 标签用于指示 HTML 文档的标题。正文标题位于 `<title>` 和 `` 标签之间。示例您可以尝试运行以下代码,了解如何在 HTML 中添加文档标题:        标题在这里              `` 标签用于指示 HTML 文档的标题。HTML 文档         标题通过浏览器的标题栏可见。   </p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/how-to-create-table-heading-in-html" target="_blank">如何在 HTML 中创建表格标题?</a> </h3> <div class="qa_category" id="tags_6804"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/V-Jyothi" title="V Jyothi"><img src="https://tutorialspoint.com/assets/profiles/13530/profile/60_77592-1512648869.jpg" alt="V Jyothi"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/V-Jyothi" title="V Jyothi">V Jyothi</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2020-03-02 12:20:32</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>607 次浏览</p> </div> <div class="clear"></div> <p>在 HTML 中使用 `<th>` 标签创建标题。HTML `<th>` 标签用于在表格中指定表头单元格或表格标题。以下是属性:属性值描述abbrabbreviated_text已弃用 − 指定表头单元格中内容的简写版本。alignrightleftcenterjustifychar已弃用 − 表头单元格中的内容对齐方式。axisName已弃用 − 为此 th 指定一个类别。bgcolorrgb(x, x, x)#hexcodecolorname已弃用 − 指定表头单元格的背景颜色。charCharacter已弃用 − 指定对齐文本的字符。当 align = "char" 时使用charoff像素或%已弃用 − 指定相对于使用 char 属性指定的第一个字符的对齐偏移量(以像素或百分比值表示)… <a href="https://tutorialspoint.com/how-to-create-table-heading-in-html"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-to-include-an-abbreviation-in-HTML" target="_blank">如何在 HTML 中包含缩写?</a> </h3> <div class="qa_category" id="tags_6803"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/Nishtha-Thakur" title="Nishtha Thakur"><img src="https://tutorialspoint.com/assets/profiles/13598/profile/60_104893-1512719058.jpg" alt="Nishtha Thakur"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/Nishtha-Thakur" title="Nishtha Thakur">Nishtha Thakur</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2020-03-02 12:18:45</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>157 次浏览</p> </div> <div class="clear"></div> <p>HTML `<abbr>` 标签用于指示缩写。您可以尝试运行以下代码,了解如何在 HTML 中包含缩写:示例        HTML `<abbr>` 标签                 pvt.             WHO       促进全球游戏。               </p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-to-include-an-acronym-in-HTML" target="_blank">如何在 HTML 中包含首字母缩略词?</a> </h3> <div class="qa_category" id="tags_6802"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma"><img src="https://tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg" alt="Yaswanth Varma"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma">Yaswanth Varma</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2022-12-15 14:30:22</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>225 次浏览</p> </div> <div class="clear"></div> <p>在这篇文章中,我们将学习如何在 HTML 中包含首字母缩略词。让我们逐一深入文章,以了解更多信息。在 HTML 中,首字母缩略词使用 `<acronym>` 标签定义。使用 `<abbr>` 标签拼写出额外的单词。它作为搜索引擎、翻译服务和浏览器的资源。注意 - 使用 `<abbr>` 标签,因为 HTML 5 不允许使用 `<acronym>` 标签。语法以下是首字母缩略词的语法。缩写形式考虑以下示例,以了解有关如何在 HTML 中包含首字母缩略词的更多信息… <a href="https://tutorialspoint.com/How-to-include-an-acronym-in-HTML"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-do-we-include-an-anchor-in-HTML" target="_blank">我们如何在 HTML 中包含锚点?</a> </h3> <div class="qa_category" id="tags_6801"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma"><img src="https://tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg" alt="Yaswanth Varma"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma">Yaswanth Varma</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2022-12-15 14:29:24</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>402 次浏览</p> </div> <div class="clear"></div> <p>在这篇文章中,我们将执行如何在 HTML 中包含锚点的任务。让我们深入文章,了解有关 HTML 中锚点的更多信息。锚元素用于将源锚点链接到目标锚点。目标是源锚点连接到的资源,而源是指向另一个站点的文本、图片或按钮。超链接是使互联网成为信息高速公路的关键技术之一。为了更好地理解如何在 HTML 中包含锚点,让我们来看一下… <a href="https://tutorialspoint.com/How-do-we-include-an-anchor-in-HTML"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="google_content_ads"> <div style="text-align: center;"> <div id="ezoic-pub-ad-placeholder-134"></div> <script> ezstandalone.cmd.push(function() { ezstandalone.showAds(134); }); </script> </div> </div> </div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-to-create-table-footer-in-HTML" target="_blank">如何在 HTML 中创建表格页脚?</a> </h3> <div class="qa_category" id="tags_6800"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma"><img src="https://tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg" alt="Yaswanth Varma"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma">Yaswanth Varma</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2022-12-15 14:26:35</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>2K+ 次浏览</p> </div> <div class="clear"></div> <p>我们将在本文中执行的任务是在 HTML 中创建表格页脚。由于我们熟悉 HTML 中的表格,让我们快速浏览一下它。当您想要组织看起来最像电子表格的数据时,HTML 中的表格很有意义。表格是数据的行和列的可视化表示。您可以使用表格在 HTML 中将照片、文本、链接等数据组织到行和列单元格中。HTML 表格页脚在 HTML 表格中,`<tfoot>` 标签指定一组… <a href="https://tutorialspoint.com/How-to-create-table-footer-in-HTML"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-do-we-display-a-text-area-in-HTML" target="_blank">我们如何在 HTML 中显示文本区域?</a> </h3> <div class="qa_category" id="tags_6799"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma"><img src="https://tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg" alt="Yaswanth Varma"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma">Yaswanth Varma</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2022-12-15 14:23:07</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>3K+ 次浏览</p> </div> <div class="clear"></div> <p>我们将在本文中执行的任务是如何在 HTML 中显示文本区域。让我们深入文章,以清楚地了解我们如何显示文本区域。HTML `textarea` 标签定义了多行纯文本编辑控件。文本以设置宽度的字体显示,因为文本区域可以承载无限数量的字符(通常是 Courier)。在表单中,`textarea` 通常用于收集用户的输入,例如评论或评论。提交表单后,表单数据中的引用将需要 name 属性。让我们看看… <a href="https://tutorialspoint.com/How-do-we-display-a-text-area-in-HTML"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-do-we-display-a-table-cell-in-HTML" target="_blank">我们如何在 HTML 中显示表格单元格?</a> </h3> <div class="qa_category" id="tags_6798"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma"><img src="https://tutorialspoint.com/assets/profiles/511236/profile/60_1602256-1662106429.jpg" alt="Yaswanth Varma"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/yaswanth-verma" title="Yaswanth Varma">Yaswanth Varma</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2022-12-15 14:21:27</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>483 次浏览</p> </div> <div class="clear"></div> <p>在这篇文章中,我们将学习如何在 HTML 中显示表格单元格。在深入文章之前,让我们看一下 HTML 表格。当您想要组织看起来最像电子表格的数据时,HTML 中的表格很有意义。表格是数据的行和列的可视化表示。您可以使用表格在 HTML 中将照片、文本、链接等数据组织到行和列单元格中。HTML 表格单元格表格单元格可以跨越多列和多行,并且包含… <a href="https://tutorialspoint.com/How-do-we-display-a-table-cell-in-HTML"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="question_section"> <div class="qa_widget"> <div class="qa_post qa_list"> <h3> <a href="https://tutorialspoint.com/How-to-display-a-summary-for-a-given-details-in-HTML5" target="_blank">如何在 HTML5 中为给定的 `<details>` 显示摘要?</a> </h3> <div class="qa_category" id="tags_6797"> <a href="https://tutorialspoint.com/articles/category/HTML" target="_blank"><span>HTML</span></a><a href="https://tutorialspoint.com/articles/category/Web-Development" target="_blank"><span>Web 开发</span></a><a href="https://tutorialspoint.com/articles/category/Front-End-Technology" target="_blank"><span>前端技术</span></a></div> </div> <div class="qa_answer_widget"> <a href="https://tutorialspoint.com/authors/bhanu-priya" title="Bhanu Priya"><img src="https://tutorialspoint.com/assets/profiles/314653/profile/60_78287-1615027882.jpg" alt="Bhanu Priya"></a> <div class="qa_answer_detail"> <a href="https://tutorialspoint.com/authors/bhanu-priya" title="Bhanu Priya">Bhanu Priya</a> </div> <div class="flex-group"> <div class="qa_answer_dtm">更新于 2023-10-10 16:40:15</div> <p class="views-count" title="Article Views"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><path d="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"></path></svg>215 次浏览</p> </div> <div class="clear"></div> <p>要为 `<details>` 标签显示可见标题,我们使用 `<summary>` 标签。要隐藏或查看详细信息,请单击标题。`<details>` 标签的第一个子元素是 `<summary>` 元素。语法以下是 `<summary>` 元素的用法:文本…`<summary>` 标签支持 HTML 中的全局和事件属性。示例以下示例尝试在 HTML5 中为给定的 `<details>` 显示摘要:`<summary>` 元素调查结果… <a href="https://tutorialspoint.com/How-to-display-a-summary-for-a-given-details-in-HTML5"><span class="read_more">阅读更多 <i class="fal fa-long-arrow-right"></i></span></a></p> </div> </div> </div> <div class="clear"></div> <div class="job-index qa_widget" style="padding:0px 10px 0px 10px!important; margin:0px!important;"> <div class="pages"> <a href="https://tutorialspoint.com/articles/category/HTML/176" title="上一页"><i class="fal fa-angle-left"></i> 上一页</a> <a class="number" title="跳转到第 1 页,共 219 页" href="https://tutorialspoint.com/articles/category/HTML/1">1</a> ... <a class="number" title="跳转到第 175 页,共 219 页" href="https://tutorialspoint.com/articles/category/HTML/175">175</a> <a class="number" title="跳转到第 176 页,共 219 页" href="https://tutorialspoint.com/articles/category/HTML/176">176</a> <a title="跳转到第 177 页,共 219 页" class="current number" href="https://tutorialspoint.com/articles/category/HTML/177">177</a> <a class="number" title="跳转到第 178 页,共 219 页" href="https://tutorialspoint.com/articles/category/HTML/178">178</a> <a class="number" title="跳转到第 179 页,共 219 页" href="https://tutorialspoint.com/articles/category/HTML/179">179</a> ... <a class="number" title="跳转到第 219 页,共 219 页" href="https://tutorialspoint.com/articles/category/HTML/219">219</a> <a href="https://tutorialspoint.com/articles/category/HTML/178" title="下一页">下一页 <i class="fal fa-angle-right"></i></a></div> </div> <div class="clear py-2"></div> <div class="bottom-library-ads mt" style="margin:5px;"> <div class="google-bottom-ads" id="google-bottom-ads" style="height:450px;"> <div>广告</div> <div> <div id="ezoic-pub-ad-placeholder-131"></div> <div id="ezoic-pub-ad-placeholder-135"></div> <script> ezstandalone.cmd.push(function() { var width = window.innerWidth; if( width <= 768 ){ ezstandalone.showAds(135); document.getElementById("ezoic-pub-ad-placeholder-131").remove(); document.getElementById("google-right-ads").remove(); }else{ ezstandalone.showAds(131); document.getElementById("ezoic-pub-ad-placeholder-135").remove(); } }); </script> </div> </div> </div> </div> <div> <div class="data-sticky" id="google-right-ads"> <div class="google-right-ad" style="margin: 0px auto !important;margin-top:5px;min-height:280px!important"> <div id="ezoic-pub-ad-placeholder-127"></div> <script> ezstandalone.cmd.push(function() { ezstandalone.showAds(127); }); </script> </div> <div class="google-right-ad" style="margin-top:16px;min-height:280px!important"> <div id="ezoic-pub-ad-placeholder-128"></div> <script> ezstandalone.cmd.push(function() { ezstandalone.showAds(128); }); </script> </div> <div class="google-right-ad" style="margin-top:16px;margin-bottom:15px;min-height:600px!important"> <div id="ezoic-pub-ad-placeholder-129"></div> <script> ezstandalone.cmd.push(function() { ezstandalone.showAds(129); }); </script> </div> </div> </div> </div> </div> </main> <footer class="footer bg-neutral-800"> <div class="container"> <div> <h5>TOP TUTORIALS</h5> <ul> <li><a href="/python/index.htm" title="Python Tutorial">Python Tutorial</a></li> <li><a href="/java/index.htm" title="Java Tutorial">Java Tutorial</a></li> <li><a href="/cplusplus/index.htm" title="C++ Tutorial">C++ Tutorial</a></li> <li><a href="/cprogramming/index.htm" title="C Programming Tutorial">C Programming Tutorial</a></li> <li><a href="/csharp/index.htm" title="C# Tutorial">C# Tutorial</a></li> <li><a href="/php/index.htm" title="PHP Tutorial">PHP Tutorial</a></li> <li><a href="/r/index.htm" title="R Tutorial">R Tutorial</a></li> <li><a href="/html/index.htm" title="HTML Tutorial">HTML Tutorial</a></li> <li><a href="/css/index.htm" title="CSS Tutorial">CSS Tutorial</a></li> <li><a href="/javascript/index.htm" title="JavaScript Tutorial">JavaScript Tutorial</a></li> <li><a href="/sql/index.htm" title="SQL Tutorial">SQL Tutorial</a></li> </ul> </div> <div> <h5>TRENDING TECHNOLOGIES</h5> <ul> <li><a href="/cloud_computing/index.htm" title="Cloud Computing Tutorial">Cloud Computing Tutorial</a></li> <li><a href="/amazon_web_services/index.htm" title="Amazon Web Services Tutorial">Amazon Web Services Tutorial</a></li> <li><a href="/microsoft_azure/index.htm" title="Microsoft Azure Tutorial">Microsoft Azure Tutorial</a></li> <li><a href="/git/index.htm" title="Git Tutorial">Git Tutorial</a></li> <li> <a href="/ethical_hacking/index.htm" title="Ethical Hacking Tutorial">Ethical Hacking Tutorial</a></li> <li><a href="/docker/index.htm" title="Docker Tutorial">Docker Tutorial</a></li> <li><a href="/kubernetes/index.htm" title="Kubernetes Tutorial">Kubernetes Tutorial</a></li> <li><a href="/data_structures_algorithms/index.htm" title="DSA Tutorial">DSA Tutorial</a></li> <li><a href="/spring_boot/index.htm" title="Spring Boot Tutorial">Spring Boot Tutorial</a></li> <li><a href="/sdlc/index.htm" title="SDLC Tutorial">SDLC Tutorial</a></li> <li><a href="/unix/index.htm" title="Unix Tutorial">Unix Tutorial</a></li> </ul> </div> <div> <h5>CERTIFICATIONS</h5> <ul> <li><a href="/certification/business-analytics-certification-2023/index.asp" title="Business Analytics Certification">Business Analytics Certification</a></li> <li><a href="/certification/java-prime-pack/index.asp" title="Java & Spring Boot Advanced Certification">Java & Spring Boot Advanced Certification</a></li> <li><a href="/certification/data-science-advanced-certification/index.asp" title="Data Science Advanced Certification">Data Science Advanced Certification</a></li> <li><a href="/certification/cloud-computing-and-devops-advanced-certification/index.asp" title="Cloud Computing And DevOps">Cloud Computing And DevOps</a></li> <li><a href="/certification/advanced-certification-in-business-analytics/index.asp" title="Advanced Certification In Business Analytics">Advanced Certification In Business Analytics</a></li> <li><a href="/certification/artificial-intelligence-and-machine-learning-certification/index.asp" title="Artificial Intelligence And Machine Learning">Artificial Intelligence And Machine Learning</a></li> <li><a href="/certification/devops-certification/index.asp" title="DevOps Certification">DevOps Certification</a></li> <li><a href="/certification/game-development-prime-pack/index.asp" title="Game Development Certification">Game Development Certification</a></li> <li><a href="/certification/frontend-developer-certification/index.asp" title="Front-End Developer Certification">Front-End Developer Certification</a></li> <li><a href="/certification/aws-prime-pack/index.asp" title="AWS Certification Training">AWS Certification Training</a></li> <li><a href="/certification/complete-python-prime-pack/index.asp" title="Python Programming Certification">Python Programming Certification</a></li> </ul> </div> <div> <h5>COMPILERS & EDITORS</h5> <ul> <li><a href="/online_java_compiler.php" title="Online Java Compiler">Online Java Compiler</a></li> <li><a href="/online_python_compiler.php" title="Online Python Compiler">Online Python Compiler</a></li> <li><a href="/execute_golang_online.php" title="Online Go Compiler">Online Go Compiler</a></li> <li><a href="/compile_c_online.php" title="Online C Compiler">Online C Compiler</a></li> <li><a href="/compile_cpp_online.php" title="Online C++ Compiler">Online C++ Compiler</a></li> <li><a href="/online_csharp_compiler.php" title="Online C# Compiler">Online C# Compiler</a></li> <li><a href="/execute_php_online.php" title="Online PHP Compiler">Online PHP Compiler</a></li> <li><a href="/execute_matlab_online.php" title="Online MATLAB Compiler">Online MATLAB Compiler</a></li> <li><a href="/execute_bash_online.php" title="Online Bash Compiler">Online Bash Compiler</a></li> <li><a href="/execute_sql_online.php" title="Online SQL Compiler">Online SQL Compiler</a></li> <li><a href="/online_html_editor.php" title="Online Html Editor">Online Html Editor</a></li> </ul> </div> </div> <ul class="footer__list container"> <li><a href="/about/index.htm" title="ABOUT US">ABOUT US</a> | </li> <li><a href="/about/about_team.htm" title="OUR TEAM">OUR TEAM</a> | </li> <li><a href="/about/about_careers.htm" title="CAREERS">CAREERS</a> | </li> <li><a href="/job_search.php" title="JOBS">JOBS</a> | </li> <li><a href="/about/contact_us.htm" title="CONTACT US">CONTACT US</a> | </li> <li><a href="/about/about_terms_of_use.htm" title="TERMS OF USE">TERMS OF USE</a> | </li> <li><a href="/about/about_privacy.htm" title="PRIVACY POLICY">PRIVACY POLICY</a> | </li> <li><a href="/about/return_refund_policy.htm" title="REFUND POLICY">REFUND POLICY</a> | </li> <li><a href="/about/about_cookies.htm" title="COOKIES POLICY">COOKIES POLICY</a> | </li> <li><a href="/about/faq.htm" title="FAQ'S">FAQ'S</a></li> </ul> <div class="footer__socials container"> <img class="footer__logo" src="https://tutorialspoint.com/static/images/logo-footer.svg" alt="tutorials point logo"> <div> <a rel="nofollow" target="_blank" href="https://127.0.0.1/tutorialspointindia" title="Follow us on Facebook"><i class="fab fa-2x fa-facebook"></i></a> <a target="_blank" href="https://twitter.com/tutorialspoint" rel="nofollow" title="Follow us on Twitter"><i class="fab fa-2x fa-x-twitter"></i></a> <a target="_blank" href="https://www.youtube.com/channel/UCVLbzhxVTiTLiVKeGV7WEBg" rel="nofollow" title="Follow us on Youtube"><i class="fab fa-2x fa-youtube"></i></a> <a target="_blank" href="https://www.linkedin.com/company/tutorialspoint/" rel="nofollow" title="Follow us on LinkedIn"><i class="fab fa-2x fa-linkedin"></i></a> <a target="_blank" href="https://www.instagram.com/tutorialspoint_/" rel="nofollow" title="Follow us on Instagram"><i class="fab fa-2x fa-instagram"></i></a> </div> <div class="flex-group"> <button class="button-reset"><a href="https://play.google.com/store/apps/details?id=com.tutorialspoint.onlineviewer" target="_blank" title="Download Android App" rel="nofollow"><img src="https://tutorialspoint.com/static/images/googleplay.svg" alt="Download Android App"></a></button> <button class="button-reset"><a href="https://itunes.apple.com/us/app/tutorials-point/id914891263?ls=1&mt=8" target="_blank" title="Download IOS App" rel="nofollow"><img src="https://tutorialspoint.com/static/images/appstore.svg" alt="Download IOS App"></a></button> </div> </div> <div class="footer__legal-wrapper"> <div class="footer__legal ff-nunito"> <p> </p><p class="">Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical and non-technical subjects.</p> <p></p> <p class="footer__copyright ">© Copyright 2024. All Rights Reserved.</p> </div> </div> </footer> <script src="/static/js/lib-script.js?v13.11"></script> <script src="https://127.0.0.1/gsi/client" async="" defer=""></script> <script> function addParagraphs(ind) { let techLinks =[["Python","JavaScript","Spring Boot","Java","Linux/Unix","C#","Data Science","MySQL","Artificial Intelligence","SQL"], ["https://tutorialspoint.com/certification/complete-python-prime-pack/index.asp?utm_source=tutorialspoint&utm_medium=python_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/javascript-prime-pack/index.asp?utm_source=tutorialspoint&utm_medium=javascript_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/ultimate-guide-to-java-and-spring-boot-for-2022/index.asp?utm_source=tutorialspoint&utm_medium=java_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/ultimate-guide-to-java-and-spring-boot-for-2022/index.asp?utm_source=tutorialspoint&utm_medium=spring_boot_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/linux-system-administrator-certification/index.asp?utm_source=tutorialspoint&utm_medium=unix_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/chash-and-net-prime-pack/index.asp?utm_source=tutorialspoint&utm_medium=csharp_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/data-science-prime-pack/index.asp?utm_source=tutorialspoint&utm_medium=data_science_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/mysql-technologies-pack/index.asp?utm_source=tutorialspoint&utm_medium=mysql_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/artificial-intelligence-and-machine-learning-certification/index.asp?utm_source=tutorialspoint&utm_medium=artificial_intelligence_tutorial_3p&utm_campaign=internal", "https://tutorialspoint.com/certification/mysql-technologies-pack/index.asp?utm_source=tutorialspoint&utm_medium=sql_tutorial_3p&utm_campaign=internal"]] var p2 = ''; if(ind>=0){ p2 = p2 + '<a style="text-decoration:none;" href="' + techLinks[1][ind] +'" target="_blank" ><p class="prmt_ad">Learn <strong>'+ techLinks[0][ind] + '</strong> in-depth with real-world projects through our <strong>' + techLinks[0][ind] + ' certification course</strong>. Enroll and become a certified expert to boost your career.</p></a>'; } else{ p2 = p2 + '<a href="https://tutorialspoint.com/latest/courses?utm_source=tutorialspoint&utm_medium=tutorials_3p&utm_campaign=internal" style="text-decoration:none;" target="_blank"><p class="prmt_ad">Explore our <strong>latest online courses</strong> and learn new skills at your own pace. Enroll and become a certified expert to boost your career.</p></a>'; } $(p2).insertBefore($('.tutorial-content h2').eq(2)); } $(document).ready(function() { var url= window.location.href.toLowerCase(); if(url.indexOf('python') > -1){ addParagraphs(0); } else if(url.indexOf('javascript') > -1){ addParagraphs(1); } else if(url.indexOf('spring_boot') > -1){ addParagraphs(2); } else if(url.indexOf('java') > -1){ addParagraphs(3); } else if((url.indexOf('unix') > -1)||(url.indexOf('linux') > -1)){ addParagraphs(4); } else if((url.indexOf('csharp') > -1)||(url.indexOf('chash') > -1)){ addParagraphs(5); } else if(url.indexOf('data_science') > -1){ addParagraphs(6); } else if(url.indexOf('mysql') > -1){ addParagraphs(7); } else if((url.indexOf('artificial_intelligence') > -1)||(url.indexOf('artificial-intelligence') > -1)){ addParagraphs(8); } else if(url.indexOf('sql') > -1){ addParagraphs(9); } else{ addParagraphs(-1); } }); </script> <script> if(getCookie('user_id') == '' || getCookie('user_id') == null){ window.onload = function() { initializeGoogleOneTap(); }; } </script> <script src="https://tutorialspoint.com/fontawesome/js/all.min.js?v2.9"></script> <script src="https://127.0.0.1/cmp.min.js" data-cfasync="false"></script> <script async="" src="/static/js/ezoic-ad-inserter.js?v4.2"></script> <!-- Google tag (gtag.js) --> <script async="" src="https://127.0.0.1/gtag/js?id=G-E4SW76VCNP"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-E4SW76VCNP'); </script> <!-- New Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window,document,'script', 'https://127.0.0.1/en_US/fbevents.js'); fbq('init', '854536859149047'); fbq('track', 'PageView'); </script> <!-- End facebook Pixel Code --> <footer style="margin: 2em 2em 4em; font-size: small; text-align: center;"> © <script>document.write(new Date().getFullYear() + ' ' + location.host)</script>. All rights reserved. </footer></body></html>