DOCTYPE in Visualforce page

How to change the Document Mode in Internet Explorer to Standards value by using visual force page coding ?
I need it to display the page correctly in IE.


There is a docType attribute in <apex:page> component you can set that to html-5.0

For Example

 <apex:page docType="html-5.0" />

Source : Link , Question Author : user1087 , Answer Author : Avidev9

Leave a Comment