<script> setInterval("show_time.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000); </script>在HTML页面实时展示
</style> <style type="text/css" rel="stylesheet"> a{ color:black; /*这是默认*/
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> </head> <script> <body> window.onload=function() { var oBtn=document.getEle
在<a href="***">里,加入一句:target="_blank"例:<a href="www.cctv.com" target="_blank">在新窗口打开央视网站</a>
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号