8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
很多面试官会问:
谈谈你对 HTML5语义化标签的理解。
那么本篇博客可以对你理解HTML5语义化标签有所帮助。
语义元素清楚地向浏览器和开发者描述其意义。
非语义元素的例子:<div> 和 <span> - 无法提供关于其内容的信息。
<div>
<span>
语义元素的例子:<form>、<table> 以及 <img> 清晰地定义其内容。
<form>
<table>
<img>
HTML5提供了新的语义元素来定义网页的不同部分,它们被称为“切片元素”,如图所示
<main>
<nav>
HTML 标签列表(功能排序) | 菜鸟教程 https://www.runoob.com/tags/ref-byfunc.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
前言
很多面试官会问:
那么本篇博客可以对你理解HTML5语义化标签有所帮助。
一:什么是语义元素?
语义元素清楚地向浏览器和开发者描述其意义。
非语义元素的例子:
<div>
和<span>
- 无法提供关于其内容的信息。语义元素的例子:
<form>
、<table>
以及<img>
清晰地定义其内容。二:为什么要语义化?
三:常用的语义元素
HTML5提供了新的语义元素来定义网页的不同部分,它们被称为“切片元素”,如图所示

四:文档结构标签
<main>
定义文档的主体部分<nav>
定义导航链接五:参考
The text was updated successfully, but these errors were encountered: