A blog for IT professionals who work with Windows on large networks.
My first instinct was to try the keyboard combination Ctrl-O to see if that shortcut for file open would work. Next, I turned to the URL used for accessing anything in a web browser. I think the issue is that TextEdit can view / edit rich text documents, so when you re-open the “test.htm” file TextEdit is trying to view it as a formatted document. To get around this, launch TextEdit. Click File “Open” Now, when you browse to the “test.htm” file – make sure the “Ignore rich text commands” checkbox is. I used to be able to open these files, a customers sends them to me as attachments in her e-mails, extension is.HTM only. I used to have this message after opening a few, and what I did was to close outlook and start again. This is not working, and I can't save them either in the hard disk or change the extension to save them. Notepad Plus Plus 5.2 can open, edit, create and print file extension ycdljrg9.HTM files Download Now Notepad Plus Plus Website Notepad is a free text and source code editor that supports syntax highlighting for most common languages. In order to check the app, I can run an html file to start the app. All my code is setup on my local machine running a local (wamp) server. When I click the little browser icon (Run in Browser) I want to browser open the file on localhost.
- Top 10 command-line commands for managing Windows 7 ...– SearchEnterpriseDesktop
- How to create an HTML5 and PHP file upload form for ...– TheServerSide.com
- Universal Naming Convention (UNC)– WhatIs.com
- Optimizing Storage Architectures for Edge Computing: 5 Design Considerations–Western Digital
- Three Tenets of Security Protection for State and Local Government and Education–Dell Technologies
- Observations From the Front Lines of Threat Hunting–CrowdStrike
- Observations from The Front Lines of Threat Hunting–CrowdStrike
I hang out on TenForums.com, to keep up with Windows news, technical developments, and troubleshooting tips and techniques. I also do what I can to give back to the community by responding to posts and questions there. This morning, something popped up that I hadn’t faced before. A user asked “How do I access a local HTML file in Edge?” while observing that the program includes no built-in menu tools to open local files. I knew there had to be multiple ways to access HTML files using Edge, so I set about learning how to make this happen.
How to Access HTML Files Using Edge
My first instinct was to try the keyboard combination Ctrl-O to see if that shortcut for file open would work. Nope, no dice.
Next, I turned to the URL used for accessing anything in a web browser. For nearly all browsers, some variation on a URL that starts with the characters “file:” will do the trick. And in fact, that works for Edge too. As with Explorer (and Chrome, Firefox, and others) this general URL structuring technique provides immediate access to local files:
file:///C:/directory/filename.html
Where the following observations and substitutions apply:
- file: is a protocol label (like http: for HTML documents) and must appear to access the local file system and structures
- /// is a mandatory separator between the protocol label and the following file specification
- C: is the drive specification for the volume in which the local file resides
- /directory/ is the directory specification within which the local file may be found
- filename.html is the filename for the HTML document (or other markup language file, such as XML, CSS, and so forth) that you wish to open in Edge
This real-world example actually reads file:///C:/Users/etitt/documents/02fig01.html fully expanded.
Of course, this also led me to think of another, perhaps faster or easier way to open such a document in Edge. One need only navigate to the file in File Explorer, right-click its listing entry, select “Open with…” from the resulting pop-up menu, and pick Edge as the application to use for that purpose. Done!
Another more permanent way to do this — unlikely in my case, because I don’t use Edge for everything on the Web — would be to change the application associated with HTML (.htm, .html, .mht, and other related file extensions) to Edge. You can do this using the Default Programs widget in Control Panel, if you were so inclined. My biggest issue with this is that there are a LOT of file extensions for which you’d need to make that association.
And finally, there are even more techniques for opening HTML files in Edge at the command line, or using C++. I’ll let the preceding links speak to those topics because those approaches don’t appeal to me much, if at all. (And the first of these other options is just a variation on the file: syntax item anyway). But as always, there are many ways to accomplish specific tasks in Windows, including opening web documents in the Edge browser. Enjoy!
Optional Offer for File Magic by Solvusoft | EULA | Privacy Policy | Terms | Uninstall
Which program should you use?
Your computer may be trying to use the wrong program to open the HTM file, or it may not have a program installed that can open the file. There are a few different programs you can use to open HTM files, including Hypertext Markup Language. Try downloading one or more of these from the manufacturer’s website.
What type of file is it?
The file type is the key to opening HTM files. HTM files are usually considered Web Files. You may already have a program on your computer that can open this type of file.
If the file type is unknown, you can find it in the file properties by following the steps below.
Windows:
- Right-click the file and click “Properties”.
- Look under “Type of File” for the file type.
Mac:
- Right-click the file and click “Properties'.
- Look under “Kind” for the file type.
Who developed the software?
If you can’t find the right program to open your HTM file, a software developer might be able to help you. Contact the developer of one of the most common programs for HTM files from the list below.
Software | Developer | |
---|---|---|
Hypertext Markup Language | is developed by | Windows Software |
Open HTM File - File-extensions.org
Why not try a universal file viewer?
A universal file viewer is a program that can open files with a wide range of extensions, depending on the file format. When you have HTM files you can’t open, a universal file viewer like File Magic (Download) can open it for you. Just remember that some files aren’t compatible with this type of program, and they will only open in binary format.
Recommended Download
HTM File - What Is It And How Do I Open It?
Optional Offer for File Magic by Solvusoft | EULA | Privacy Policy | Terms | Uninstall