How to run HTML program - Notepad, Notepad++ and Sublime
If you are wondering or having trouble while running HTML program in your Browser then you are at the Right Place. Because in this tutorial we will know how to Run HTML program using popular texts editors like Notepad, Notepad++ and Sublime 3 text editors.
How to run HTML program using Notepad
Text Editors like Notepad (not notepad++) does not come with an option where you can run your HTML program directly using Notepad. To run the HTML program you will need to follow these steps: Step 1: Save HTML File (with .html extension Example : myfile.html).
Step 2: Find your Saved HTML file
Step 3: Double click on it.
Step 4: (Only if your File isn't opening in your Browser) Right Click on the HTML file
Step 5: Select the "Open With" option from there.
Step 6: Select any browser from there.
How to run HTML program using Notepad++
Text Editors like Notepad++ (Note Notepad) come with an option where you can run your HTML program inside a Web Browser directly using Notepad++ Application.
To run the HTML program you will need to follow these steps:
Step 1: Save your HTML file first (with .html extension Example : myfile.html)
Step 2: Click the "RUN" button from the top navigation bar.
Step 3: Select any Bowser from there.
Step 4: (Only if you are not able to see any browser there) Slect the "Run" button or Press F5 on your keyboard.
Step 5: Select that Little Button shown after that Input button.
Step 6: Here you have to Fund your Browser .EXE file.
Find it, Open it and Save it.
Need a Personal Tutor?
I am here to help you with your Programming journey. HTML, CSS, JavaScript, ReactJS, NextJS, C, C++, C#, SQL and more.
EXE file locations for Popular Browsers
-For chrome the .exe file's location is
C:\Program Files\Google\Chrome\Application
-For Firefox the .exe file's location is
C:\Program Files\Mozilla Firefox\firefox.exe
-For Opera the .exe file's location is (But put your/Computer Name at the place of UserNameHere)
C:\Users\UserNameHere\AppData\Local\Programs\Opera\launcher.exe
-For Opera GX Browser the .exe file's location is (But put your/Computer Name at the place of UserNameHere)
C:\Users\UserNameHere\AppData\Local\Programs\Opera GX\launcher.exe
How to run HTML program using Subline text 3
In sublime text 3, you can easily run your HTML program directly with 1-2 click
To run the HTML program using Sublime text 3 Follow these Easy steps:
Step 1. Save your HTML file (with .html extension for Example: myfile.html)
Step 2: Right-click on empty space in Sublime and you will see a small menu on your Screen.
Step 3: Select / Click "Open in Browser" from there.
It will open your HTML file inside your Default Web-Browser.
FAQ about How to run HTML program
How to run the html program
Top run the html program inside your web browser you need to follow these easy steps
Step 1: Find your HTML file
Step 2: Slect your HTML file
Step 3: Doubble click to run it inside web browser
Step 4: (Only if your File isn't opening in your Browser) Right Click on the HTML file
Step 5: Select the "Open With" option from there.
Step 6: Select any browser from there.
Need a Personal Tutor?
I am here to help you with your Programming journey. HTML, CSS, JavaScript, ReactJS, NextJS, C, C++, C#, SQL and more.
Run HTML from notepad++
To run html from notepad++ you will need to follow these steps:
Step 1: Save your HTML file first (with .html extension Example : filename.html)
Step 2: Click the "RUN" button from the top navigation bar.
Step 3: Select any Bowser from there.
Step 4: (Only if you are not able to see any browser there) Slect the "Run" button or Press F5 on your keyboard.
Step 5: Select that Little Button shown after that Input button.
Step 6: Here you have to Fund your Browser .EXE file.
Find it, Open it and Save it.
How to save html file on desktop
In Desktop you need to Use a Text Editor to Create and Save a HTML file. But if you already have created an HTML file in any Text Editor, Then you just need to Look for File Option in the Editors menu where you have created your HTML file. After clicking the File Menu you will see more Option Like Open,
Save,
Save As
and Print ETC.
Select Save from there.
Give your File a Name Followed by the .html Extension (Example: myfile.html) and Click the Save button to Save your HTML File.
How to create an HTML web page using notepad
This Tutorial is about how to Open, Create and Save HTML file using Notepad Text Editor. But if you want to create a Entire HTML Web-page using Notepad. Then you need to Know about HTML Tags, Paragraphs, Headings, Images, Div, CSS and Other Impotent HTML Elements to do that.
How do i save a text file as html?
If you wan to Save a Text file as HTML then you need to Rename it and change its File Extension from (.txt) to (.html). Or open that Text file in Notepad Text Editor and Select file from top Navigation bar. A File menu will appear on the Screen select Save As Option from there and Save your File with .html Extension.
Need a Personal Tutor?
I am here to help you with your Programming journey. HTML, CSS, JavaScript, ReactJS, NextJS, C, C++, C#, SQL and more.
How to open html file in chrome
To Open or Run an HTML file in Chrome Browser we need to Double click on that HTML file. It will Automatically will open in your Web Browser.
If you file Isn’t opening in your Browser, Then Right click on that HTML file and Select Open with option from there.
A small Menu with all the browser list will appear on the Screen. Select Chrome form there and You HTML file will open / Run on your Chrome Web Browser.
How to run html code in sublime text 3
To run html code in sublime text 3 Follow these Easy steps:
Step 1. Save your HTML file (with .html extension for Example: myfile.html) in sublime text 3
Step 2: Right-click on empty space in Sublime and you will see a small menu on your Screen.
How to run HTML program - Sublime Open in Browser
Step 3: Select / Click "Open in Browser" from Sublime text 3.
It will open your HTML file inside your Default Web-Browser.
On This Page
Need a Personal Tutor?
I am here to help you with your Programming journey. HTML, CSS, JavaScript, ReactJS, NextJS, C, C++, C#, SQL and more.