<html><head><title>Subscripts and Superscripts</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><form action= "" name="theForm"><table border="0" width="330"><tr><td width="132" valign="TOP" height="57"> What style of shift? </td><td width="176" valign="TOP" align="LEFT" eight="57"><p> <input type="radio" name="theStyle" value="sup"
onclick="theType='sup'" checked>
Superscript<br> <input type="radio" name="theStyle" value="sub"
onclick="theType='sub'">
Subscript</p></td></tr><tr><td valign="MIDDLE" align="LEFT" width="132"> What text to shift? </td><td width="176" align="LEFT" valign="TOP"><div align="LEFT"><input type="TEXT" name="theText" size="20" maxlength="20"></div></td></tr></table></form><script language="JavaScript">
var theType = "sub"; function objectTag() { return "<" + theType + ">" + document.theForm.theText.value + "</" + theType + ">";
}
var theType = "sup"; function objectTag() {
return "<" + theType + ">" + document.theForm.theText.value + "</" + theType + ">";
}</script></body></html>