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