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
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." MediaWiki aims to be compatible with both current and legacy browsers.

MediaWiki supports a  tag as a convenient way to make text bigger. The  tag was removed 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.

is an inline element that should be styled with the following CSS:. If/when browsers stop including this rule in their default stylesheet, MediaWiki will specify it.