点 Self
首页
工具
切换主题
登录
首页
在线工具
HTML 预览
收藏
分享
在线编辑 HTML 代码,实时预览页面渲染效果
收藏
分享
全部工具
Markdown 预览
分屏
编辑
预览
复制 HTML
重置
清空
全屏
HTML 代码
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>示例页面</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .card { background: white; border-radius: 16px; padding: 40px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2); max-width: 400px; } .card h1 { font-size: 24px; color: #333; margin-bottom: 12px; } .card p { color: #666; line-height: 1.6; margin-bottom: 20px; } .btn { display: inline-block; padding: 10px 24px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 8px; text-decoration: none; font-weight: 500; transition: transform 0.2s; } .btn:hover { transform: scale(1.05); } </style> </head> <body> <div class="card"> <h1>HTML 预览</h1> <p>在左侧编辑器中编写 HTML 代码,右侧将实时渲染预览效果。支持内联 CSS 和 JavaScript。</p> <a class="btn" href="#">开始使用</a> </div> </body> </html>
实时预览
使用帮助
在线编辑 HTML 代码,实时预览页面效果
实时预览
编辑代码即时显示页面
分屏模式
左右分栏,编辑预览同时看
全屏预览
专注查看渲染效果
工具反馈
登录更有效
很棒
一般
需要改进
评价