0

Why is <div> tag is used

14th Dec 2022, 3:51 AM
Hemant Singh
Hemant Singh - avatar
3 Answers
+ 2
<div> is a block-level container and is used to make sections in the HTML document but it is less recommended now because it does not give any semantic meaning.
14th Dec 2022, 4:14 AM
Nabin Bhatt
Nabin Bhatt - avatar
+ 1
In advance designing we frequently use <div> , because its dont have any semantic meaning and we can use it freely, we use ids and classes inside it to design the particular div block .
14th Dec 2022, 12:49 PM
Affan Ali
Affan Ali - avatar
+ 1
Like other up there are saying, it don't have any semantic meaning but it's quite good when you use it with a combination of css program😁
14th Dec 2022, 6:13 PM
Aris Mene
Aris Mene - avatar