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