📄 svg_examples.asp@output=print
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SVG Examples</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
<h1>SVG Examples</h1>
<a href="svg_grad_radial.asp"><img border="0" src="../images/btn_previous.gif" alt="prev" width="100" height="20" /></a>
<a href="svg_reference.asp"><img border="0" src="../images/btn_next.gif" alt="next" /></a>
<hr />
<h2>View SVG Files</h2>
<p>You cannot view SVG files if you do not have an SVG viewer installed.</p>
<p><b>Note:</b> Firefox 1.5 and Opera 9 have native SVG support. If you are using
one of these
browsers, you do not need to install an SVG viewer.</p>
<p><a target="_blank" href="../../www.adobe.com/svg/viewer/install/default.htm">Download
an SVG Viewer for FREE from Adobe</a>.</p>
<h2>View SVG Source</h2>
<p>To view the SVG source, open the example and right-click in the example
window. Select "View Source".</p>
<hr />
<h2>SVG Examples</h2>
<h3>SVG Shapes</h3>
<p>
<a target="_blank" href="rect1.svg">A rectangle</a><br />
<a target="_blank" href="rect2.svg">A rectangle with opacity</a><br />
<a target="_blank" href="rect3.svg">A rectangle with opacity 2</a><br />
<a target="_blank" href="rect4.svg">A rectangle with rounded corners</a><br />
<a target="_blank" href="circle1.svg">A circle</a><br />
<a target="_blank" href="ellipse1.svg">An ellipse</a><br />
<a target="_blank" href="ellipse2.svg">Three ellipses on top of each other</a><br />
<a target="_blank" href="ellipse3.svg">Two ellipses</a><br />
<a target="_blank" href="line1.svg">A line</a><br />
<a target="_blank" href="polygon1.svg">A polygon with three sides</a><br />
<a target="_blank" href="polygon2.svg">A polygon with four sides</a><br />
<a target="_blank" href="polyline1.svg">A polyline</a><br />
<a target="_blank" href="path1.svg">A path</a><br />
<a target="_blank" href="path2.svg">A spiral</a>
</p>
<h3>SVG Filters</h3>
<p>
<a target="_blank" href="filter1.svg">A feGaussianBlur filter</a><br />
<a target="_blank" href="filter2.svg">Another feGaussianBlur filter</a><br />
<a target="_blank" href="feblend_1.svg">A feBlend filter</a><br />
<a target="_blank" href="fecolormatrix_1.svg">A feColorMatrix filter</a><br />
<a target="_blank" href="fecomponenttransfer_1.svg">A feComponentTransfer filter</a><br />
<a target="_blank" href="feoffset_1.svg">A feOffset filter</a><br />
<a target="_blank" href="femerge_1.svg">feOffset, feFlood, feComposite, feMerge, and feMergeNode</a><br />
<a target="_blank" href="femorphology_1.svg">A feMorphology filter</a></p>
<p>
<a target="_blank" href="filter_1.svg">Filter 1</a><br />
<a target="_blank" href="filter_2.svg">Filter 2</a><br />
<a target="_blank" href="filter_3.svg">Filter 3</a><br />
<a target="_blank" href="filter_4.svg">Filter 4</a><br />
<a target="_blank" href="filter_5.svg">Filter 5</a><br />
<a target="_blank" href="filter_6.svg">Filter 6</a><br />
</p>
<h3>SVG Gradients</h3>
<p>
<a target="_blank" href="linear1.svg">Grad linear (horizontal gradient)</a><br />
<a target="_blank" href="linear3.svg">Grad linear (vertical gradient)</a><br />
<a target="_blank" href="radial1.svg">Grad radial</a><br />
<a target="_blank" href="radial2.svg">Grad radial 2</a>
</p>
<h3>SVG Misc</h3>
<p>
<a target="_blank" href="a_1.svg">Add an <a> element to a rectangle. The rectangle will act as a hyperlink</a><br />
<a target="_blank" href="a_2.svg">Use a JavaScript to create an a element when the user clicks on a circle</a>
</p>
<p>
<a target="_blank" href="animate_1.svg">Rectangle that repeatedly fade away over 5 seconds</a><br />
<a target="_blank" href="animate_2.svg">Animate the x, y, width, and height attributes of a rectangle and change the color of the rectangle</a>
</p>
<p>
<a target="_blank" href="animatecolor_1.svg">Three rectangles that will change color</a>
</p>
<p>
<a target="_blank" href="animatemotion_0.svg">Text that will move along a motion path</a><br />
<a target="_blank" href="animatemotion_1.svg">Text that will move, rotate and scale along a motion path</a><br />
<a target="_blank" href="animatemotion_2.svg">Text that will move, rotate and scale along a motion path + a rectangle that will "grow" and change color</a>
</p>
<hr />
<a href="svg_grad_radial.asp"><img border="0" src="../images/btn_previous.gif" alt="prev" width="100" height="20" /></a>
<a href="svg_reference.asp"><img border="0" src="../images/btn_next.gif" alt="next" width="100" height="20" /></a>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -