For example, if you have the following controller :
public class MyController{
public Account myAccount{get;set;}
public MyController(ApexPages.StandardController stdController){
myAccount = stdController.getRecord();
}
}
And you just want to display account name with the help text, add this code to your VF page
Your question implies that the HTML markup is being shown onscreen.
If that's the case, you can use the escape attribute on the outputText tag and VisualForce will not convert the values from the text into the HTML entities when rendering the markup.
Best Answer
Easier than using CSS, you can do it with Visualforce tags
For example, if you have the following controller :
And you just want to display account name with the help text, add this code to your VF page