Activity › Forums › Salesforce® Discussions › How to declare Salesforce Visualforce Page as HTML5? Tagged: Apex Page, DocType, HTML5, Salesforce Visualforce Page Salesforce® Discussions How to declare Salesforce Visualforce Page as HTML5? Posted by Aman on September 22, 2018 at 5:00 PM How to declare Salesforce Visualforce Page as HTML5? Parul replied 7 years, 7 months ago 3 Members · 3 Replies Apex PageDocTypeHTML5Salesforce Visualforce Page 3 Replies shariq Member September 22, 2018 at 5:00 PM <apex:page docType=”html-5.0″ /> [adinserter block='9'] Parul Member September 22, 2018 at 5:55 PM 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″ /> Parul Member September 22, 2018 at 5:58 PM the declaration visualforce page as: <apex:page docType=”html-5.0″ /> Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me