get what write in a tag html from javascript code example Example: how to right text with js document.write("text");