<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>圆形</title>
</head>
<body>
<svg width="600" height="600" xmlns="http://www.w3.org/2000/svg" version="1.1">
<!-- 如果省略 cx cy ,则默认的圆心坐标是(0,0)
r: 圆的半径
-->
<circle r="100" cx="110" cy="110" stroke="red" stroke-width="10" fill="green" />
<!-- cx cy 圆心; rx ry: 长短轴半径 -->
<ellipse rx="100" ry="50" cx="250" cy="250" stroke="black" stroke-width="10" fill="yellow" />
</svg>
</body>
</html>
上述运行结果: