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