在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 教程/ HTML/ SVG鏈接
SVG鏈接
SVG陰影效果
SVG線性漸變
SVG文本
SVG平面陰影
SVG圖表
SVG交互
SVG時(shí)鐘
SVG漸變
SVG <pattern>元素
SVG簡(jiǎn)介
SVG徑向漸變
SVG <filter>元素
SVG對(duì)話框效果
SVG形狀
SVG stroke屬性
SVG圖形
SVG教程
SVG事件監(jiān)聽(tīng)器
SVG加載器示例
SVG腳本(JavaScript)
SVG圖標(biāo)
SVG拖動(dòng)
SVG模糊效果

SVG鏈接

<a>元素用于創(chuàng)建超鏈接。 xlink:href屬性用于傳遞與URI(統(tǒng)一資源標(biāo)識(shí)符)互補(bǔ)的IRI(國(guó)際化資源標(biāo)識(shí)符)。

聲明

以下是<a>元素的語(yǔ)法聲明。 我們只顯示了一些主要的屬性。

<a
   xlink:show = "new" | "replace"
   xlink:actuate = "onRequest"
   xlink:href = "<IRI>"
   target = "_replace" | "_self" | "_parent" | "_top" | "_blank" | "<XML-Name>" >
</a>

屬性

編號(hào) 名稱 描述
1 xlink:show 用于XLink識(shí)別處理器的文檔目的。 默認(rèn)是new。
2 xlink:actuate 用于XLink識(shí)別處理器的文檔目的。
3 xlink:href 被引用對(duì)象的位置。
4 target 當(dāng)結(jié)束資源的時(shí)候使用。

示例

文件:testSVG.html -

<html>
   <title>SVG Linking</title>
   <body>

      <h1>Sample Link</h1>

      <svg width="800" height="800">
         <g>
            <a xlink:href="http://www.yiibai.com"> 
               <text x="0" y="15" fill="black" >
               Click me to load Yiibai DOT COM.</text>
            </a>
         </g> 

         <g>
            <text x="0" y="65" fill="black" >
            Click in the rectangle to load Yiibai DOT COM</text>

            <a xlink:href="http://www.yiibai.com"> 
               <rect x="100" y="80" width="300" height="100"
               style="fill:rgb(121,0,121);stroke-width:3;stroke:rgb(0,0,0)" /> 
            </a>
         </g>
      </svg>

   </body>
</html>

在Chrome瀏覽器中打開(kāi):textSVG.html 文件。