Home HTML HTML Body Elements

HTML Body Elements

12
0

HTML <body> tag is a main container for any web page or HTML document. The text between opening <body> tag and closing </body> tag is the visible page content.

HTML <body> tag is the most important and useful section to display web pages. It contains all major HTML elements to display text, images, lists, tables, links, forms, buttons, lables and many more for your web page.

HTML5 Body Tag Elements List

Below are the basic HTML Body Elements that can contains within <body> tag. Click on specific tag to get more details.

Tag Description
<a> Anchor tag that represents internal/external hyperlinks
<br> Breaks a single line
<div> Represents a division section inside web page
<form> Represents a HTML form for input data from user
<frame> Represents a frame or a window in a frameset
<hr /> Represents a horizontal rule line inside web page
<img> Represents a image inside web page
<p> Represents a paragraph text
<span> Represents a spanned text or section in a web page
<table> <table> tag defines the table for web page

 

Tip: You can see the complete List of HTML Elements here.

Sample Code

<html>
<head>
    <title>HTML Body Elements Example</title>
    <meta name="keywords" content="aspneto,html,css">
    <meta name="description" content="aspneto is a free web tutorials blog">
    <link rel="stylesheet" type="text/css" href="mystyle.css">
    <script type="text/javascript" src="myscript.js"></script>
</head>
<body>
    <div id="content-wrapper">
        <!-- Begin Body Part / Visible Page Content Area -->
        <p>
            Your body contents here to display text, images, lists, tables, links, forms, buttons etc
        </p>
        <div id="refresh">
            This is the example of div tag. <a href="/html-body-elements/">Click here</a> to refresh
        </div>
        <!-- End Body Part -->
    </div>
</body>
</html>

Sample Result

Your body contents here to display text, images, lists, tables, links, forms, buttons etc

This is the example of div tag. Click here to refresh
Previous articleWhat is CSS / CSS3?
Next articleHTML Head Elements
Hi there, I am Mayank, the man behind Technical Mack. I started AspnetO with a motive to educate people on various programming languages ranging from beginners to expert level. Through this blog, I aim to provide more insightful content.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

two + two =