
Visualforce Page Requires HTML docType version 5.0 or higher Exception in Salesforce is thrown if an attribute in Visuforce tag is used and it requires html-5.0 or higher version as the Visualforce page docType. For example, type attribute in apex:inputField tag.
docType=”html-5.0″ should be added to the apex:page to avoid Visualforce Page Requires HTML docType version 5.0 or higher Exception in Salesforce.
Sample Code to fix the issue:
<apex:page docType="html-5.0">