当前位置:  首页  >  前端开发  >  HTML

HTML中Header标签的用法实例

1.<base>标签为页面上的所有链接规定默认地址或默认目标。这其中包括<a>、<img>、<link>、<form>标签中的URL。
1. 标签为页面上的所有链接规定默认地址或默认目标。这其中包括
标签中的 URL。
Html代码
base
audio
target可选的属性:
_blank
_parent
_self
_top


2. 标签定义文档与外部资源的关系。最常见的用途是链接样式表。
Html代码
rel 可选的属性有:
alternate
author
help
icon
licence
next
pingback
prefetch
prev
search
sidebar
stylesheet
tag


3. 定义了与文档相关联的名称/值对,比如针对搜索引擎和更新频度的描述和关键词。 标签没有结束标签,但必须被正确地被关闭()。
Html代码 属性:
Html代码
5. 元素可定义文档的标题。 它是 <head> 标签中唯一要求包含的东西。<span>以上就是HTML中Header标签的用法实例的详细内容,更多请关注 第一PHP社区 其它相关文章!</span> </div> <div class="article_ab" style="width: 720px;height: 100px;margin: 0 auto;margin-top: 15px;"> </div> <div class="article_cmnt"> <div class="cmnt_title">吐了个 "CAO" !</div> <form action="" method="post"> <div class="cmnt_text"> <textarea class="ping-txt" onfocus="ck_txt(this);" onblur="ck_txt2(this);" id="ping-txt" name="ping-txt" >吐个槽吧,看都看了</textarea> </div> <div class="cmnt_cmt"> <div class="cmnt_login_box"> <a href="http://cestlebonheur.com/?s=user/login/index&from=http%3A%2F%2Fcestlebonheur.com%2Fdetail%2Fphp-1fab6b342d.html">会员登录</a> | <a href="http://cestlebonheur.com/?s=user/reg/index">用户注册</a> </div> <div class="post_cmnt"><input type="button" value="吐  槽" onclick="post_ping();" /></div> </div> </form> </div> </div> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shCore.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushBash.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushCpp.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushCSharp.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushCss.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushDelphi.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushDiff.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushGroovy.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushJava.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushJScript.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushPhp.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushPlain.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushPython.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushRuby.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushScala.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushSql.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushVb.js"></script> <script type="text/javascript" src="http://www.php1.cn/SyntaxHighlighter/scripts/shBrushXml.js"></script> <link type="text/css" rel="stylesheet" href="http://www.php1.cn/SyntaxHighlighter/styles/shCore.css"/> <link type="text/css" rel="stylesheet" href="http://www.php1.cn/SyntaxHighlighter/styles/shThemeLiuQing.css"/> <style>.syntaxhighlighter{padding-top:20px;padding-bottom:20px;}</style> <script type="text/javascript"> SyntaxHighlighter.config.clipboardSwf = 'http://www.php1.cn/SyntaxHighlighter/scripts/clipboard.swf'; SyntaxHighlighter.all(); </script> <div class="article_right"> <div class="profile"> <div class="login"> <div class="login-info"> <div class="user-photo"> <img src="/style/home/images/user-no-photo.jpg" class="lazy-img" data-url="" alt="第一PHP社区"> </div> <div class="user-txt"> <span style="color: #666;font-weight: bold;">Hi,亲爱的小伙伴!</span> <span>欢迎来到php1.cn社区!</span> <span><a href="http://cestlebonheur.com/?s=user/login/index&from=http%3A%2F%2Fcestlebonheur.com%2Fdetail%2Fphp-1fab6b342d.html" class="login-open" title="PHP登录">点击登录, 发现精彩</a></span> </div> </div> <div class="login-btn"> <a href="http://cestlebonheur.com/?s=user/reg/index" class="skins-btn sign-btn" title="PHP用户注册">注册</a> <a href="http://cestlebonheur.com/?s=user/login/index&from=http%3A%2F%2Fcestlebonheur.com%2Fdetail%2Fphp-1fab6b342d.html" class="skins-btn skins-btn-green">登录</a> </div> </div> </div> <div class="tools"> <div class="tools_top_line"> <div class="tools_t_l"></div> <div class="tools_t_r"></div> </div> <div class="tools_top">Tools Online | 在线开发工具</div> <div class="tools_box"> <ul> <li> <a href="http://cestlebonheur.com/tools_/?s=jsformat" title="HTML/JS格式化">HTML/JS格式化</a> </li> <li> <a href="http://tools.php1.cn/?s=cssformat" title="CSS代码格式化">CSS代码格式化</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=editor" title="文章自动排版工具">文章自动排版工具</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=htmljs" title="HTML/JS转换">HTML/JS转换</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=utf8" title="UTF-8编码转换工具">UTF-8编码转换工具</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=unicode" title="Unicode 转换">Unicode 转换</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=urlencode" title="URL编码解码">URL编码解码</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=qrcode" title="二维码生成工具">二维码生成工具</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=ip" title="IP地址查询">IP地址查询</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=httpcode" title="HTTP状态码(响应码)">HTTP状态码(响应码)</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=headers" title="网页Header头">网页Header头</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=htmlcode" title="网页源代码">网页源代码</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=colorjson" title="JSON解析着色">JSON解析着色</a> </li> <li> <a href="http://cestlebonheur.com/tools_/?s=diff" title="Diff文件比较">Diff文件比较</a> </li> </ul> </div> </div> <div class="rank"> <div class="rank_top_line"> <div class="rank_t_l"></div> <div class="rank_t_r"></div> </div> <div class="rank_top">RankList | 热门文章</div> <div class="rank_box"> <ul> <li> <b >1</b><a href="http://cestlebonheur.com/detail/php-0b90f9839e.html" title="html和css中设置超链接样式方法的总结">html和css中设置超链接样式方法的总结</a> </li> <li> <b >2</b><a href="http://cestlebonheur.com/detail/php-fb05440edf.html" title="对HTML框架标签的作用总结">对HTML框架标签的作用总结</a> </li> <li> <b >3</b><a href="http://cestlebonheur.com/detail/php-818e2ae90f.html" title="HTML框架标签的实例应用">HTML框架标签的实例应用</a> </li> <li> <b >4</b><a href="http://cestlebonheur.com/detail/php-34f19ac370.html" title="HTML min-height用法总结">HTML min-height用法总结</a> </li> <li> <b >5</b><a href="http://cestlebonheur.com/detail/php-042f9a8e70.html" title="网页中实现分页功能的方法案例总结">网页中实现分页功能的方法案例总结</a> </li> <li> <b class="black">6</b><a href="http://cestlebonheur.com/detail/php-9c06aa1500.html" title="html滚动条样式设置的总结">html滚动条样式设置的总结</a> </li> <li> <b class="black">7</b><a href="http://cestlebonheur.com/detail/php-f8a6667670.html" title=" 关于min-height注意点"> 关于min-height注意点</a> </li> <li> <b class="black">8</b><a href="http://cestlebonheur.com/detail/php-633534a579.html" title="网页中各种上标和下标的应用实例">网页中各种上标和下标的应用实例</a> </li> <li> <b class="black">9</b><a href="http://cestlebonheur.com/detail/php-614964b2c1.html" title="用html和css代码实现各种表格样式的总结">用html和css代码实现各种表格样式的总结</a> </li> <li> <b class="black">10</b><a href="http://cestlebonheur.com/detail/php-cee101df9d.html" title="HTML标签之上标<SUP>与下标<SUB>">HTML标签之上标<SUP>与下标<SUB></a> </li> <li> <b class="black">11</b><a href="http://cestlebonheur.com/detail/php-74574e556d.html" title="header标签的作用与用法总结">header标签的作用与用法总结</a> </li> <li> <b class="black">12</b><a href="http://cestlebonheur.com/detail/php-af7f7a502a.html" title="HTML <header>标签的用法">HTML <header>标签的用法</a> </li> </ul> </div> </div> <div class="wx_pic"> <div class="wx_top_line"> <div class="wx_t_l"></div> <div class="wx_t_r"></div> </div> <div class="wx_top">扫码关注 PHP1 官方微信号</div> <div class="wx_box"> <img src="/style/home/images/wx_pic.png"/> </div> </div> <div class="baidu_ad_box" style="width: 320px;height: 280px;margin-top: 15px;text-align: center;border: 1px solid #ddd;padding-top: 10px;padding-bottom: 10px;"> <script async src="http://www.php1.cn//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8923551941185667" data-ad-slot="9743942645" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class="rank"> <div class="rank_top_line"> <div class="rank_t_l"></div> <div class="rank_t_r"></div> </div> <div class="rank_top">Recommend | 推荐阅读</div> <div class="rank_box"> <ul> <li> <b >1</b><a href="http://cestlebonheur.com/detail/linux-10cbda5156.html" title="Fedora中输入法的设置">Fedora中输入法的设置</a> </li> <li> <b >2</b><a href="http://cestlebonheur.com/detail/linux-29d927b658.html" title="Linux事件监控机制遗漏事件问题的相关分析">Linux事件监控机制遗漏事件问题的相关分析</a> </li> <li> <b >3</b><a href="http://cestlebonheur.com/detail/linux-9beea7da24.html" title="LINUX挂载外设">LINUX挂载外设</a> </li> <li> <b >4</b><a href="http://cestlebonheur.com/detail/linux-628a2919d5.html" title="十个需要牢记的Ubuntu快捷键">十个需要牢记的Ubuntu快捷键</a> </li> <li> <b >5</b><a href="http://cestlebonheur.com/detail/linux-10759612b9.html" title="Fedora7 在Grub界面无法使用键盘,求助各位达人">Fedora7 在Grub界面无法使用键盘,求助各位达人</a> </li> <li> <b class="black">6</b><a href="http://cestlebonheur.com/detail/linux-70855724e2.html" title="[在线等]人民币求高手帮写一个IPtable防火墙。">[在线等]人民币求高手帮写一个IPtable防火墙。</a> </li> <li> <b class="black">7</b><a href="http://cestlebonheur.com/detail/linux-ac2f2e5053.html" title="中毒,很好,很强大">中毒,很好,很强大</a> </li> <li> <b class="black">8</b><a href="http://cestlebonheur.com/detail/linux-9153c986bd.html" title="Fedora 9安装mplayer所需字体utf-8-ming.tar.bz2下载地址">Fedora 9安装mplayer所需字体utf-8-ming.tar.bz2下载地址</a> </li> <li> <b class="black">9</b><a href="http://cestlebonheur.com/detail/linux-b6391d8448.html" title="使用mogadm配置和管理MogileFS">使用mogadm配置和管理MogileFS</a> </li> <li> <b class="black">10</b><a href="http://cestlebonheur.com/detail/linux-4f852e5df0.html" title="linux库文件的制作">linux库文件的制作</a> </li> <li> <b class="black">11</b><a href="http://cestlebonheur.com/detail/linux-8342411011.html" title="设置双系统启动">设置双系统启动</a> </li> <li> <b class="black">12</b><a href="http://cestlebonheur.com/detail/linux-243d1c85bf.html" title="初装linux">初装linux</a> </li> </ul> </div> </div> </div> <div style="clear: both;"></div> </div> <div style="clear: both"></div> <div class="bottom"> PHP1.CN | 中国最专业的PHP中文社区 | <a href="http://cestlebonheur.com/news_/" title="凯发国际娱乐">凯发国际娱乐</a> | <a href="cestlebonheur.com://cestlebonheur.com://school.php1.cn/" title="凯发国际娱乐下载">凯发国际娱乐下载</a> | <a href="http://cestlebonheur.com/database_/" title="数据库技术">数据库技术</a> | <a href="http://cestlebonheur.com/server_/" title="服务器技术">服务器技术</a> | <a href="http://cestlebonheur.com/web_/" title="前端技术">前端开发技术</a> | <a href="http://cestlebonheur.com/phpframework.html" title="PHP框架">PHP框架</a> | <a href="http://cestlebonheur.com/tools_/">开发工具</a> | <a href="http://cestlebonheur.com/ask_/" title="PHP问答">PHP问答</a><BR /> Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有 <BR />       </div> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>