您可以使用HTML和CSS来标注多个标签和颜色。以下是一个示例代码:
HTML:
标签1
标签2
标签3
CSS:
.tag {
display: inline-block;
padding: 5px;
margin-right: 5px;
border-radius: 5px;
font-weight: bold;
}
.red {
background-color: red;
color: white;
}
.blue {
background-color: blue;
color: white;
}
.green {
background-color: green;
color: white;
}
这段代码创建了三个带有不同颜色的标签。您可以根据需要添加更多的标签,并根据颜色类名自定义标签的外观。
上一篇:标注点图
下一篇:标注FacetGrid点图