Handbuch:Html.php

This page is a translated version of the page Manual:Html.php and the translation is 67% complete.

Html.php enthält die Html-Klasse. Diese Klasse ist eine Sammlung von statischen Funktionen, die zwei Zwecke dienen:

  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.

Methoden

rawElement()

Ergibt ein HTML-Element in einer Zeichenkette.