Html File extension. What is the HTML file extension? Program for reading HTML files

💖 Do you like it? Share the link with your friends

How to create an HTML file, open, edit, convert and what is its difference from HTM:

Files with the HTM or HTML extension are files written in hypertext markup language ( Hypertext Markup Language), which are standard web pages.

Since HTM files are text files, they contain only text, as well as text links to other external files. For example, the pictures in this article.

HTM and HTML files can contain links to other file types - for example, video, CSS or JS files.

How to open an HTM or HTML file

Any browser, such as Internet Explorer, Firefox, Chrome, Opera, etc., will open and display HTM and HTML files correctly.

There are many programs designed to make editing and creating HTM/HTML files easier. The most popular editors are Eclipse, Komodo Edit, and Bluefish.

Another popular editor with a huge number additional features is Adobe Dreamweaver, however it is not available for free use.

You can also use simple text editor to make changes to the HTM or HTML file. Notepad++ is probably the best option. "Notepad" included in the operating room Windows systems also works with HTML files. But it was designed to solve other problems. Therefore, before opening an HTML file, you need to get used to its features.

How to convert to HTM and HTML files

The structure of HTM files is built in a special way and has a very specific syntax. This is done to ensure that the code and the text within it display properly when opened in a browser.

Therefore, converting an HTM or HTML file to another format will result in the loss of the web page. But if you want to convert an HTM or HTML file to another format for easier viewing, for example, an image or a PDF file, then this is done very simply.

To convert a web page to PDF in the browser Google Chrome, in the “Print” menu, select “Save as PDF”.

Also for Google browser Chrome extension Full Page Screen Capture is available. It converts a file opened in the browser into PNG format. Other browsers also have similar tools and extensions.

In addition, you can use special services designed for converting HTM/HTML files, such as iWeb2Shot, Convert Webpage, or Web-capture.

Note: It is important to understand that you cannot convert an HTM/HTML file to any other format other than text. For example, it cannot be converted to an MP3 audio file.

HTM vs HTML: what's the difference?

To know how to open an HTML file on your computer, let's first understand the differences between the two web page formats.

In addition to the letter " L", of course...

Short answer: there is no difference.

Long answer: there is no difference, but be careful when using one or another extension.

Previously, during the days of MS-DOS, file extensions were limited to three letters. For a relatively short period of time, when HTM and HTM ruled the world, HTML did not exist.

Today, web pages that end in both HTM and HTML are completely acceptable.

The server hosting the web page may require you to use a specific HTML file extension. For example, index.html or index.htm . If you are unsure which extension to use, contact your hosting provider.

This publication is a translation of the article “WHAT IS AN HTM OR HTML FILE? ", prepared by the friendly project team

HTML is a “web” page presented as a file. In other words, this is a kind of file extension, as well as a markup language used on the World Wide Web.

With its help, we can not only view the content of sites, but also create “web” pages.

The language itself was created by an English scientist named Tim Berners-Lee. Its development was carried out in Geneva in the building of the European Center for Nuclear Research, around 1986 - 1991. Initially, HTML was supposed to be a language that would allow the exchange of technical and scientific documentation among ordinary people (that is, those who are not any specialists in the field of design layout). However, later, it became the basis for the “life” of the Internet.

HTML is a tagged markup language, due to which, regular user can create a relatively simple, yet beautifully designed document.

How to open a html file. Instructions.

Method number 1. Using a text editor.

If you need to make any changes to a file of this format, you need to open it using a text editor. This can be done using standard program"Notebook". But it is best to use the Notepad++ program. It allows you to quickly find the required “piece” of code, highlights syntax, is intuitive, and so on.

1. Before opening the html extension file, you need to download this program and then install it.

2. Now click on required file Right-click, hover over the "Open with" option and select "Notepad++". (If the program is located in the main menu, as shown in, then clicking on the “Open with” item is not necessary).

3. A window with a “code” will open in front of you, which you can now edit.

Method number 2. Using a web browser.

If you just want to view the file you downloaded/created, then . Moreover, it can be anything, be it Opera, Mozilla or Chrome.

Double-click on your file with the left mouse button. If nothing happens, then right-click on it and select the “Open with” option. Then select the required (most frequently used) browser from the pop-up menu.

In these simple ways you can both edit and open your html files.

In the course of studying theoretical material on HTML language Some users have a question: how paste html file into web browser? Like, already written html code, view in browser. See , so to speak, the result of the work done.

As we have already agreed, we write our html code in the Notepad program (but no one forbids using other editors, Notepad++, for example, which is even more convenient).

And so, open the Notepad program and write some html code in it. Let's take the html code from the last lesson.

</span><span>

"Description" content=" Description of the page">



True, such html code will not give us anything in the browser. Required between tags And

write something else, for example a title and a couple of paragraphs:

Everything is working

We add these three lines to our html code and get code like this:

</span><span>title of the document (web page)</span><span>

"Description" content=" Description of the page">

Checking the result of writing html code

Everything is working



Save our file: click file → save as

In the window that opens, select the folder in which we will save the file, enter the file name (for example, dokument), change the file extension .txt to .html, and set the file type to “All files”.


To open our file in a browser, hover the mouse pointer over the file, right-click, in the window that opens, select “Open with” and select the browser we are using.

Next lesson - .

(10 ratings, average: 5,00 out of 5)

Every webmaster knows what HTML is: it is a hypertext markup language, with the help of which the site’s markup, its structure, framework, and foundation are created. Majority web pages on the Internet have an HTML extension.

In this article, we will figure out how to open an HTML file on a computer, what are the ways to open a document with the HTML extension, and what programs can run this type of file.

How to open an HTML file (document) on a computer

There are several options for how to open an HTML file (document) on your computer.

If you look closely at the file image, you can see that this is an image of your default browser. In this case it is Opera. If the default browser is Google Chrome, then the Chrome icon will be visible. Etc.

If you double-click with the left mouse button on a local file with the HTML extension, it will open viewing in the browser.

But you’ve already tried it and you know it, so let’s move on to the second option.

The second option involves opening the source code of the HTML file. To do this you should:


The best program to open HTML files | reading HTML documents

We have already figured out that you can open an HTML file on your computer using Notepad and WordPad. This is not the best option for reading and viewing HTML documents. Every webmaster knows that specialized programs are better suited for such work; they provide much more opportunities due to expanded functionality.

One of the most best programs to open, edit, HTML creation files is the text editor Notepad++.

The main advantages of Notepad++:

  1. This is a free open-source text editor source code. Well, how can you not resist a freebie...
  2. Syntax highlighting. HTML, CSS, PHP, JS are visually highlighted in it, which greatly simplifies viewing and editing code and text.
  3. Autocompletion, automatic closing of brackets and tags.
  4. Ability to work with several documents at once using convenient tabs.
  5. The search function is really something. You can find the fragment you are looking for not only within one document, but also search in many files at once, within the specified folder.

This is just a small part of the advantages that I have identified for myself. To write everything down functionality a separate article will be required. In addition, standard functions can be expanded by installing additional plugins, then Notepad++ turns into a whole “harvester”.

Programs for opening HTML documents

Of course, besides Notepad++, there are other programs with which you can open HTML files, view code, and edit them.

Some of them are paid, some are free.

Microsoft Internet Explorer

Microsoft Internet Explorer

Microsoft Internet Explorer or most commonly known as Internet Explorer was developed by Microsoft in 1995. It is a graphical web browser which is included as part of the different versions of Microsoft Windows operating systems. It is one of the commonly used browsers of most Windows users. Since its first release in 1995, different versions have come out, the latest one being the Internet Explorer 10. It was designed in order to give its users the capability of viewing large range of web pages and at the same time be able to give it users features that can be used within the operating system that is installed on their computer which includes Microsoft Update. It uses the same accessibility framework which was also provided in computers that run Windows. It is also known as an interface being used when running FTP.

Mozilla Firefox

Google Chrome

Google Chrome is a web browser that was developed by Google and is being offered for free. Webkit rendering engine is being used in order to display different web pages. It allows its users to have the capability of creating shortcuts on their desktops which has the ability to launch different web applications using the browser. Users have the ability of installing different themes for Google Chrome which can be done by accessing option. Google Chrome was released in three different channels which are the Beta, Developer and Stable. A beta version was released for Android which allows its users to synchronize this with the ones that they have on their desktop in order for them to have the same browser tabs as well as bookmarks together with hardware acceleration and page pre-rendering. An iOS version was also released for Apple devices.

Apple Safari

Apple Safari is a type of Web browser that is integrated on most Mac computers, particularly those with operating systems Mac OS X and iOS. However, there is also a version of this Web browser found in later versions of Microsoft Windows, which are Windows 7, Windows Vista and Windows XP. Many features are found and designed on Safari, which include the following: a resizable Web search box using Yahoo!, Google or Bing, bookmark management and integration with Address book, inbuilt password management using Keychain, bookmark search with history, expandable text boxes, option to save webpage clips that are viewable on Apple Dashboard, auto-fill of Web forms, support for ICC color profile, PDF viewing, integration of iPhoto, private browsing, popup ad blocking tool, Quartz style font smoothing, spelling checker, Web feeds reading and subscription, mail integration, and support for CSS animation and CSS 3 Web fonts. Among the newest and improved features are Smart Search field, iCloud tabs, tab view and sharing of photos or posting of status to Facebook or Mail.

Microsoft Notepad

Microsoft Notepad

Notepad is a basic text editor used to create plain documents. It is commonly used to view or edit text (.txt) files, and a simple tool for creating Web pages, and supports only the basic formatting in HTML documents. It also has a simple built-in logging function. Each time a file that initializes with .log is opened, the program inserts a text timestamp on the last line of the file. It accepts text from the Windows clipboard This is helpful in stripping embedded font type and style codes from formatted text, such as when copying text from a Web page and pasting into an email message or other “What You See Is What You Get† text editor. The formatted text is temporarily pasted into Notepad, and then immediately copied again in stripped format to be pasted into the other program. Simple text editors like Notepad may be used to change text with markup, such as HTML. Early versions of Notepad offered only the most basic functions, such as finding text. Newer versions of Windows include an updated version of Notepad with a search and replace function (Ctrl + H), as well as Ctrl + F for search and similar keyboard shortcuts. It makes use of a built-in window class named edit. In older versions such as Windows 95, Windows 98, Windows Me and Windows 3.1, there is a 64k limit on the size of the file being edited, an operating system limit of the EDIT class.

tell friends