首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一个快速的方法来产生正确的嵌套,结构良好的HTML

一个快速的方法来产生正确的嵌套,结构良好的HTML

资 源 简 介

oop-html oop-html is a quick way to markup data in html and not have to worry about nesting, formatting, or otherwise generating html. Much lighter weight syntax than DOM for the sole purpose of quickly and simply generating html code. Tags auto generate fully formatted code from simple data You can just dump your data into tags and be assured that it will be propperly nested No more mucking about with complex logic to insure that generated code is formatted Uses refferences to hold children, no more worrying about when you create a tag Just hold onto a reffence to it if you are going to add it later. $div = new Tag("div", "id="content"");$div->add(Tag::Craft("h1", "oop-html"));$div->add(Tag::Craft("p","oop-html is a quick way to markup data in html and not have to worry about nesting, formatting, or otherwise generating html. Much

文 件 列 表

Tag.php
example.php
VIP VIP
0.183181s