ascII码表中,按照ASCII值从大到小排列顺序是? (数字、英文大写字母、英文小写字母)
1个回答
展开全部
ASCII码对照表:
<!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=utf-8" />
<title>javascript打印ASCII码表</title>
</head>
<body>
<style type="text/css">
table{background-color:#CCCCCC;}
td{background-color:#999999;font-size:14px;padding:6px;font-weight:bold;text-align:center;color:#333333;}
span{ color:#861A06;font-size:18px;}
</style>
<script language="javascript" type="text/javascript">
<!--
function printAscii(uBound){
document.write("<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tr><td colspan=\"10\">ASCII码值对照表</td></tr><tr>")
for(i=1;i<uBound;i++){
var str=String.fromCharCode(i);
document.write("<td><span>"+str+"</span>="+i+"</td>");
if(i%10==0) document.write("</tr><tr>");
}
document.write("</tr></table>")
}
printAscii(128);
//-->
</script>
</body>
</html>
本文来源于www.wxwdesign.cn,原文地址:http://www.wxwdesign.cn/article/196.htm
<!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=utf-8" />
<title>javascript打印ASCII码表</title>
</head>
<body>
<style type="text/css">
table{background-color:#CCCCCC;}
td{background-color:#999999;font-size:14px;padding:6px;font-weight:bold;text-align:center;color:#333333;}
span{ color:#861A06;font-size:18px;}
</style>
<script language="javascript" type="text/javascript">
<!--
function printAscii(uBound){
document.write("<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tr><td colspan=\"10\">ASCII码值对照表</td></tr><tr>")
for(i=1;i<uBound;i++){
var str=String.fromCharCode(i);
document.write("<td><span>"+str+"</span>="+i+"</td>");
if(i%10==0) document.write("</tr><tr>");
}
document.write("</tr></table>")
}
printAscii(128);
//-->
</script>
</body>
</html>
本文来源于www.wxwdesign.cn,原文地址:http://www.wxwdesign.cn/article/196.htm
参考资料: http://www.wxwdesign.cn/article/196.htm
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询