简体   繁体   中英

Turning HTML tag for anchor text into hyperlinks in gmail

The gmail email body contains html tag for hyperlinks which is eg

<a  href=" https://www.w3schools.com"> Visit W3Schools.com! </a>

but it does not turn into an anchor text with hyper link. Rather only the URL is hyperlinked.

How can I resolve this issue?

To do this: Visit W3Schools.com! .

Use this Html:

<a href="https://www.w3schools.com/">Visit W3Schools.com!</a>

The gmail editor has an option for linking text,if that is what you asked. Or you can do this in HTML

< a href="https://www.w3schools.com/"> Visit W3Schools! < /a >

This issue happens when the email body or part of your email body is compiled in an HTML escape mode. Either you are doing something wrong or just pushing the plain Text without compiling.

If the above doesn't help then try to share your code, library, etc you are using to achieve the task.

Is your message set up to use HTML or is it set for "plain text". If you are in plain text mode you anchor tags will not work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM