+ 1
How to add html code in js
Plz anyone tell me how Insert or add html code in javascript plzz..
5 Réponses
+ 4
The easiest option to add html using js is:
document.body.innerHTML += `(here s your html content)`
+ 2
document.body.innerHTML+= `<p>hello world</p>`
+ 1
Pleae give some examples ..... Write code in js
0
And How to make go back option after going in p tag
0
Your answer is here:
https://www.sololearn.com/learning/1124/