Template:MDNHTMLRef: Difference between revisions
Jump to navigation
Jump to search
(fix fontsize error with monospace) |
Richardpruen (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 18:32, 2 January 2022
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
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}}
— <>