HTML 預覽
在沙箱中預覽 HTML 與 CSS。預覽會封鎖指令碼與遠端資源。
使用方式
- 貼上輸入內容或載入下方範例。
- 調整選項後按「預覽 HTML」。
- 檢查結果後複製或下載。
無需上傳、無需帳號,處理完全於瀏覽器內完成。
輸入範例
<!doctype html><html><head><style>body{font:16px system-ui;padding:24px;color:#18324b;background:#f0f7fc}article{max-width:560px;padding:24px;background:white;border-radius:16px}h1{color:#087f8c}li{margin:8px 0}code{background:#eef2f6;padding:3px 6px}</style></head><body><article><p>DEVtoy · Release notes</p><h1>Build something useful</h1><p>Preview <strong>HTML</strong> and <em>inline styles</em> together.</p><ul><li>Semantic headings and lists</li><li>Unicode: café, 日本語, 👋</li><li>Code: <code>npm run build</code></li></ul><blockquote>Small details make better tools.</blockquote><a href="https://example.com/docs">Read the documentation</a></article></body></html>