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 19:00, 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. The default base address is https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ (followed by the target link parameter, if provided, as you can see above).

Syntax

{{MDNHTMLRef
| 2 = element's attribute, optional
| 1 = element, optional
| t = optional
| v = vision of the link of the element (1) or the element attribute (2).
}}

Usage

You can click in the generated links:

{{MDNHTMLRef|a}}<a>

{{MDNHTMLRef|a|href}}href

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

{{MDNHTMLRef||HTML_elements_reference}}HTML_elements_reference