Online Html Editor And Viewer
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time.
About the Project
Overview
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time. It features a text area for HTML input and displays the rendered HTML output directly on the same page. Users can also drag and drop HTML files into the editor for easy file-based editing.
Features
- Real-Time HTML Preview: Write HTML code in the text area and see the rendered output immediately.
- Drag-and-Drop HTML File Support: Drop HTML files into the editor to load and preview their content.
- Dynamic Style Handling: Extracts and applies styles from
<style>tags in the HTML content.
Installation
-
Clone the Repository
git clone https://github.com/RasikhAli/Online-HTML-Editor-and-Viewer.git cd online-html-editor-viewer -
Create a Virtual Environment
python -m venv venv -
Activate the Virtual Environment
- On Windows:
venv\Scripts\activate - on macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install Dependencies
pip install -r requirements.txt -
Run the Application
python app.pyNavigate to http://127.0.0.1:5000/ in your web browser to use the application.
-
Usage
HTML Editing: Type or paste your HTML code into the text area. Preview: See the rendered HTML output below the editor. File Upload: Drag and drop HTML files into the text area to load their content. -
Contributing Feel free to fork the repository, make changes, and create pull requests. For any issues or feature requests, please open an issue on GitHub.
Project Gallery
Project Timeline
Technologies
External Links
Related Projects
Projects built with similar technologies.
Qrgen
A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.
Examina Ai
Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.
Bulk Name Checker
A high-performance web application for entrepreneurs, marketers, and developers who need to validate name availability at scale.