📄 随心所欲文字.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>随心所欲的文字</title>
<script LANGUAGE="VBScript">
<!--
size1=20
colorT=100
sub btn3_onclick
textarea1.style.textAlign="right"
end sub
sub btn2_onclick
textarea1.style.textAlign="left"
end sub
sub btn1_onclick
textarea1.style.textAlign="center"
end sub
sub btn4_onclick
colorT=colorT+20
textarea1.style.color=cstr(colorT)
end sub
-->
</script>
</head>
<body>
<center>
<textarea name="textarea1" cols="40" rows="7"
style="color: #008000; text-align: left; font-size:15; font-weight: bold; font-family: 华文中宋">
这是一个多彩的世界!!!
欢迎你使用VbScript编程百例
</textarea>
<p>
<input type="button" value="居中对齐" name="btn1">
<input type="button" value="居左对齐" name="btn2">
<input type="button" value="居右对齐" name="btn3">
<br><br>
<input type="button" value="颜色改变" name="btn4">
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -