Manual:Html.php

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎日本語 • ‎polski

Html.php contains the Html class. This class is a collection of static functions that serve two purposes:

  1. Implement any algorithms specified by HTML5, or other HTML specifications, in a convenient and self-contained way.
  2. Allow HTML elements to be conveniently and safely generated, like the current Xml class but a) less confused (Xml supports HTML-specific things, but only sometimes!) and b) not necessarily confined to XML-compatible output.

Methods[edit]

rawElement()[edit]

Returns an HTML element in a string.