首页
极刻
圈子
教程
开源
登录 / 注册
返回教程:HTML参考手册
TRY RUN / 在线示例
HTML参考手册 CSS 实例:为页面规定默认文本字体
HTML参考手册 CSS 实例:为页面规定默认文本字体
源代码
运行
<html> <head> <style> body { font-size:50px; } </style> </head> <body> <h1>This is a header (headers are not affected by the font-size property)</h1> <p>This is a paragraph.</p> </body> </html>
运行结果