HTML5 > Elements of HTML

Body in HTML5

How and where to write content in the HTML file?


The html file content should be written in between <body> tag. The content of the body tag can be plain text or any other html controls or element. 

CODE  
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>  
   <title></title>
 </head>
 <body>  
   This is Normal text.
 </body>
 </html> 

Above code shall display “This is Normal text.” in the browser. 

OUTPUT

 Views: 7713 | Post Order: 4



Write for us






Hosting Recommendations