As the name signifies, DIV element stands for "division," it works as a container of text, image, audio and video. It is most commonly used element. You can use any number of DIV elements without restrictions.
But with HTML 5, you should consider HEADER, ARTICLE, SECTION, MAIN, FOOTER, ASIDE and other elements -- instead of using DIV element everywhere.
DIV element works like the following example:
<div>
Your text, image, audio and video goes here.
</div>
Comments
Post a Comment