Saturday, 2 May 2015

HTML 5:Omitting of HEAD tag

Metadata is basically data about data.Metadata will not be displayed on the page.Metadata is used to specify page description, keywords etc.Metadata is used by Browsers,search engines and web services.


In HTML <meta> Tag provides metadata of the HTML document.<meta> tag always go inside the <head> element.

Inside the <head> element following tags defines metadata:-
 <title>, <style>, <meta>, <link>, <script>, and <base>

CODE




RESULT



In HTML 5 standard <head> tag can also be omitted.By default, browsers will add all elements before <body>, to a default <head> element.



0 comments:

Post a Comment