Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.
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>

Clone this wiki locally