+ 1

Div??

i remember seeing div in one of the lessons. is it neccesary or does it replace the article in Html5.what happens if you dont have it?

7th Jul 2017, 11:43 AM
_Legend27_
_Legend27_ - avatar
2 Answers
+ 1
firstly div was used as a container for different elements.. like for defining header, navigation, footer, blog posts or any kind of section.. we were using div tag to seperate each part in a different container.. but now we have seperate tags for each in html5 as header, nav,footer,article, section etc.. these tags helps the search engines to frame the content of your site for better search results.. but u can still use div for the same purpose.. since it has not yet been deprecated..
7th Jul 2017, 12:02 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
+ 1
thxs
7th Jul 2017, 12:03 PM
_Legend27_
_Legend27_ - avatar