效果图:
实现代码:
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
h1{
text-align: center;
}
.info{
color: green;
}
em{
color: red;
}
p{
text-indent: 2em;
}
</style>
</head>
<body>
<h1>专业简历</h1>
<h2>个人信息</h2>
<div>
<ul>
<li >
<div class="info">个人信息</div>
<strong>姓名:</strong><span>张三</span>