0
Can we use tags in js
I wanted to know that is it possible to use some html tags like <b> in a js file to make works easier
2 Respuestas
+ 2
you can add html by using document.write("html");
Alternatively you can always create nodes by using
let newNode = document.createElement("tag_name");
and add them by using
htmlNode.appendChild(newNode);
0
Thanks