Activity Forums Salesforce® Discussions How to use Output Text In Visualforce page in Salesforce?

  • Anuj

    Member
    January 23, 2020 at 10:56 am

    Hi Aditya,

    Apex:output Text is a Tag of Visualforce Page which is used to display the records in Page

  • Pooja

    Member
    January 23, 2020 at 11:02 am

    We can use output text in Visualforce page like that-

    <apex :outputText value = " Text " id="theText"></apex :outputText>

    It is a simple example of output text.

  • Ratnesh

    Member
    January 23, 2020 at 11:57 am

    It is mainly useful to display thr records. You can customize the appearance using CSS styles, in which case the generated text is wrapped in an HTML <span> tag.

    It is useful for customization rather than using pageblock tab for CSS and JS.

    Its Syntax is:-

    <apex :outputText value = ” blah..blah..blah ” id=”theText”></apex :outputText>

     

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…