I want to achieve a paragraph of text where some words are styled as <a>
tags with the native styling of the browser.
These words might really be in an <a>
tag with an href attribute to direct the user to another url, or they might be in a disguised <span>
tag with a js onclick function.
How do I get the native style attributes of <a>
tags and apply them to my <span>
tags?