+ 3

Body tag in html

<body> i thing we can write everything it want in a body tag </body> what about your idea guys ?

1st Apr 2018, 8:38 AM
Alireza Memarzade
Alireza Memarzade - avatar
2 Answers
+ 3
I don't quite understand your question. If you are asking whether you are correct in stating that you can put anything in the body tags then yes. However I would recommend putting samantic data in the head tags. The body tags are meant to contain the user interfaces's description.
1st Apr 2018, 8:45 AM
josh mizzi
josh mizzi - avatar
+ 2
Do you mean you want to create a post? If so create a div tag before the body , like this : <body> <div Id=“anytime “> <p> say what you want to write </p> </div> </body>
1st Apr 2018, 8:45 AM
klisco1