Level 3 Heading inside an <article>
This article is nested inside an <section
>.
Markdown: A <p
> inside an <article
>.
BASIC INFORMATION: The HTML namespace contains basic components to create basically all HTML elements.
SPHPlayground contains also mobile friendly customizable UI components compatibile with most web browsers and devices. Most mobile friendly UI components are based on Bootstrap frontend framework.
This interface denotes a class as having a Stringable::__toString() method. Unlike most interfaces, Stringable is implicitly present on any class that has the magic __toString() method defined, although it can and should be declared explicitly. [1]
All build-in HTML components implement at least Stringable interface. This ensures that the component can be outputted to an HTML document
The Tag interface declares an HTML tag. It is implemented in the abstract class AbstractTag. This Abstract class is the base implementation for all predefined HTML tag components.
Note! Use only HTML attributes that are specified for the underlying HTML tag name returned from the method getTagName().
Void HTML elements only have a start tag. Therefore a void element cannot have any child nodes (i.e., nested elements or text nodes).
The VoidTag class is the base for all void elements in the framework.
Examples of VoidTag components:
The EmptyTag class is the base for all empty components in the framework. These components have a closing tag but do not have content.
Examples of EmptyTag components:
Container and ContainerComponent interfaces
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
The ContainerComponent declares the properties fot a HTML wrapper element (a tag pair) acting as a container for other elements. It has a implementation AbstractContainerTag in the framework.
Furthermore all actual framework components implement Component
Classes in this namespace enables the creation of modern HTML documents in object oriented PHP.
Markdown inside a <section
>.
This article is nested inside an <section
>.
Markdown: A <p
> inside an <article
>.