answersLogoWhite

0


Best Answer

To open an HTML page, all you have to do is double-click the HTML file and it will be opened by your default browser. Hope this helps :)

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

You can use scripts - js/c#/vb to open files. I am not sure about HTML

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What code in HTML should you use to open a file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What program do you use to open HTML documents?

You can open them with different things. A browser will display the web page. Any text editor should be able to open the actual file so you can see the code. Anything that can open a text file, like a word processor, will open a html file. Specialise html editors and programs like Dreamweaver can also open html documents.


How do you run HTML notpad code?

To "run" HTML code, you simply need to open it using a web browser. This can be done by placing the file on the server and pointing the browser to it, or you can use the native "Open File..." command in the browser itself. If you want to learn HTML you can visit one of the websites in the related links.


How do you convert the HTML file in to text file?

All HTML files are text files. You can open them with any text editor, such as Notepad. When a browser opens the file, it reads it and displays the html as a web page. If you open a html file in a text editor or a word processor or other such application, you will see the actual html code, which is just ordinary text. So you don't need to convert HTML files into text, as they are already text files. All you need is something to open them with, other than a browser.


How do you display HTML code in windows?

HTML is a code language for markup. "Executing" would mean interpreting in this context, i.e. opening the file in a browser (displaying the page) rather than a text editor (displaying the code itself).


How do you pull up your HTML code?

You can pull up your HTML code by right clicking the code and hitting, View Source. This will open the HTML code and you can format it.

Related questions

How do you get rid of HTML?

open HTML file, delete "code", save file


What program do you use to open HTML documents?

You can open them with different things. A browser will display the web page. Any text editor should be able to open the actual file so you can see the code. Anything that can open a text file, like a word processor, will open a html file. Specialise html editors and programs like Dreamweaver can also open html documents.


How do you run HTML notpad code?

To "run" HTML code, you simply need to open it using a web browser. This can be done by placing the file on the server and pointing the browser to it, or you can use the native "Open File..." command in the browser itself. If you want to learn HTML you can visit one of the websites in the related links.


How do you convert the HTML file in to text file?

All HTML files are text files. You can open them with any text editor, such as Notepad. When a browser opens the file, it reads it and displays the html as a web page. If you open a html file in a text editor or a word processor or other such application, you will see the actual html code, which is just ordinary text. So you don't need to convert HTML files into text, as they are already text files. All you need is something to open them with, other than a browser.


How do you preview your HTML pages?

just open the HTML file in a web browser.


How do you display HTML code in windows?

HTML is a code language for markup. "Executing" would mean interpreting in this context, i.e. opening the file in a browser (displaying the page) rather than a text editor (displaying the code itself).


How do you pull up your HTML code?

You can pull up your HTML code by right clicking the code and hitting, View Source. This will open the HTML code and you can format it.


Long form of HTML?

To code HTML, you'll need a text editor such as Notepad or Notepad++. You can write your HTML code in there and save the pages as "something.html". Make sure you have the ".html" extension. If you double click the file you have made, it will open up a web browser and you'll see what your HTML has done.


How do you test an HTML layout?

Insert your HTML layout into an HTML file (Such as, "page.html"). The Major Operating Systems (Windows, Macs, Linux) can open a local HTML file by double-clicking on the file icon (Or navigating to it in your browser).


How do you insert a web file in Notepad?

If you are talking about a Htm or html file, its as simple as: FILE>OPEN>DOCUMENT.HTM


How do you create an HTML file?

We write HTML coding in notepad and save it with .html extension. It will automatically open with internet explorer


How do run a program html javascript?

Open a file in a text editor. Then save is as my_custom_name.html . Then paste whatever html code you have, or simply write some. Then, in the head, either write <script type="text/javascript"> //write code here </script> or you can link to an external javascript page. http://www.w3schools.com/js/js_whereto.asp then just open the html document with a browser. You can do this by (on a mac) right clicking, and selecting 'open with', and then choose a browser. You can also do it by doing file:///Users/your_user/your_file_path/my_custom_name.html. eg. file:///Users/jake/Documents/example_folder/an_additional_folder/example.html.