Mecha CMS

Deep learning on using the API.

Class HTML

Author: Taufik Nurrohman · 112 Views

Tweet

HTML markup constructor.

Table of Content

Anchor 

HTML::a($text = "", $href = null, $target = null, $attr = [], $dent = 0);

Image 

HTML::img($src = null, $alt = null, $attr = [], $dent = 0);

Break 

HTML::br($i = 1, $attr = [], $dent = 0);

Horizontal Rule 

HTML::hr($i = 1, $attr = [], $dent = 0);

List 

HTML::ol($list = [], $attr = [], $dent = 0);
HTML::ul($list = [], $attr = [], $dent = 0);

Default 

HTML::{$any}($content = "", $attr = [], $dent = 0);