Help:HTML in wikitext

  • the mediawiki software, which drives wikipedia, allows the use of a subset of html 5 elements, or tags and their attributes, for presentation formatting.[1] but most html can be included by using equivalent wiki markup or templates; these are generally preferred within articles, as they are sometimes simpler for most editors and less intrusive in the editing window; but wikipedia's manual of style recommends their use in certain cases. (see help:wikitext for wiki equivalents to html tags not otherwise discussed below.) and html is useful outside of articles, for example for formatting within templates. for help with cascading style sheet use within wikipedia see help:cascading style sheets.

    some tags look like html, but are actually mediawiki parser and extension tags, and so are really wiki markup. html in pages can be checked for html5 compliance by using validation. some elements and attributes are supported by mediawiki and browsers, but have been deprecated by html 5, and therefore should no longer be used.

  • tutorials
  • attributes
  • elements
  • obsolete/deprecated elements
  • unsupported elements
  • html tidy
  • exceptions
  • validation
  • parser and extension tags
  • see also
  • references
  • external links

The MediaWiki software, which drives Wikipedia, allows the use of a subset of HTML 5 elements, or tags and their attributes, for presentation formatting.[1] But most HTML can be included by using equivalent wiki markup or templates; these are generally preferred within articles, as they are sometimes simpler for most editors and less intrusive in the editing window; but Wikipedia's Manual of Style recommends their use in certain cases. (See Help:Wikitext for wiki equivalents to HTML tags not otherwise discussed below.) And HTML is useful outside of articles, for example for formatting within templates. For help with Cascading Style Sheet use within Wikipedia see Help:Cascading Style Sheets.

Some tags look like HTML, but are actually MediaWiki parser and extension tags, and so are really wiki markup. HTML in pages can be checked for HTML5 compliance by using validation. Some elements and attributes are supported by MediaWiki and browsers, but have been deprecated by HTML 5, and therefore should no longer be used.