JS 創建Tag 標簽
一 . ###創建標簽其原理就是 創建一個節點; var x = document.createElement("TagName") 賦予節點樣式; x.setAttribute("class ...
一 . ###創建標簽其原理就是 創建一個節點; var x = document.createElement("TagName") 賦予節點樣式; x.setAttribute("class ...
第一種創建方法(頁面加載完成后,頁面代碼將會被覆蓋) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>title< ...
RT style html js ...
來自 : http://www.softwhy.com/article-6078-1.html ...