<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<title>冒號對齊</title>
<style>
.parent{display:flex}
.left{width:50%}
.left div{text-align: right;}
</style>
</head>
<body>
<div class='parent'>
<div class="left">
<div>
<span>姓名:</span>
</div>
<div>
<span>性別:</span>
</div>
<div>
<span>年齡:</span>
</div>
<div>
<span>居住地:</span>
</div>
<div>
<span>電話號碼:</span>
</div>
</div>
<div class="right">
<div>
<span>張三風</span>
</div>
<div>
<span>男</span>
</div>
<div>
<span>11</span>
</div>
<div>
<span>武當山</span>
</div>
<div>
<span>13900004444</span>
</div>
</div>
</div>
</body>
</html>