1、拖拽释放(Drag and drop) API 2、语义化更好的内容标签(header,nav,footer,aside,article,section) 3、音频、视频API(audio,video) 4、画布(Canvas) API 5、地理(Geolocation) API 6、本地离线存储 localStorage 长期存储数据,浏览器关闭后数据不丢失; 7、sessionStorage 的数据在浏览器关闭后自动删除 8、表...
The HTML table can be divided into three parts: a header, a body, and a footer. 1. Table Header We use the <thead> tag to add a table head. The <thead> tag must come before any other tags inside a table. For example, <table> <thead> <tr> <th>Head1</th> <th>Head2</th...
<section> <h2>The Document Outline</h2> <p>HTML5 includes several "sectioning content" elements that affect the document outline.</p> <h3>Headers</h3> <p>The <code><header></code> element is one such sectioning element. </p> <h3>Footers</h3> <p>And so is the <code><footer></...
<table>、<tr>和<td>是HTML表格最基本的3个标签,其他标题标签<caption>、表头单元格<th>可以没有,但是这3者必须要有。 说明: <table>和</table>标记着表格的开始和结束,<tr>和</tr>标记着行的开始和结束,在表格中包含几组<tr></tr>就表示该表格为几行。<td>和</td>标记着单元格的开始和结束。 (...
67. Header Element -头部元素 68. Nav Element -导航元素 69. Article Element -文章元素 70. Aside Element -侧边栏元素 71. Footer Element -页脚元素 72. Mark Element -标记元素 73. Progress Element -进度元素 74. Meter Element -计量元素 75. Canvas Element -画布元素 76. Audio Element -音频元素...
Examples of semantic elements: <form>, <table>, and <article> - Clearly defines its content.Semantic Elements in HTMLMany web sites contain HTML code like: <div id="nav"> <div class="header"> <div id="footer"> to indicate navigation, header, and footer....
Along with <thead> and <tbody> there is <tfoot> for wrapping table rows that indicate the footer of the table. Like <thead>, best for semantically indicating these are not data rows but ancillary information. Back before HTML5, the <tfoot> element was required to be after <thead> and ...
<colgroup> Specifies a group of one or more columns in a table for formatting <col> Specifies column properties for each column within a <colgroup> element <thead> Groups the header content in a table <tbody> Groups the body content in a table <tfoot> Groups the footer content in a tabl...
</table> 在浏览器中的显示效果如下图: 2. 表头和表尾 从结构上看,表格可以分成表头、主体和表尾三部分,在HTML语言中分别用thead、tbody、tfoot表示。 代码示例: <table> <thead> <tr>...header information... </thead> <tfoot> <tr>...footer information... ...
<footer> - Defines a footer for a document or a section <details> - Defines additional details <summary> - Defines a heading for the <details> element This example uses <header>, <nav>, <section>, and <footer> to create a multiple column layout: ...