html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
test#left,#right{
float:left;
color:#FF33CC;
}
#right{
padding:10px;
margin-top:40px;
}
body{
font-size:28px;
line-height:45px;
}
a{text-decoration:none;
color:#FF0000;} /*去除锚链接的下划线*/
li{
list-style:none;
}
document.getElementById('text2').style.display='none'">第一节
document.getElementById('text1').style.display='none'">第二节
gaga
hehe
效果如下图:


最后
以上就是留胡子宝贝最近收集整理的关于html css左边点击右边显示图片,HTML5+CSS:左边导航栏,右边是对应的文本区域的全部内容,更多相关html内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复