Hi,I'm wondering about the ''p'' tags.Should I put it inside the ''body''tags or I can put randomly in the ''index.html.'' structure? I'm asking so because I've tested inside it and outside of the body tag and it seems that in both ways it worked properly.
You should always put
<p></p> tags in the
<body></body> tags. Same for other tags.
All the things that are in the
In the body we put the content that we want people to see when they visit our website. So it's best to put it between there, because you'll get problems when you try to use css.
I hope my explanation was a bit clear.
Your suppose to put it inbetween the body codes
Yes You are Right.You Can Put
<p> tag inside or outside the Body.Its Working Properly.
<html> <head></head> <body> <p>hello World!!!!!</p> </body> <p>Wellcome</p> </html>
Thanks,veryaliona.yes,it was super clear. I think that ,doing so,we are following the Style guides provided by World Wide Web Consortium (W3C) in order to decline the probability of misreading.
Hi,Divyesh Padamani.Thanks for you help. I guess that the WWWC recommends put inside the body just in case of any misreading by the browser or maybe it's just a standardisation for unknown reasons.
Paragraph tags must ALWAYS be placed inside the body tags, no matter what.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.