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