0
爲什麼我不應該在h3內部嵌套h4元素?
爲什麼遵循w3c-recommendation很重要? 爲什麼我不應該在h3中嵌套h4元素?
爲什麼我不應該在h3內部嵌套h4元素?
爲什麼遵循w3c-recommendation很重要? 爲什麼我不應該在h3中嵌套h4元素?
爲什麼我不應該在h3中嵌套h4元素?
想想打印文檔:
h2, h3, h4 {
margin-bottom: 0;
}
h2 + p, h3 + p, h4 + p {
margin-top: 0;
}
<h2>4. I am the main heading of a section</h2>
<p>I am an introduction to the section and an overview of the main points that will be covered.</p>
<h3>5.3 I am a sub-section heading</h3>
<p>I am a sub-section. I cover points in detail.</p>
<h4>6.1.2 I am a heading of a sub-section within the sub-section</h4>
<p>I am a sub-section within a sub-section. I provide quite deep detail on a particular aspect of the topic under discussion.</p>
現在想想嵌套子子標題一樣6.1.2內部的子標題一樣5.3 。
考慮將前者嵌入後者中。
你能想象嗎?