有兩種方法,推薦下面的方法:
<body>
……
<embed id="t1" src="svg/test01.svg" width ="1024" height ="768" type ="image/svg+xml" />
……
</body>
src指向svg圖形路徑
有兩種方法,推薦下面的方法:
<body>
……
<embed id="t1" src="svg/test01.svg" width ="1024" height ="768" type ="image/svg+xml" />
……
</body>
src指向svg圖形路徑