Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 22433 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > HTML 5 Interview Questions > What are the header (<head>) secti ...

What are the header (<head>) section changes in HTML5 ?

Interview question and answer by: Dhiren.Kaunar@Gmail.Com | Posted on: 5/7/2012 | Category: HTML 5 Interview questions | Views: 969 | | Points: 40


Answer:

Basically below are the two changes in HTML5 head section "

1) Removed "http-equiv="Content-Type" content="text/html; " attribute if the http-equiv="Content-Type" attributes form the META charset tag .

In Earlier version of HTML : charset meta tag is like given below
<meta http-equiv="Content-Type" content="text/html;  content="text/html; charset=utf-8" />


In HTML5
< meta charset="utf-8" />


2 ) No More Types for Scripts and Links

In Earlier version of HTML:

<link rel="stylesheet" href="~\stylesheet.css" type="text/css" />

< script type="text/javascript" src="~\script.js" />


In Html5 : No need to import type="text/css" in case of CSS and type="text/javascript" in JavaScript

< link rel="stylesheet" href="~\stylesheet.css" / >  

< script src="~\script.js" / >

Asked In: Interviews | Alert Moderator 
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Dhiren.Kaunar@Gmail.Com

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/20/2013 8:56:15 PM