02 DOM中节点中分类

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>

    <!-- 
    1.元素节点(element node)
    p ul li

    2.文本节点(text node)
    元素包含的内容都是文本节点

    3.属性节点(attribute)
    <p title="我是walter"></p>中的title='我是walter' 就是属性节点


     -->


</body>
</html>
posted @ 2020-12-22 10:37  *!Walter!*  阅读(48)  评论(0编辑  收藏  举报