HTML Basic
HTML body tag (tag)
There must be one (and only one) <body> tag in the HTML page, and the <body> is followed by the closing tag of <head> :
<!DOCTYPE html>
<html>
<head>
.....
</head>
<body>
<h1>Hello world!</h1>
<p>body There will be unused tags to describe and structure the main content of the webpage</p>
</body>
</html>
The <body> tag is used as a container to present the main content of the web page. The <body> will contain HTML tags with different purposes and semantics to describe and structure the web content.
The <body> is mainly for the content that the user can see on the screen, and the <head> is for the content that the user can't see to the machine.
Post a Comment
0 Comments