<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 一、概述 SVG 是使用 XML 來描述二維圖形和繪圖程序的語言,SVG 于 2003 年 1 月 14 日成為 W3C 推薦標準,所有瀏覽器均支持 SVG 文件,可以直接顯示,由于它是xml文件格式,所以,可被非常多的工具讀取和修改(比如記事本); * SVG 指可伸縮矢量圖形 (Scalable Vector Graphics) * SVG 用來定義用于網絡的基于矢量的圖形 * SVG 使用 XML 格式定義圖形 * SVG 圖像在放大或改變尺寸的情況下其圖形質量不會有所損失 * SVG 是萬維網聯盟的標準 * SVG 與諸如 DOM 和 XSL 之類的 W3C 標準是一個整體 ## 二、實例 ``` <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg"> <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/> </svg> ``` 效果: ![](https://img.kancloud.cn/33/7d/337d975f0456914dad14494fbdd9af98_157x111.png) ## 三、在HTML 頁面中使用方式 1、`<embed>` 標簽 ~~~ <embed src="rect.svg" width="300" height="100" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" /> ~~~ 2、`<object> `標簽 ~~~ <object data="rect.svg" width="300" height="100" type="image/svg+xml" codebase="http://www.adobe.com/svg/viewer/install/" /> ~~~ 3、`<iframe>` 標簽 ~~~ <iframe src="rect.svg" width="300" height="100"> </iframe> ~~~ ## 四、vue中使用 通過vue-svg-icon-loader; ## 五、svg定義 由`<svg>`作為頂級容器的,各種svg元素標簽組成的xml文件;具體的svg元素參考手冊:https://www.w3school.com.cn/svg/svg_reference.asp
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看