0

For what purpose <div> tag is used?

12th Jun 2017, 2:25 PM
Suresh kumar
Suresh kumar - avatar
2 Réponses
0
div tag is used as a section or container... u can nest other tags in it.
12th Jun 2017, 2:35 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
A div (division) tag is used to select an area in your webpage to modify with CSS or to get the ID of for use in JavaScript. Example HTML: <div id="form"> <input type="text"> <button><button> </div> CSS: div#form { background-color: red; } This would make the background red on any division with ID "form".
12th Jun 2017, 3:57 PM
Ajay Gonzalez
Ajay Gonzalez - avatar