html中svg标签的简单实用
请看例子
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <svg width="100%" height="100%" > <path fill="none" stroke="#426ab3" stroke-linecap="butt" stroke-width="6" stroke-linejoin="round" stroke-opacity="1" transform="matrix(1,0,0,1,0,0)" d="M250 150 L150 350 L350 350 Z" /> <circle r="5" cx="250" cy="150" fill="#426ab3"/> <text style="font-size:15" x="220" y="300">I like svg</text> </svg> </body> </html>
相关推荐
mapaler 2020-07-17
MIKUScallion 2020-07-05
Dickzeng 2020-07-05
wallowyou 2020-06-28
hermanncain 2020-06-25
mapaler 2020-06-21
Dickzeng 2020-06-17
程序员俱乐部 2020-06-11
lanzhusiyu 2020-06-09
hermanncain 2020-05-09
Elena0 2020-04-11
Leonwey 2020-04-11
wallowyou 2020-03-05
jinxiutong 2020-02-10
jinxiutong 2020-02-03
mqbeauty 2020-01-08
mapaler 2020-01-17
Elena0 2020-01-12
mapaler 2020-01-05