\n' + '\n' + '
' + textbody + '
\n' + '' + '\n' + '\n'; document.inputForm.source.value = output; return output; } function preview() { var htmlCode; htmlCode = generateCode(); targetURL = "http://examples.quackit.com/preview/preview.cfm?htmlCode=" + htmlCode; window.open(targetURL, "newWindow", "width=500,height=400,top=100,left=100,toolbar=no,menubar=no,location=no,scrollbars=yes"); }Use this HTML code generator to create a basic web page. To create a web page: