property:id;return type:string, voidcontent:ใช้ในการกำหนดค่า หรือคืนค่า id ของ anchorexample:var tagAnchor = document.getElementById ( "bamboo" ); alert ( tagAnchor.id );