Online Html Editor And Viewer
COMPLETED

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

  1. Clone the Repository

    git clone https://github.com/RasikhAli/Online-HTML-Editor-and-Viewer.git
    cd online-html-editor-viewer
    
  2. Create a Virtual Environment

    python -m venv venv
    
  3. Activate the Virtual Environment

    • On Windows:
      venv\Scripts\activate
      
    • on macOS/Linux:
      source venv/bin/activate
      
  4. Install Dependencies

    pip install -r requirements.txt
    
  5. Run the Application

    python app.py
    

    Navigate to http://127.0.0.1:5000/ in your web browser to use the application.

  6. 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.
    
  7. 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

Screenshot 1

Project Timeline

Jul 2024 - Jul 2024

Technologies

JavaScriptHTMLCSSPython

Related Projects

Projects built with similar technologies.

Qrgen
COMPLETED
Jupyter NotebookHTMLPython

Qrgen

A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.

Rasikh Ali
Examina Ai
COMPLETED
TypeScriptPythonCSS+2 more

Examina Ai

Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.

Rasikh Ali
Bulk Name Checker
COMPLETED
TypeScriptCSSJavaScript

Bulk Name Checker

A high-performance web application for entrepreneurs, marketers, and developers who need to validate name availability at scale.

Rasikh Ali