Template:MDNHTMLRef/doc
Appearance
![]() | This is a documentation subpage for Template:MDNHTMLRef. It may contain usage information, categories and other content that is not part of the original template page. |
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 in 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