首页 › 答案 › 题库 › 知到智慧树 › 未分类

如果html元素<inputid="userName">对应的DOM节点为userName,那么userName.type的值为()。

如果html元素<input>对应的DOM节点为userName,那么userName.type的值为()。
ture
""
text
undefined
正确答案:text