查看源代码按钮.htm
来自「VBSCRIPT的源码,相信很多html程序员都会用到,这些源码小小变动一下,可」· HTM 代码 · 共 48 行
HTM
48 行
<html>
<head>
<title>查看源代码按钮</title>
<style type="text/css">
<!--
body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT LANGUAGE="VBScript">
<!--
sub button_onclick
window.location = "view-source:" + window.location.href
end sub
-->
</script>
</head>
<body bgcolor="#fef4d9">
<p align="center">
<CENTER>
<br>
</CENTER>
<center><font color=red face="隶书" size=6>查看源代码按钮</font></center>
<br>
<br><center>
<table border=5 bordercolor=blue borderlight=green>
<tr><td align=center><strong><font size=5 color=red>下面框中为脚本显示区</font></strong></td></tr>
<tr>
<td align=center>
<input type="BUTTON" value="查看源代码" name="BUTTON">
</td>
</tr>
</table>
</center>
<SCRIPT LANGUAGE="VBScript">
<!--
function goHist(a)
history.go a
end function
-->
</script>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?