example.html

来自「javascript在线编辑器」· HTML 代码 · 共 49 行

HTML
49
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>openWYSIWYG Examples</title>
</head>
<script language="JavaScript" type="text/javascript" src="wysiwyg.js">
</script>

<body>
<form name="example" method="get">
<textarea id="textarea1" name="test1" style="height: 170px; width: 500px;">
  <table border="0" cellpadding="0" cellspacing="0" style="margin-left: 10px;">
	 <tr>
	  <td style="padding: 0 10 10 0;"><a href="http://www.smallrain.net/"><img src="http://www.smallrain.net/images/srlogo.gif" border="0"  alt="小雨在线"></a></td>
		<td style="font-family: verdana; font-size: 11px; line-height: 130%; color: #494949;" valign="top">	
	  <b><a href="http://www.smallrain.net" style="font-family: arial; font-size: 12px; color: #055F92;">小雨在线</a></b><br />
	  免费使用大量javascript 特效
		</td>
	 </tr>
	</table>
</textarea>
<script language="javascript1.2">
  generate_wysiwyg('textarea1');
</script>


<br><br>
<textarea id="textarea2" name="test2" style="height: 200px; width: 500px;">
<h1>小雨在线</h1>

<tt>
<font face="Tahoma", "MS Shell Dlg">Copyright 
        &copy;2000 - 2005 <strong>SmallRain.<font color="#990000">Net</font></strong> 
        , All Rights Reserved. </font>
</tt>
</textarea>
<script language="javascript1.2">
  generate_wysiwyg('textarea2');
</script>

<br /><br />
<input type="submit" id="button" />
</form>


</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?