How does <div> _____="______"</div> tag works? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How does <div> _____="______"</div> tag works?

18th Aug 2016, 7:50 PM
Ouassas Mohamed
Ouassas Mohamed - avatar
3 Answers
+ 1
<div></div> tag works like a box or a container for the content you want to put in it if you want to put and id o align attribute is made like this <div align='left'>some content</div>
18th Aug 2016, 11:02 PM
Manuel Ramirez
Manuel Ramirez - avatar
+ 1
align=''center" , right or left . . use it for positioning your text . . to left , right or center
19th Aug 2016, 1:15 PM
prince choudhary
prince choudhary - avatar
+ 1
<div align="right"></div>
19th Aug 2016, 6:20 PM
Xxxxxxxxx - avatar