0
对不起,我的英语。HTML 5参考/规范?
我有PHP类生成的HTML表单:
class Html_ElementInput extends Html_Element
{
public function __construct($type=null)
{
parent::__construct();
$this->attrs = array
(
'type' => array('text', 'password', 'checkbox', 'radio', 'submit', 'reset', 'file', 'hidden', 'image', 'button'),
'name' => 'CDATA',
'value' => 'CDATA',
'checked' => array('checked'),
'disabled' => array('disabled'),
'readonly' => array('readonly'),
'size' => 'Number',
'maxlength' => 'Number',
// ......
这种格式的模拟SGML的DTD描述的xHTML - http://economist.rudn.ru/files/web-studio/docs/html/xhtml/xhtml_1.0/xhtml1-transitional_dtd.txt
我想他们的阶级基础HTML5改变,但没有说明SGML-HTML5规范。
我是否正确理解SGML-HTML5描述不会?
一部分,所以你的问题涉及到关于HTML5规范的文档? – yoda 2010-12-22 20:26:33
是的。我希望看到SGML类型的规范HTML5,如http://economist.rudn.ru/files/web-studio/docs/html/xhtml/xhtml_1.0/xhtml1-transitional_dtd.txt,但在W3C的规范HTML5的其他格式,我不明白他们的。 – user551658 2010-12-22 20:29:49