0
what is the meaning of the <div> element
4 Réponses
+ 3
<div> is a block element, fully customisable (resizing , changing colors, background, etc )
it is like a <p>
+ 1
<div> can be used to create a visual devide in <body>. You can within the <div> tag have a different color for example appart from the rest of the page.
+ 1
Short for *Division* A div (<div></div>) is a block level element in HTML code that is used as a container of sorts. Much like a cardbord box. Say you have 3 sections of content - Bedroom, bathroom and Garage - With each div you can change typefaces, size, colour, background and even how it behaves on the page by floating it. In this way it makes organization, targeting and overall presentation easier.
0
div is the division of a web page into block of particular size related to the content and the information mentioned.it is similar to the block in a table but of variable width and height and can be placed at any place