function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SUMAN KUMARI 70SUMAN KUMARI 70 

How to add a text beneath my header in a vf page which includes hyperlink

Hi All, 

I have a requirement where I need to add a text beneath my header. It is a long text and it also includes few hyperlinks in it. 
Text should be left-justified, standard 'paragraph' text style. 
Following is the text that needs to be added :-

"This webpage displays reports submitted to the people. For other Reports, please visit respective webpage."

The word "respective" in the above page is a hyperlink which will redirect to a different vf page.

Please help me out with the code.

Thanks a lot in advance,
Suman
ShirishaShirisha (Salesforce Developers) 
Hi Suman,

Greetings!

You can try the below sample code to include the output text and outputlink(hyperlink) in your text.
 
<apex:page >
<apex:outputText value="This webpage displays reports submitted to the people. For other Reports, please visit "></apex:outputText>
               
    <apex:outputLink value="https://login,salesforce.com">respective</apex:outputLink>
    
    <apex:outputText value=" webpage."></apex:outputText>
  
</apex:page>

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri