Salesforce Global Variables on Visualforce pages $Resource


Example

Use the $Resource variable to reference static resources.

<img src="{!$Resource.myImage}" />

Can be used in conjunction with the URLFOR function to reference files inside of a zipped static resource:

<apex:includeScript value="{!URLFOR($Resource.myResources, 'js/app.js')}" />