1、HTML5新增了哪些內容或API,使用過哪些?

一、document.querySelector()和document.querySelectorAll()方法 document.querySelector():根據css選擇器返回第一個匹配的元素,如果沒有匹配返回null; document.querySelectorAll("selector"):querySelectorAll和querySelector作用一樣的,只是querySele
相關文章
相關標籤/搜索