实例首页
自学教程
IT工具箱
源代码
下载代码
上下布局
点击运行 >
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>css display inline 实例 - 自学教程(runoops.com)</title> <style> p { display: inline; } </style> </head> <body> <p>display 属性的值为 "inline"的结果</p> <p>两个元素显示在同一水平线上。</p> </body> </html>
运行结果: