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