对象(Object)属性(property)方法(method); 关键这些

How to make a girlfriend

The first You need write css

<div>
    <li></li>
    <li></li>
    <li></li>
</div>

setAttribute than getElement like

for(var i=0;i < name.getElementsByTagName("li").length;i++){ alert(typeof document.getElementsByTagName("li")[i];) }

The now! you can say you have "three" girl friend, the name is "li"! Yes!