JavaScript DHTML/Document/write
Append html tag value with string value
<HTML>
<BODY>
<H1>
<SCRIPT>
var newLine = "<BR>";
var One = "One";
var splitLine = One + newLine + One;
document.write(splitLine);
</SCRIPT>
</H1>
</BODY>
</HTML>
Output the html tags
<HTML>
<BODY>
<SCRIPT language="JavaScript">
var myheading="This is My Web Page!";
var linktag="<A HREF="http://www.wbex.ru">wbex</A>";
var sometext="text";
var begineffect="<U>";
var endeffect="</U>";
var newsection="<BR>";
document.write(myheading);
document.write(newsection);
document.write(begineffect);
document.write(sometext);
document.write(endeffect);
document.write(newsection);
document.write(linktag);
document.write(newsection);
document.write(sometext);
</SCRIPT>
</BODY>
</HTML>