Use JavaScript to create HTML. Very helpful JavaScript for creating web pages.
\n","0","")
sCNTR = new tagInsert ( "
\n","0","")
eCNTR = new tagInsert ( "
\n","0","")
sTABL = new tagInsert ( "
\n","0","")
eTABL = new tagInsert ( "
\n","0","")
sSCRP = new tagInsert ( " \n","0","")
sADDR = new tagInsert ( " \n","0","")
eADDR = new tagInsert ( " \n","0","")
sAREA = new tagInsert ( " \n","0","")
sFONT = new tagInsert ( " \n","0","")
eFONT = new tagInsert ( " \n","0","")
sIMAG = new tagInsert ( " \n","0","")
sBOLD = new tagInsert ( " \n","0","")
sITAL = new tagInsert ( " \n","0","")
eITAL = new tagInsert ( " \n","0","")
sOLST = new tagInsert ( " \n","0","")
eOLST = new tagInsert ( " \n","0","")
sLIST = new tagInsert ( "
\n","0","")
sULST = new tagInsert ( "
\n","0","")
eULST = new tagInsert ( "
\n","0","")
sTDEF = new tagInsert ( "
","0","")
sTROW = new tagInsert ( "
","0","")
sDLST = new tagInsert ( "
\n","0","")
eDLST = new tagInsert ( "
\n","0","")
sDTRM = new tagInsert ( "
","0","")
sDDEF = new tagInsert ( "
","0","")
function tagButton (form,selector){
addTag (form,selector)
}
function addTag (form,selector){
addText=selector.textinsert
if (selector.mode = 1){
addText += moreTag(selector,addText)
form.TEXT.value += addText
}
else{
form.TEXT.value += addText
}
}
function moreTag(selector,addText){
addText = ""
x=""
x = prompt("Enter text added to tag...Ignore and hit OK if no text required!","")
if ((x != null) && (x != "")){
addText = x
}
return addText
}
function preview(form) {
msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=yes");
msg.document.write(form.TEXT.value);
}
function save() {
alert('Save file by either copying and pasting into notepad or another editor OR preview page then select file/saveas and enter new name.')
}
function about() {
alert('htmlTAGPAD created by Aaron Corder July,1998.')
}
function help() {
alert('CAUTION ! ...Still in progress but will be a walk through showing HOW TO use html tags.')
}
HTML EDITOR DOCUMENT WORK ZONE