帮我用html画个圆圈
<!DOCTYPE html>
<html>
<head>
<title>画圆圈</title>
<style>
.circle {
width: 100px;
height: 100px;
border-radius: 50%;
background-color: red;
}
</style>
</head>
<body>
<div class="circle"></div>
</body>
</html>
<p>这是一个简单的HTML代码,使用CSS的border-radius属性来实现圆圈的效果,将宽度和高度设置为相等的值,边框半径设置为50%,即可画出一个圆形。可以在样式中修改圆圈的大小、颜色等属性。</p>
原文地址: https://www.cveoy.top/t/topic/EgM 著作权归作者所有。请勿转载和采集!