Create Link: Difference between revisions

Jump to navigation Jump to search
226 bytes added ,  21 August 2018
→‎HTML syntax: + noopener for new window
(→‎HTML syntax: + noopener for new window)
Line 66: Line 66:
<pre>
<pre>
  (default settings) <a href="%url%">%text%</a>
  (default settings) <a href="%url%">%text%</a>
  (open link in the new window or tab)  <a href="%url%" title="%text%" target="_blank" rel="nofollow">%text%</a>
  (open link in the new window or tab)  <a href="%url%" title="%text%" target="_blank" rel="nofollow noopener">%text%</a>
  (open link in the same window or tab) <a href="%url%" title="%text%" rel="nofollow">%text%</a>
  (open link in the same window or tab) <a href="%url%" title="%text%" rel="nofollow">%text%</a>
</pre>  
</pre>  
Line 73: Line 73:
<pre>
<pre>
  (default settings) <a href="%url%">%htmlEscapedText%</a>
  (default settings) <a href="%url%">%htmlEscapedText%</a>
  (open link in the new window or tab)  <a href="%url%" title="%text%" target="_blank" rel="nofollow">%htmlEscapedText%</a>
  (open link in the new window or tab)  <a href="%url%" title="%text%" target="_blank" rel="nofollow noopener">%htmlEscapedText%</a>
  (open link in the same window or tab)  <a href="%url%" title="%text%" rel="nofollow">%htmlEscapedText%</a>
  (open link in the same window or tab)  <a href="%url%" title="%text%" rel="nofollow">%htmlEscapedText%</a>
</pre>
</pre>
Line 80: Line 80:
* HTML (Use HTML Entities)  ([http://www.w3.org/TR/html401/struct/links.html HTML 4.01], XHTML 1.0 transitional):  
* HTML (Use HTML Entities)  ([http://www.w3.org/TR/html401/struct/links.html HTML 4.01], XHTML 1.0 transitional):  
* [http://www.w3.org/TR/xhtml1/ XHTML 1.0] strict [http://www.sitepoint.com/article/standards-compliant-world]
* [http://www.w3.org/TR/xhtml1/ XHTML 1.0] strict [http://www.sitepoint.com/article/standards-compliant-world]
* [https://developers.google.com/web/tools/lighthouse/audits/noopener?hl=en-US Opens External Anchors Using rel="noopener"  |  Tools for Web Developers  |  Google Developers] {{access | date=2018-08-21}}


=== MarkDown syntax ===
=== MarkDown syntax ===

Navigation menu