Zend Framework headLink() helper and HTML5
- by Richard Knop
I have set doctype to HTML 5 like this:
$view->doctype('HTML5');
Then I have added a stylesheet like this:
$view->headLink()->appendStylesheet($view->baseUrl().'/css/reset.css');
It produces link tag like this:
<link href="/css/reset.css" media="screen" rel="stylesheet" type="text/css" >
But for HTML 5 this would be correct, no?
<link rel="stylesheet" href="/css/reset.css">
One more question. How to produce meta tag like this with headMeta() helper?
<meta charset="utf-8">