+ Start a Discussion
Sree SalesforceSree Salesforce 

html files,css files how can i access to vf page

Hi , 

We can directly use HTML tags in Visualforce page under Apex main tags, 

The Syntax for CSS is below, where you have to save CSS in salesforce and give the path. 

<apex:stylesheet value="{!URLFOR($Resource.customCSS, 'customCSS.css')}"/>

In addition to Ashish,  those CSS, or JS files can be uploaded into static resources. Once they are available as a static resource, you can refer to them from Visualforce as Ashis shows.

Have a look at the documentation: https://www.salesforce.com/us/developer/docs/pages/Content/pages_resources.htm