HTML | Wordpress | pre tag not working

Author - Webner

When pre tag is used in WordPress to include code which contains tags like apex, pre does not work.

For Example:

<apex:page standardController="Event">

The above code displays empty screen when used in the pre tag.

Solution: Replace < with &lt; and > with &gt; when you use it in pre tag.

<apex:page standardController="Event">

After making this change, tag works well.

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published.