-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
Description
我是需要渲染markdown里面的html代码示例:
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8" />
<title>font-style_CSS参考手册_web前端开发参考手册系列</title>
<meta name="author" content="Joy Du(飘零雾雨), [email protected], www.doyoe.com" />
<style>.test p{margin:15px 0;border:1px solid #000;}.normal p{font-style:normal;}.italic p{font-style:italic;}.oblique p{font-style:oblique;}</style>
</head>
<body>
<ul class="test">
<li class="normal"> <strong>正常的字体:</strong> <p>本段文字将显示为正常的字体。</p> </li>
<li class="italic"> <strong>斜体:</strong> <p>本段文字将显示为斜体。</p> </li>
<li class="oblique"> <strong>倾斜的字体:</strong> <p>本段文字将显示为倾斜的字体。</p> </li>
</ul>
</body>
</html>效果如下:
css中的一些属性值均重复,html正常
