what are the use of body tag in html code? give two examples written inside the body tag and why it is used? how it is different from front tag?
Answers
Answered by
2
Answer:
The body tag defines the document's body. It contains all the contents of an HTML document, such as text, hyperlinks, images etc. It is a container tag.
Example --------
<html>....
....<body>
I am learning html.
</body>
</html>
It is different from font tag as font tag is used to define the color, size and style of text in a web document.
While, body tag contains all contents of an html document.
Hope it helps
if so please mark as brainliest answer.
Similar questions