How to increase the size of a link

Alon Grod
Tera Expert

Hi,

 

im using client script that will pop up error message with clickable link. How can i increase the font of the clickable link?

 

see attachment 

3 REPLIES 3

J Siva
Tera Sage

Hi @Alon Grod 
You can acheive that using <font> tag. PFB sample.

Client script:

   var msg = '<p>Please click the following link: <a href="https://www.google.com"><font size="5">Google</font></a></p>';

    g_form.addErrorMessage(msg);

Output:

JSiva_1-1745308010342.png

Regards,
Siva

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Alon Grod 

you can use font tag and give size there as per script shared by @J Siva 

Share your complete script here as well.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

swapnali ombale
Kilo Sage

Hi @Alon Grod 

 

Modify the a tag directly like below 

 

<a href="#" style="font-size: 20px;">This is a link</a>

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway.