+ 1

Can anyone explain why we use header and footer??

Coz if I place footer above header in the code, output has footer data on top while header data below it.. please reply if anyone knows :ty<3

17th Dec 2019, 3:11 PM
Akshay Jain
Akshay Jain - avatar
2 odpowiedzi
+ 2
It's just for readability. You can mark up all your HTML with only divs and it will work just as good, but if you want your code to be understandable it's better to use things like article, header, footer, etc.
17th Dec 2019, 3:46 PM
Rick Sanchez
Rick Sanchez - avatar
+ 1
Rick Sanchez thanks : keep supporting :<3
17th Dec 2019, 3:49 PM
Akshay Jain
Akshay Jain - avatar