If i have an HTML element like with some text inside or another elements can I add before or after this div some text data without an html element,
with some text inside or another elements can I add before or after this div some text data without an html element,
You can add text node. Create node - document.createTextNode('text') and then insert/append/replace - do whatever you want.
document.createTextNode('text')