Просмотр файла text.html

Размер файла: 1.44Kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>

<TITLE> Text Fonter</TITLE>

<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="favicon.ico" type=image/x-icon rel=icon><LINK href="css.css" type=text/css 
rel=stylesheet>


<BODY>
<DIV class=title><B>Text Fonter!</B></DIV>
<DIV class=kat><STRONG> 
<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
function mketxt()
{
text=window.document.form1.textval.value;
font=window.document.form1.fontnme.value;
color=window.document.form1.col.value;
window.document.write("<font size='7' color='B3B3B3' style='position: relative; left: 15px;' face='" + font + "'><b>" + text + "</b></font><br><font size='7' color='" + color + "' style='position: relative; left: 0px; top: -45px;'face='" + font + "'><b>" + text + "</b></font><br>");
}
//  End -->
</script>


<!-- HEAD END HERE -->




</head>
<body bgcolor="#EDEDED" text="#000000" link="#000000" topmargin="0" leftmargin="0">
<center>

<!-- BODY START HERE -->

<form name="form1">
<center>

<p>
Text: <input type="text" name="textval"><br>
Font: <input type="text" name="fontnme"><br>
Color: <input type="text" name="col"><p>
<input type="button" value="OK!" onClick="mketxt()">
</center>
</form>

<!-- BODY END HERE -->



<DIV class=end>


<BR></CENTER></DIV></BODY></HTML>