DKFile
在线编辑器
AI精选工具库
保质期计算
DKFile博客
AI编程训练营
登录
注册
AI智能编辑器
实时预览 · AI辅助编程
我的项目
保存项目
发布上线
代码编辑器
格式化
清空
<!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> body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); margin: 0; padding: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; } .container { text-align: center; color: white; padding: 2rem; border-radius: 20px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); } h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; } .btn { background: rgba(255, 255, 255, 0.2); border: 2px solid rgba(255, 255, 255, 0.3); color: white; padding: 12px 30px; border-radius: 25px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; } .btn:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } </style> </head> <body> <div class="container"> <h1>🎉 欢迎来到DKFile</h1> <p>这是一个使用AI智能编辑器创建的网页</p> <a href="#" class="btn">开始探索</a> </div> <script> console.log('欢迎使用DKFile AI编辑器!'); // 添加一些交互效果 document.querySelector('.btn').addEventListener('click', function(e) { e.preventDefault(); alert('恭喜!您的第一个网页创建成功!'); }); </script> </body> </html>
实时预览
刷新
下载图片
AI编程助手
生成代码
优化代码
解释代码
快速模板
着陆页模板
产品展示页面
作品集模板
项目展示页面