DEVtoy
言語 · 日本語

HTMLプレビュー

HTMLとCSSをサンドボックスでプレビュー。スクリプトと外部リソースはブロックされます。

使い方

  1. 入力を貼り付けるか、下のサンプルを読み込みます。
  2. オプションを調整し、「HTMLをプレビュー」を選択します。
  3. 結果を確認し、コピーまたはダウンロードします。

アップロード不要。アカウント不要。処理はブラウザ内で完結します。

入力例
<!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>

関連ツール