+ 1

Pls where do I have to place a header and a footer in an html documents?

header and footer

17th Mar 2017, 6:08 AM
Boadics Lilrudebwoy
Boadics Lilrudebwoy - avatar
10 odpowiedzi
+ 7
No you cannot use <section> in place of body, instead you use <section> inside <body> which specify a section inside body.
17th Mar 2017, 6:31 AM
Sachin Artani
Sachin Artani - avatar
+ 6
Wherever you want! They are semantic elements introduced in HTML5. They are used to represent the sections of document. But it doesn't mean that header will only be placed at top of html and footer at it's bottom. You can place any of them at any place of your HTML document.
17th Mar 2017, 6:18 AM
Sachin Artani
Sachin Artani - avatar
+ 6
Yeah sure you can place it on the top of body tag. Actually these tags just represent the section but nothing happens to the content when you use <header>, <footer>, <section>, <aside> etc tags.
17th Mar 2017, 6:23 AM
Sachin Artani
Sachin Artani - avatar
+ 6
fb.com/sachin.artani
17th Mar 2017, 6:25 AM
Sachin Artani
Sachin Artani - avatar
+ 6
hehe no issue, disturb me when you want ☺
17th Mar 2017, 6:34 AM
Sachin Artani
Sachin Artani - avatar
+ 1
can I have ur address so that I can ask u something when am stuck
17th Mar 2017, 6:24 AM
Boadics Lilrudebwoy
Boadics Lilrudebwoy - avatar
+ 1
can I also use the section tag in place of the body tag?
17th Mar 2017, 6:27 AM
Boadics Lilrudebwoy
Boadics Lilrudebwoy - avatar
+ 1
ok bro thank you very much I would love to ask you more but I feel like am bothering you so pls later
17th Mar 2017, 6:33 AM
Boadics Lilrudebwoy
Boadics Lilrudebwoy - avatar
0
Pls can I put it on top of the body tag
17th Mar 2017, 6:21 AM
Boadics Lilrudebwoy
Boadics Lilrudebwoy - avatar
0
Oh ok thank you bro
17th Mar 2017, 6:24 AM
Boadics Lilrudebwoy
Boadics Lilrudebwoy - avatar