SVG 教程
SVG 意為可縮放矢量圖形(Scalable Vector Graphics)。
SVG 使用XML 格式定義圖像。
現在開始學習SVG!
SVG 實例
<html>
<body>
<h1>My first SVG</h1>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="50" r="40" stroke="black"
stroke-width="2" fill="red" />
</svg>
</body>
</html>
<body>
<h1>My first SVG</h1>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="50" r="40" stroke="black"
stroke-width="2" fill="red" />
</svg>
</body>
</html>
嘗試一下 »
點擊"嘗試一下"按鈕查看運行結果.
SVG 實例
我們可以在線編輯SVG 實例,並且在線查看運行結果!
SVG 參考手冊
在W3CSchool中, 我們為您提供完整的SVG 參考手冊,其中列出了所有W3C 推薦標準(SVG Version 1.1)中的SVG 的元素。