0
How to use multiple div tags in HTML ?
3 Respuestas
+ 3
Use id attribute to each div
<div id="h"></div>
<div id="m"></div>
+ 1
If you want to nest them then you can also nest them like
<div>
<div>
<div>
Text
</div>
</div>
</div>
Or else write them simply
<div>text1</div>
<div>text2</div>
<div>text3</div>
0
Thanks 😊