+ 6
What is the use of "div" in HTML ? How to use it ?
Can someone explain me this ? So that I will understand how to use it and in which case to use it. Sorry for me English.
3 Respostas
+ 13
The HTML <div> tag represents a generic section within an HTML document. ... The <div> element accepts "flow content", which refers to most elements that can appear inside a document's body. The <div> should only be used as a last resort when there isn't another suitable HTML element to use.
+ 7
Basically it can be used as a container for other objects, separating them from other objects. A div tag can have separate attributes too.