+ 1

Concerning <h1>, <div>?

Have been studying this,but finds it confusing.. Cause can't see difference when using <div></div> and without.

27th Jun 2019, 11:32 AM
Tonny
Tonny - avatar
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>.
27th Jun 2019, 1:11 PM
JTLZ
+ 2
<h1></h1> styles the text inside the tags to be a header. <div></div> is a container that groups HTML elements together.
27th Jun 2019, 12:34 PM
Rincewind
Rincewind - avatar