Salesforce Platform Developer I (legacy) — Question 237

Which tag should a developer include when styling from external CSS is required in a Visualforce page?

Answer options

Correct answer: D

Explanation

The correct answer is D, apex:stylesheet, as it specifically links an external CSS file to the Visualforce page for styling purposes. Options A and B do not serve this purpose; apex:includeStyles is not a valid tag, and apex:includeScript is for JavaScript files. Option C, apex:require, is also not used for styling but rather for including required resources.