检查浏览器是否开启JavaScript功能代码

code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>检查浏览器是否开启JavaScript功能代码</title>
</head>
<body scroll=no style="text-align: center">
如果您的浏览器支持的话,本页面什么也不会显示,如果不支持,则会出现提示!
<noscript>  
<center><table border="0" style="height: 100%;  100%; right: 1%; left: 1%; background: black; position: fixed">
<tr><td align="center">
<div style="position: fixed; font-size: 18px; z-index: 2; cursor: help; background: #F8F8FF;  480px; color: black; padding: 5px 5px 5px 5px; border: 1px solid; border-color: maroon; height: auto; text-align: left; left: 20%">
<span style="font: bold 20px Arial; color:#F8F8FF; background: maroon; vertical-align: middle">对不起,你的浏览器没有打开JavaScript脚本支持!</span></div> 
</td></tr></table></center> 
</noscript>
</body>
</html>

<br />


       您对本文的宝贵意见:
         
        感谢您的鼓励和批评,它将是我进步的动力

原文地址:https://www.cnblogs.com/Leo_wl/p/1761759.html