搜索文档
首页
HTML/CSS
JavaScript
服务端开发
Java教程
移动端
数据库
当前位置:
首页
HTML/CSS
CSS 教程
CSS 基础教程
源代码
清空
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Example of CSS font-style</title> <style> p.one { font-style: normal; } p.two { font-style: italic; } p.three { font-style: oblique; } </style> </head> <body> <p class="one">This is a normal paragraph.</p> <p class="two">这是一个段落 with italic font style.</p> <p class="three">这是一个段落 with oblique font style.</p> </body> </html>
运行结果