您现在的位置: 万盛学电脑网 >> 程序编程 >> 网页制作 >> Html5 >> 正文

html标签转换技巧简介

作者:佚名    责任编辑:admin    更新时间:2022-06-22

我们为大家收集整理了关于html标签转换,以方便大家参考。

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript" >
function showBox(item){
for(var i=1;i<arguments.length;i++){
document.getElementById("r_"+arguments[i]).style.display="none";
document.getElementById("n_"+arguments[i]).className="nr1";
}
document.getElementById("r_"+item).style.display="block";
document.getElementById("n_"+item).className="nr2";
}
</script>
<style type="text/css">
.nr1{background-color:#4A8BBF;color:white;width:110px;height:20px;line-height:19px;border:1px solid #8FB7D7;border-bottom:none;font-weight:bold;font-size:14px;cursor:pointer;}
.nr2{background-color:#EBF4FD; color:#176AAD;width:110px; height:20px; line-height:19px; border:1px solid #8FB7D7; border-bottom:none;font-weight:bold; font-size:14px; cursor:pointer;}
#cc{width: 230px;height:255px;border: 1px solid #183086;background-color: #F1F8FD;overflow: hidden;}
</style>
</head>

希望大家可以学会html标签转换.想了解更多精彩内容,请关注我们的网站!

相关推荐:

html标签注释方法