Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the significance of <head> and <body> tag in HTML?



What is the significance of <head> and <body> tag in HTML?..

Answer / nashiinformaticssolutions

<head> tag provides the information about the document. It should always be enclosed in the <html> tag. This tag contains the metadata about the webpage and the tags which are enclosed by head tag like <link>, <meta>, <style>, <script>, etc. are not displayed on the web page. Also, there can be only 1 <head> tag in the entire Html document and will always be before the <body> tag.
<body> tag defines the body of the HTML document. It should always be enclosed in the <html> tag. All the contents which needs to be displayed on the web page like images, text, audio, video, contents, using elements like <p>, <img>, <audio>, <heading>, <video>, <div>, etc. will always be enclosed by the <body> tag. Also, there can be only 1 body element in an HTML document and will always be after the <head> tag.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

Explain <article> tag in html5?

0 Answers  


What is the use of XHTML Modularization?

1 Answers  


What is layer in html?

0 Answers  


Does safari support datalist?

0 Answers  


Does a hyperlink only apply to text?

0 Answers  


Are html tables obsolete?

0 Answers  


What is tr and td in html?

0 Answers  


What is the purpose of html?

0 Answers  


What is html partial?

0 Answers  


Is div a semantic tag?

0 Answers  


What is a Canvas? What is the default border size of a canvas?

0 Answers  


Why should I care if my document is in correct HTML? It displays all right on my browser.

1 Answers  


Categories