Download the PHP package primalbase/html-tag2 without Composer
On this page you can find all versions of the php package primalbase/html-tag2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download primalbase/html-tag2
More information about primalbase/html-tag2
Files in primalbase/html-tag2
Download primalbase/html-tag2
More information about primalbase/html-tag2
Files in primalbase/html-tag2
Vendor primalbase
Package html-tag2
Short Description HTML Tag generator
License MIT
Homepage https://github.com/primalbase/html-tag2
Package html-tag2
Short Description HTML Tag generator
License MIT
Homepage https://github.com/primalbase/html-tag2
Please rate this library. Is it a good library?
Informations about the package html-tag2
HTML Tag generator. / HTMLタグジェネレータ
PHP 5 >= 5.3.0
Support DocType: HTML5, XHTML(XHTML1.0 Transitional), HTML(HTML4)
サポートするDocType: HTML5, XHTML(XHTML1.0 Transitional), HTML(HTML4)
Tag - HTML Tag generate class. / HTMLタグを動的に生成するクラス
@version 1.9.5
$body_tag = Tag::body()
echo $body_tag
or
echo Tag::body()
<body></body>
echo Tag::div(array('class' => 'span12'))
<div class="span12"></div>
echo Tag::div(array('class' => 'span6'))->addClass('offset6')
<div class="span12 offset6"></div>
echo Tag::table(Tag::tr(Tag::td('content')))
<table><tr><td>content</td></tr></table>
echo Tag::div()->append(Tag::span(array('class' => 'label'), 'labeled text'))
<div><span class="label">labeled text</span></div>
echo Tag::create('hoge', array('class' => 'fuga'))
<hoge class="fuga"></hoge>
echo Tag::a('here')->href('http://www.google.com')
<a href="http://www.google.com">here</a>
Change doctype.
TagNodes - HTML Tag list. / 兄弟関係のタグオブジェクトを格納するクラス
@version 1.9.5
echo TagNodes::create()->append(Tag::hr())->append(Tag::br())
<hr><br>
echo TagNodes::create('hoge fuga')
hoge fuga
Plain - For Escaped HTML append to Tag and TagNods. / HTMLコードをエスケープせずに追加するためのクラス
@version 1.0.0
Other Examples.
All versions of html-tag2 with dependencies
PHP Build Version
Package Version
No informations.
The package primalbase/html-tag2 contains the following files
Loading the files please wait ...