Ajax & JavaScript/DOM/XML & 技术 13 Jan 2007 02:55 pm
table 的dom结构
一般而言,DOM结构准确地反映了HTML文档所包含的内容,也就是说,每个HTML标记表现为一个标记节点(tag node),每个文本项内容表现为一个文本项节点(text node)。这种表现形式一般称为WYSIWYG,即所见即所得。但是,
| This is row 1, cell 1 | This is row 1, cell 2 |
| This is row 2, cell 1 | This is row 2, cell 2 |
| This is row 3, cell 1 | This is row 3, cell 2 |
在分析它的DOM结构前,我们要为这段代码添加上一对
标记: