User:Legoktm/HTML+MediaWiki

This page describes the extensions to HTML that MediaWiki utilizes, named HTML+MediaWiki. It is based on the WHATWG HTML5 living standard specification.

Background

edit

The HTML 5 specification allows for vendor-neutral extensions to be specified: "User agents must treat elements and attributes that they do not understand as semantically neutral; leaving them in the DOM (for DOM processors), and styling them according to CSS (for CSS processors), but not inferring any meaning from them."[1] MediaWiki aims to be compatible with both current and legacy browsers.

<big>

edit
Categories:
Contexts in which this element can be used:
Where phrasing content is expected.
Content model:
Phrasing content.
Tag omission in text/html:
Neither tag is omissible.
Content attributes:
Global attributes
DOM interface:
Uses HTMLElement.

The big element is a convenient way to make text bigger.

  Note: The big tag was removed[2] from HTML 5 and is considered obsolete. However, it is featured in both WikiEditor and VisualEditor toolbars, and is convenient for editors to use. Additionally, all modern browsers continue to support it with no known plans for removal.

  Note: If/when browsers stop including rules for big in their default stylesheet, MediaWiki will specify it.

References

edit