html

HTML Class provided by System to generate common HTML tags.

package

SYSTEM\HTML

Methods

Generate <script> tag

script(string $src, string $type = 'text/javascript', string $rel = 'stylesheet', string $script = '') : string
static

Arguments

$src

string

src attribute

$type

string

type attribute

$rel

string

rel attribute

$script

string

script contents

Response

string

Returns script tag string.

Generate <style> tag

style(string $style) : string
static

Arguments

$style

string

style contents

Response

string

Returns style tag string.