what is the meaning of the <div> element | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

what is the meaning of the <div> element

25th Sep 2016, 8:01 AM
kxv57
kxv57 - avatar
4 ответов
+ 3
<div> is a block element, fully customisable (resizing , changing colors, background, etc ) it is like a <p>
25th Sep 2016, 3:12 PM
Nightwalker Yao 🇨🇮
Nightwalker Yao 🇨🇮 - avatar
+ 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.
25th Sep 2016, 10:32 AM
Cindy B
+ 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.
11th Oct 2016, 11:13 AM
Scott Brown
Scott Brown - avatar
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
13th Oct 2016, 1:36 AM
sreekar