Jump to content

Template:MDNHTMLRef/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BoldLuis (talk | contribs) at 18:36, 28 April 2020 (Syntax). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is a template for a link to an element in Mozilla Developer Network HTML reference.

Syntax

{{MDNHTMLRef
| 2 = link label
| 1 = link target
| t = 
| v = 
}}

Usage

You can click in the generated links:

{{MDNHTMLRef|a}}<a>

{{MDNHTMLRef|a|href}}href

{{MDNHTMLRef|a|href|v=1}}<a>

The default address is https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ followed by the value in the first parameter (i.e. "a" in all the above examples).