日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

html5 支持表格吗,html5 – 在HTML 5中使用表格很好吗?

發布時間:2023/12/9 HTML 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 html5 支持表格吗,html5 – 在HTML 5中使用表格很好吗? 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

簡單規則 – 使用表格表格數據,使用其他元素進行演示(使用CSS設計布局),如div,section,aside,nav等。這為他們所持有的內容提供了意義,而不是為所有內容使用表

事實是,開發人員在90年代使用了表格來繪制他們的布局,但現在,新的CSS3規范是驚人的,它讓您如此堅持設計布局,如Flex Box,列數,框模型的行為可以通過使用盒子大小的屬性,響應式設計越來越好使用@media查詢,網格等。你不能用表格元素…實現,因此,表僅用于存儲表格數據。

我看到很多開發人員有一個印象,表格應該被完全忽視,而是他們使用了很多div與100行CSS,應用display:table; table-cell table-row屬性只是為了直接得到一個表。

所以即使在HTML5中,如果您使用表格表格數據,則完全可以。

Tables should not be used purely as a means to layout

document content as this may present problems when rendering to

non-visual media. Additionally,when used with graphics,these tables

may force users to scroll horizontally to view a table designed on a

system with a larger display. To minimize these problems,authors

should use 07001 to control layout rather than tables.

Tables should not be used as layout aids. Historically,many Web

authors have tables in HTML as a way to control their page layout

making it difficult to extract tabular data from such documents. In

particular,users of accessibility tools,like screen readers,are

likely to find it very difficult to navigate pages with tables used

for layout. If a table is to be used for layout it must be marked with

the attribute role="presentation" for a user agent to properly

represent the table to an assistive technology and to properly convey

the intent of the author to tools that wish to extract tabular data

from the document.

There are a variety of alternatives to using HTML tables for layout,primarily using CSS positioning and the CSS table model. 07003

總結

以上是生活随笔為你收集整理的html5 支持表格吗,html5 – 在HTML 5中使用表格很好吗?的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。