+ 1
Html appending end of an <p> element
how can i append here: <p> some text "i want to append here" <span background-color:red;></span>"not here"</p> not end of span the begining of span
2 ответов
+ 2
Brains🇳🇬 it works when i use before statement in span
+ 4
js as an,
insertBefore() method.
p.insertBefore("hello") is the opposite of..
p.append("hello");