zoukankan      html  css  js  c++  java
  • CSS标签学习笔记(一)

    <base> 标签为页面上的所有链接规定默认地址或默认目标。

    通常情况下,浏览器会从当前文档的 URL 中提取相应的元素来填写相对 URL 中的空白。

    使用 <base> 标签可以改变这一点。浏览器随后将不再使用当前文档的 URL,而使用指定的基本 URL 来解析所有的相对 URL。这其中包括 <a>、<img>、<link>、<form> 标签中的 URL。

    <meta>标签

    1.Keywords(关键字)  
      说明:keywords用来告诉搜索引擎你网页的关键字是什么。  
      举例:<META   NAME   ="keywords"   CONTENT="life,   universe,   mankind,   plants,    
      relationships,   the   meaning   of   life,   science">    
       
      2.description(简介)  
      说明:description用来告诉搜索引擎你的网站主要内容。  
      举例:<META   NAME="description"   CONTENT="This   page   is   about   the   meaning   of    
      life,   the   universe,   mankind   and   plants.">

    <map>标签

    定义一个客户端图像映射。图像映射(image-map)指带有可点击区域的一幅图像。

    实例

    带有可点击区域的图像映射:

    <img src="planets.jpg" border="0" usemap="#planetmap" alt="Planets" />
    
    <map name="planetmap" id="planetmap">
      <area shape="circle" coords="180,139,14" href ="venus.html" alt="Venus" />
      <area shape="circle" coords="129,161,10" href ="mercur.html" alt="Mercury" />
      <area shape="rect" coords="0,0,110,260" href ="sun.html" alt="Sun" />
    </map>
    
  • 相关阅读:
    【提高测试】飘雪圣域(树状数组)
    【BZOJ2820】YY的GCD(莫比乌斯反演)
    【BZOJ2301】【HAOI2011】—Problem b(莫比乌斯反演)
    【POJ2318】—TOYS(计算几何)
    React-状态提升
    React-表单
    React-条件渲染
    React-列表 & Key
    React-HelloWorld
    MongoDB中的读写锁
  • 原文地址:https://www.cnblogs.com/johnwonder/p/1680065.html
Copyright © 2011-2022 走看看