成都创新互联网站制作重庆分公司

HTML头部元素是什么

这篇文章给大家分享的是有关HTML头部元素是什么的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

创新互联主营蛟河网站建设的网络公司,主营网站建设方案,成都app软件开发,蛟河h5小程序制作搭建,蛟河网站营销推广欢迎蛟河等地区企业咨询

HTML - 头部

HTML元素

元素包含了所有的头部标签元素。在 元素中你可以插入脚本(scripts), 样式文件(CSS),及各种meta信息。

可以添加在头部区域的元素标签为: , <style>, <meta>, <link>, <script>, <noscript>, <base>。</p><p>HTML<title>元素</p><p><title> 标签定义了不同文档的标题。</p><p><title> 在 HTML/XHTML 文档中是必须的。</p><p><title> 元素:</p><p>定义了浏览器工具栏的标题</p><p>当网页添加到收藏夹时,显示在收藏夹中的标题</p><p>显示在搜索引擎结果页面的标题</p><p>HTML<base>元素</p><p><base> 标签描述了基本的链接地址/链接目标,该标签作为HTML文档中所有的链接标签的默认链接。例如:</p><p><head></p><p><base href="http://www.baidu.com/" target="_blank"></p><p></head></p><p>HTML<link>元素</p><p><link> 标签定义了文档与外部资源之间的关系。</p><p><link> 标签通常用于链接到样式表:</p><p><head></p><p><link rel="stylesheet" type="text/css" href="mystyle.css"></p><p></head></p><p>HTML<style>元素</p><p><style> 标签定义了HTML文档的样式文件引用地址。在<style> 元素中你也可以直接添加样式来渲染 HTML 文档,例如:</p><p>复制代码</p><p><head></p><p><style type="text/css"></p><p>body {background-color:yellow}</p><p>p {color:blue}</p><p></style></p><p></head></p><p>复制代码</p><p>HTML<meta>元素</p><p>meta标签描述了一些基本的元数据。</p><p><meta> 标签提供了元数据.元数据也不显示在页面上,但会被浏览器解析。</p><p>META 元素通常用于指定网页的描述,关键词,文件的最后修改时间,作者,和其他元数据。</p><p>元数据可以使用于浏览器(如何显示内容或重新加载页面),搜索引擎(关键词),或其他Web服务。</p><p><meta> 一般放置于 <head> 区域</p><p><meta> 标签- 使用实例</p><p>为搜索引擎定义关键词:</p><p><meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript"></p><p>为网页定义描述内容:</p><p><meta name="description" content="免费 Web & 编程 教程"></p><p>定义网页作者:</p><p><meta name="author" content="Runoob"></p><p>每30秒钟刷新当前页面:</p><p><meta http-equiv="refresh" content="30"></p><p>HTML<script>元素</p><p><script>标签用于加载脚本文件,比如:js</p><p>HTML head元素总结</p><p><head>:定义文档的信息</p><p><title>:定义文档的标题</p><p><base>:定义页面链接标签的默认链接地址</p><p><link>:定义一个文档和外部资源之间的关系</p><p><meta>:定义了HTML文档中的元数据</p><p><script>:定义了客户端的脚本文件</p><p><style>:定义了HTML文档的样式文件</p><p>感谢各位的阅读!关于“HTML头部元素是什么”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!</p> <br> 当前标题:HTML头部元素是什么 <br> 网址分享:<a href="http://cxhlcq.com/article/ghgooi.html">http://cxhlcq.com/article/ghgooi.html</a> </div> </div> </div> <div class="other container"> <h3>其他资讯</h3> <ul> <li> <a href="/article/ddhdepg.html">腾讯云服务器登入失败 腾讯云服务器无法登录</a> </li><li> <a href="/article/ddhdepe.html">智能聊天订阅费 订阅plus</a> </li><li> <a href="/article/ddhdepj.html">帝国cms登陆判断 帝国cms移动端</a> </li><li> <a href="/article/ddhdehh.html">阿里云服务器研究生 阿里云 研究员</a> </li><li> <a href="/article/ddhdehp.html">go语言求2的n次方 go语言几次方怎么用</a> </li> </ul> </div> <div class="footer"> <div class="foota container"> <div class="foot_nav fl col-lg-8 col-md-8 col-sm-12 col-xs-12"> <ul> <li class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>网站制作</h3> <a href="http://www.myzwz.com/" target="_blank">绵阳网站制作</a><a href="http://chengdu.cdcxhl.cn/qiye/" target="_blank">企业网站制作</a><a href="https://www.cdxwcx.com/wangzhan/mbqiye.html" target="_blank">成都企业网站制作</a><a href="http://www.cdxwcx.cn/bj/" target="_blank">网站制作价格</a><a href="http://m.xwcx.net/" target="_blank">H5网站制作</a><a href="https://www.cdcxhl.com/mobile.html" target="_blank">手机网站制作设计</a> </li> <li class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>企业服务</h3> <a href="https://www.cdcxhl.com/ruanwen/" target="_blank">软文发布</a><a href="https://www.cdcxhl.com/ruanwen/yingxiao/" target="_blank">软文推广</a><a href="https://www.cdcxhl.com/shoulu/" target="_blank">免费收录网站</a><a href="https://www.cdcxhl.com/ruanwen/yingxiao/" target="_blank">软文发布平台</a><a href="https://www.cdcxhl.com/link/" target="_blank">友情链接购买</a><a href="https://www.cdcxhl.com/shoulu/" target="_blank">网站收录</a> </li> <li class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>网站建设</h3> <a href="http://www.cxjianzhan.com/baojia/" target="_blank">网站建设策划方案</a><a href="http://m.xwcx.net/wangzhan/" target="_blank">定制级高端网站建设</a><a href="http://www.cxhljz.com/" target="_blank">成都做网站建设公司</a><a href="http://www.cdweb.net/solve/" target="_blank">网站建设方案</a><a href="http://www.cxhlcq.com/mobile/" target="_blank">重庆移动网站建设</a><a href="http://www.cxjianzhan.com/" target="_blank">成都网站建设公司</a> </li> <li class="col-lg-3 col-md-3 col-sm-3 col-xs-6"> <h3>服务器托管</h3> <a href="https://www.cdcxhl.com/tuoguan/" target="_blank">IDC机房托管</a><a href="https://www.xwcx.net/" target="_blank">成都托管服务器</a><a href="https://www.cdcxhl.com/idc/ershu.html" target="_blank">二枢服务器托管</a><a href="https://www.cdxwcx.com/jifang/meishan.html" target="_blank">眉山服务器托管</a><a href="https://www.cdxwcx.com/jifang/yaan.html" target="_blank">雅安服务器托管</a><a href="https://www.cdcxhl.com/idc/zongshu.html" target="_blank">棕树服务器托管</a> </li> </ul> </div> <div class="footar fl col-lg-4 col-md-4 col-sm-12 col-xs-12"> <p>全国免费咨询:</p> <b>400-028-6601</b> <p>业务咨询:028-86922220 / 13518219792</p> <p>节假值班:18980820575 / 13518219792</p> <p>联系地址:成都市太升南路288号锦天国际A幢1002号</p> </div> </div> <div class="footb"> <div class="copy container"> <div class="fl">Copyright © 成都创新互联科技有限公司重庆分公司 <a href="https://beian.miit.gov.cn/" target="_blank">渝ICP备2021005571号</a></div> <!--<div class="fr"><a href="https://www.cdxwcx.com/" target="_blank">成都网站建设</a>:<a href="https://www.cdcxhl.com/" target="_blank">创新互联</a></div>--> </div> </div> <div class="link"> <div class="container"> 友情链接:: <a href="https://www.cdcxhl.com/" target="_blank">成都网站建设</a> <a href="https://www.cdcxhl.com/city/chongqing.html" target="_blank">重庆网站建设</a> <a href="">四川网站建设</a> <a href="">重庆建设网站</a> <a href="https://www.cdxwcx.com/jifang/xiyun.html" target="_blank">移动服务器托管</a> <a href="http://www.cdfuwuqi.com/" target="_blank">成都服务器托管</a> <a href="https://www.cdcxhl.cn/" target="_blank">云服务器</a> <a href="http://www.cdhuace.com/" target="_blank">广告设计制作</a> <a href="https://www.cdcxhl.com/sheji/chongqing.html" target="_blank">重庆网页设计</a> <a href="https://www.cdcxhl.com/zuo/chongqing.html" target="_blank">重庆做网站</a> <a href="https://www.cdcxhl.com/zhizuo/chongqing.html" target="_blank">重庆网站制作</a> <a href="">重庆网站建设</a> <a href="">重庆网站公司</a> <a href="">渝中网站制作</a> <a href="">重庆网站设计</a> </div> </div> </div> <div class="foot"> <ul class="public-celan"> <li> <a href="https://p.qiao.baidu.com/cps3/chatIndex?siteToken=6ce441ff9e2d6bedbdfc2a4138de449e&speedLogId=162260383240185e3_1622603832401_02407&eid=6256368&reqParam=%7B%22from%22%3A1%2C%22sessionid%22%3A%22-100%22%2C%22siteId%22%3A%2211284691%22%2C%22tid%22%3A%22-1%22%2C%22userId%22%3A%226256368%22%2C%22ttype%22%3A1%2C%22pageId%22%3A0%7D" target="_blank" class="a1 db tc"> <img src="/Public/Home/img/icon-23.png" alt="" class="db auto"> <span class="span-txt">在线咨询</span> </a> </li> <li> <a href="tel:18980820575" class="a1 db tc"> <img src="/Public/Home/img/icon-24.png" alt="" class="db auto"> <span class="span-txt">电话咨询</span> </a> </li> <li> <a target="_blank" href="tencent://message/?uin=1683211881&Site=&Menu=yes" class="a1 db tc"> <img src="/Public/Home/img/icon-25.png" alt="" class="db auto"> <span class="span-txt">QQ咨询</span> </a> </li> <li> <a target="_blank" href="tencent://message/?uin=532337155&Site=&Menu=yes" class="a1 db tc public-yuyue-up"> <img src="/Public/Home/img/icon-26.png" alt="" class="db auto"> <span class="span-txt">预约顾问</span> </a> </li> </ul> </div> <div class="customer"> <dl class="icon1"> <dt> <a href="tencent://message/?uin=1683211881&Site=&Menu=yes"> <i class="iconT"><img src="/Public/Home/img/QQ.png" alt=""></i> <p>在线咨询</p> </a> </dt> </dl> <dl class="icon2"> <dt><i><img src="/Public/Home/img/weixin.png" alt=""></i><p>微信咨询</p></dt> <dd><img src="/Public/Home/img/ewm.png"></dd> </dl> <dl class="icon3"> <dt><i><img src="/Public/Home/img/dianhua.png" alt=""></i><p>电话咨询</p></dt> <dd> <p>028-86922220(工作日)</p> <p>18980820575(7×24)</p> </dd> </dl> <dl class="icon4"> <dt class="sShow"> <a href="tencent://message/?uin=244261566&Site=&Menu=yes"> <i><img src="/Public/Home/img/dengji.png" alt=""></i><p>提交需求</p> </a> </dt> </dl> <dl class="icon5"> <dt class="gotop"> <a href="#top"> <i><img src="/Public/Home/img/top.png" alt=""></i><p>返回顶部</p> </a> </dt> </dl> </div> </body> </html> <script> $(".con img").each(function(){ var src = $(this).attr("src"); //获取图片地址 var str=new RegExp("http"); var result=str.test(src); if(result==false){ var url = "https://www.cdcxhl.com"+src; //绝对路径 $(this).attr("src",url); } }); window.onload=function(){ document.oncontextmenu=function(){ return false; } } </script>