初始化数据可视化项目
This commit is contained in:
22
experiment_2/task3.html
Executable file
22
experiment_2/task3.html
Executable file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
|
||||
<title>SVG</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190">
|
||||
<!--
|
||||
绘制一个多边形,使用 points 属性定义顶点坐标。
|
||||
样式通过 style 属性设置,包括填充颜色、描边颜色、描边宽度和填充规则。
|
||||
-->
|
||||
<polygon points="100,10 40,180 190,60 10,60 160,180"
|
||||
style="fill: blue;
|
||||
stroke: greenyellow;
|
||||
stroke-width: 5;fill-rule: evenodd;" </svg>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user