What is the meaning of <div> tag in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is the meaning of <div> tag in html

help

13th Jun 2017, 4:10 PM
Ekuspreet Singh
4 Answers
+ 1
div is a block level element it's a container for all other block and inline element. Example 1 <div> <p>this is a paragraph</p> </div> >>there is div is a block element which contain another block element. Example 2 <div> <img src="image.png"/> </div> >>there is div is a block element which contain a inline element.
13th Jun 2017, 4:19 PM
Rajeev Jain
Rajeev Jain - avatar
+ 1
<div> ek block level element h jo or doosre block element or inline element ke liye ek container ka kaam krta hai
13th Jun 2017, 4:25 PM
Rajeev Jain
Rajeev Jain - avatar
0
please in hindi or other language elaboration
13th Jun 2017, 4:21 PM
Ekuspreet Singh
0
division
15th Jun 2017, 12:20 PM
NorHafiz Zulkiflee
NorHafiz Zulkiflee - avatar