使用 base 标签使页面中的所有标签在新窗口中打开。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" /> <base target="_blank" />
</head> <body> <p>
<a href="http://www.w3school.com.cn" target="_blank">这个连接</a> 将在新窗口中加载,因为 target 属性被设置为 "_blank"。
</p> <p>
<a href="http://www.w3school.com.cn">这个连接</a> 也将在新窗口中加载,即使没有 target 属性。
</p> </body>
</html>
本文档的 meta 属性描述了该文档和它的关键词。
<meta name="description"
content="HTML examples"> <meta name="keywords"
content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript">
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Refresh" content="5;url=http://www.w3school.com.cn" />
</head> <body>
<p>
对不起。我们已经搬家了。您的 URL 是 <a href="http://www.w3school.com.cn">http://www.w3school.com.cn</a>
</p> <p>您将在 5 秒内被重定向到新的地址。</p> <p>如果超过 5 秒后您仍然看到本消息,请点击上面的链接。</p> </body>
</html>

最新文章

  1. Ajax中POST和GET的区别
  2. ListIterator接口,双向输出。
  3. 如何学习JavaScript
  4. 机器学习中的范数规则化之(一)L0、L1与L2范数
  5. 使用yum时,保留下载包设置
  6. Android Studio通过JNI调用NDK程序
  7. 怎样在Android中ListView与ArrayAdapter配合使用
  8. [转载+原创]Emgu CV on C# (三) —— Emgu CV on 均衡化
  9. 【welcome-file-list】让默认页生效
  10. Android基本功:Handler消息传送机制
  11. NIR相机
  12. C++Primer笔记(2)
  13. cocos2d基本类介绍 director/scene/layer/sprite
  14. 一行代码搞定ThoughtWorks面试题
  15. [HNOI 2014]道路堵塞
  16. bottle.py中的SimpleTemplate
  17. CSS3效果:波浪效果
  18. [UE4]蓝图使用GameMode重构
  19. 【BZOJ】【4144】【AMPPZ2014】Petrol
  20. leetcode之二叉树的层序遍历

热门文章

  1. repeater留言板[转]
  2. 首师大附中科创教育平台 我的刷题记录 3120 LJX的校园:入学典礼
  3. 遗传算法在JobShop中的应用研究(part 6:结果显示)
  4. [ Arch Linux ] Arch更新源高速源整理之测速并自动排序高速源 加快更新效率
  5. 1. C语言中的数据结构.md
  6. DG的Switchover切换
  7. 转!! PreparedStatement是如何防止SQL注入的
  8. jquery.nicescroll完美滚动条使用方法
  9. 安装idea开发工具
  10. Maplace.js – 小巧实用的 jQuery 谷歌地图插件