判斷題使用createElement()方法創(chuàng)建一個新的元素節(jié)點,并將該元素節(jié)點會自動添加至HTML頁面中。

您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題document對象中的querySelectorAll(selector)是用來返回什么?()

A.返回匹配指定CSS選擇器的第一個元素
B.返回匹配指定CSS選擇器的元素集合
C.返回具有指定id的元素集合
D.返回具有指定class值得元素集合

2.單項選擇題以下哪個元素不可以使用v-model指令()

A.<select>
B.<div>
C.<textarea>
D.<input>

3.單項選擇題計算屬性是添加在Vue實例的哪一個選項內(nèi)?()

A.mounted
B.computed
C.methods
D.data

5.單項選擇題下列vue-router插件的安裝命令,正確的是()

A.node install vue-router
B.npm install vuerouter
C.npm install --save vue-router
D.npm vue-router