We normally use this kind of code to create a HTML element with JS: const a = document.createElement('a') a.setAttribute('class', 'foo bar') ...
確定! 回上一頁