📄 tryit.asp@filename=tryjsref_str_style
字号:
<html>
<head>
<title>Tryit Editor v1.4</title>
<link rel="stylesheet" type="text/css" href="../tryittheme.css" />
<script type="text/javascript">
function displayad()
{
document.getElementById("adframe").src="../tryitbanner.asp@secid=tryjs&rnd=" + Math.random()
}
</script>
</head>
<body>
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#808080">
<tr>
<td width="234" valign="top">
<a href="../default.htm"><img src="../images/w3default80.jpg" border="0" alt="W3Schools" /></a>
</td>
<th valign="middle" class="right" align="left">
<iframe id="adframe" style="background-color:#808080" height="90" width="728" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"
src="../tryitbanner.asp@secid=tryjs&rnd=0.9037897"></iframe>
</th>
</tr>
</table>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<form action="tryit_view.asp" method="post" target="view"><tr>
<td colspan="2">
<input name="submit" type="submit" value="Edit the text and click me" onclick="displayad()">
</td>
</tr>
<tr>
<td width="50%">
<textarea width="100%" height="400px" style="width:100%;height:400px" name="code" wrap="logical" rows="21" cols="42">
<html>
<body>
<script type="text/javascript">
var txt="Hello World!";
document.write("<p>Big: " + txt.big() + "</p>");
document.write("<p>Small: " + txt.small() + "</p>");
document.write("<p>Bold: " + txt.bold() + "</p>");
document.write("<p>Italic: " + txt.italics() + "</p>");
document.write("<p>Blink: " + txt.blink() + " (does not work in IE)</p>");
document.write("<p>Fixed: " + txt.fixed() + "</p>");
document.write("<p>Strike: " + txt.strike() + "</p>");
document.write("<p>Fontcolor: " + txt.fontcolor("Red") + "</p>");
document.write("<p>Fontsize: " + txt.fontsize(16) + "</p>");
document.write("<p>Lowercase: " + txt.toLowerCase() + "</p>");
document.write("<p>Uppercase: " + txt.toUpperCase() + "</p>");
document.write("<p>Subscript: " + txt.sub() + "</p>");
document.write("<p>Superscript: " + txt.sup() + "</p>");
document.write("<p>Link: " + txt.link("../default.htm") + "</p>");
</script>
</body>
</html>
</textarea>
</td>
<td>
<iframe width="100%" height="400px" style="width:100%;height:400px;background-color:ffffff" name="view" src="tryit_view.asp@filename=tryjsref_str_style"></iframe>
</td>
</tr>
<tr>
<th colspan="2" class="right" align="left">
Edit the text above, and click on the button to see the result.
</th>
</tr>
</form></table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -