effect
- Full name
- Last Name
- first name
- address
- Zhejiang Province
- Hangzhou
- Zip Code
- code
HTML code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
dt,dd{
display: inline;
margin: auto;
}
dt:after{
content: ':';
}
dd + dt:before{
content: '\A';
white-space: pre-line;
}
dd + dd:before{
content: ','
}
</style>
</head>
<body>
<dl>
<dt>姓名</dt>
<dd>姓氏</dd><dd>名字</dd>
<dt>地址</dt>
<dd>浙江省</dd><dd>杭州市</dd>
<dt>邮编</dt>
<dd>code</dd>
</dl>
</body>
</html>
Reproduced in: https: //www.cnblogs.com/lisa-lin/p/5550424.html