Tag, you're it!

Each tag in Visualforce has its own unique set of attributes. Just like for Apex, there is a developer guide for Visualforce that lists all tags, their attributes, and the resulting HTML that they render. Visualforce Developer's Guide is available in the HTML and PDF formats at http://developer.force.com. The list of tags is too long to list here, and it gets updated three times a year with each major release. We recommend that you familiarize yourself with the entire list, but we'll cover some useful ones to get you started:

  • <apex:page>: This is the only tag that you must use on every Visualforce page. It allows you to specify the controller and extensions for the page. It also has attributes to control whether the standard header ...

Get Learning Apex Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.