| MediaWiki file: Html.php | |
|---|---|
| Location: | includes/ |
| Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
| Classes: | Html |
Html.php contains the Html class. This class is a collection of static functions that serve two purposes:
- Implement any algorithms specified by HTML5, or other HTML specifications, in a convenient and self-contained way.
- 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
rawElement()
Returns an HTML element in a string.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.