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. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/9/98/MDN_Web_Docs.svg/220px-MDN_Web_Docs.svg.png)
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 parameters, if provided, as you can see above).
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 Element | Element | String | optional |
2 | 2 Element's attribute | Attribute section in the element's page | String | optional |
t | t | no description | Unknown | optional |
v | v vision | 1 to show the element or 2 to show the attribute | Number | optional |
Usage
[edit]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
{{MDNHTMLRef}}
— <>
See also
[edit]