+ 1
Concerning <h1>, <div>?
Have been studying this,but finds it confusing.. Cause can't see difference when using <div></div> and without.
2 Antworten
+ 7
The <div> element is a block-level element that is often used as a container for other HTML elements
HTML includes six levels of headings, which are ranked according to importance.
These are <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.
+ 2
<h1></h1> styles the text inside the tags to be a header.
<div></div> is a container that groups HTML elements together.