0

What is "div" in HTML

There is a lot of HTML codes using <div> but there is no lesson about it so I want to ask about -What is <div> -Attribute of <div> -Using of <div>

7th Sep 2018, 3:01 PM
Supakorn Nilsuwan
Supakorn Nilsuwan - avatar
4 Answers
+ 1
<div> tag has no formatting effect on its own it carries attribute of any tag given with in <div> tag
7th Sep 2018, 3:27 PM
Shadow
Shadow - avatar
+ 1
it means that if u just use <div> with out any attribute there will be no effect but if u want to make the text center u can use <div align="center"> b/c align is not a tag but just attribute
7th Sep 2018, 4:13 PM
Shadow
Shadow - avatar
+ 1
yes u can use most of attribute using it
7th Sep 2018, 4:13 PM
Shadow
Shadow - avatar
0
what does no formatting effect mean ? and you can get any attribute in the <div> tag ?
7th Sep 2018, 3:30 PM
Supakorn Nilsuwan
Supakorn Nilsuwan - avatar