Harris Schneiderman edited this page Jun 9, 2017 · 1 revision

Links

Always use native anchors for links <a />

What is needed?

Links can be standalone links or links within paragraphs. In either case the "dqpl-link" class is needed.

NOTE: There is nothing different in the implementation for standalone links vs within paragraph ones...The context dictates how they will be styled - if the anchor is within a paragraph it will inherit the "within paragraph" styles.

Example HTML

<a class="dqpl-link" href="#">Standalone link</a>
<p>This is a paragraph with a<a class="dqpl-link" href="#">link</a>within it.</p>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.