编辑下面的代码:【加编码】
<html> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <path id="path1" d="M75,20 a1,1 0 0,0 100,0"></path> </defs> <text x="10" y="100" style="fill:red;"> <textpath xlink:href="#path1">I love SVG I love SVG</textpath> </text> </svg> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂