Q&A Categories

HTML5 Interview Questions and Answers

What are the header () section changes in HTML5 ?



Answer #1

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” / >

Agree With Answer Thumb up 0 Thumb down 0

Answers Answered By: Dheeraj [5 Grey Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »



Hot Interview Questions of HTML5

    no matches

Star Points Scale

Earn points for Posting and Commenting Papers!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]