日本語のREADMEはこちらです: README.ja.md
A simple, browser-based editor for learning and practicing HTML, powered by the Monaco Editor.
Try it live: https://code4fukui.github.io/htmlprac/
- Code Editor: Monaco-powered editor with HTML syntax highlighting.
- On-Demand Preview: Render your HTML in a side-by-side preview pane by clicking "見てみる" (Preview) or pressing
Ctrl+S. - File Handling: Save your work as a timestamped
.htmlfile and load local files back into the editor. - Auto-Correction: Automatically fixes common HTML mistakes (e.g., full-width characters to half-width) when you preview the code.
- Load from URL: Pre-load code into the editor from an external file using a query parameter.
- Share via URL: Share code snippets directly by encoding them in the URL hash.
- Open the demo page.
- Write Code: Type your HTML into the editor panel on the left.
- Preview: Click the 見てみる (Preview) button or press
Ctrl+Sto update the rendered output in the right-hand panel. - Save/Load:
- Click SAVEする (Save) to download your code as an
.htmlfile. - Click LOADする (Load) to open a local
.htmlfile in the editor.
- Click SAVEする (Save) to download your code as an
You can pre-populate the editor with code using URL parameters.
-
From an external file: Use the
urlquery parameter to fetch and load code from a raw text or HTML file.https://code4fukui.github.io/htmlprac/?url=URL_TO_YOUR_RAW_HTML_FILE -
From the URL hash: Embed HTML directly into the URL's hash to share small snippets.
https://code4fukui.github.io/htmlprac/#<h1>Hello%20from%20URL!</h1>
This project is created and maintained by Code for FUKUI.
MIT License — see LICENSE.