Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
131 views
in Technique[技术] by (71.8m points)

What is the RTF syntax for a hyperlink?

HTML is to <a href="x">y</a> as RTF is to _______?

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The equivalent of the following HTML:

<a href="https://www.google.com">Google</a>

for an RTF file is:

{field{*fldinst HYPERLINK "http://www.google.com/"}{fldrslt Google}}

which results in a link:

Google

but without additional style information, will appear unformatted:

Google


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...