Visualforce - Adding page headers / adding meta tag headers

Visual force page will not support meta tags, after my research I have got the following solution which is working just fine for me.
<apex:page controller="apexController">
<!--BODY of the page -->
</apex:page>
public class apexController
{
public apexController()
{
Apexpages.currentPage().getHeaders().put('X-UA-Compatible', 'IE=edge');
}
}

Comments