<body> tag in HTML 5
In this article I am going to explain about <body> tag in HTML 5.
Definition
<body> tag contain all other elements and tags that are used to display text and pictures in your web page or web site. <body> tag is used to define the documents body. The <body> tag contains all the tags and elements of HTML document, such as text, hyperlinks, images, tables, lists, etc.
Browser Support by <body> tag
The <body> tag is supported in internet explorer, mozilla firefox, Google chrome, opera and safari browsers.
Lets take an example of <body> tag
<html>
<head>
<title>My first web page</title>
</head>
<body>
<h1>
Good Morning Friends
</h1>
<h2>
Welcome to MCN Solutions
Welcome to c-sharpcorner
Welcome to dotnetheaven
</h2>
</body>
</html>
|
Output
Further Readings
You may also want to read these related articles :
HTML 5 Articles
Body Tag Used to Define Content in Document in HTML5
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here