[EN] HTML5新增了哪些语义化标签?

Solved By yujian991 2026-08-30 21:31 Views 3916
[EN] HTML5新增了哪些语义化标签?

Answer

Total 5 replies
Best Answer
WalterTic
WalterTic · 2026-07-25 08:31
HTML5新增:header、nav、main、article、section、aside、footer、figure等。
Nathansab
Nathansab · 2026-03-31 11:31
img{max-width:100%;height:auto;}或使用srcset和sizes属性。
yujian47
yujian47 · 2026-05-12 15:31
JSON.parse(JSON.stringify(obj))或structuredClone()或递归实现。
Nathansab
Nathansab · 2026-06-16 16:31
flex:1等于flex:1 1 0%,等分剩余空间。
yujian47
yujian47 · 2026-07-30 16:31
position:sticky在滚动到指定位置前是static,到达后变为fixed。需设置top。

Reply

forum_login_to_reply_hint

Login to Reply