.HTM ファイル拡張子

Hypertext Markup Language File

開発元 WHATWG
人気度
3.7  |  271 
 
🔍.HTMファイルFile Helperでウェブブラウザから直接開けます。オンラインで表示

HTMファイルとは?

An HTM file is a webpage written using Hypertext Markup Language (HTML). It contains tags and text that define the webpage's layout and content. HTM files are the same as .HTML files.

詳細情報

Microsoft Visual Studio Codeで開いた.htmファイルのスクリーンショット
Microsoft Visual Studio Codeで開いたHTMファイル

Old versions of Windows limited file extensions to three characters. Thus, while other platforms' web development tools saved HTML webpages with the .html extension, Microsoft's web development software, such as FrontPage, SharePoint Designer, and Expression Web, saved HTML webpages with the .htm extension. Since the three-character limitation no longer exists in Windows, most modern web development tools save HTML webpages as HTML files by default.

Just like HTML files, HTM files contain webpage content and metadata. These elements are defined using opening and closing HTML tags. For example, the tag pair <body></body> defines where a webpage's body content begins and ends, while the tag pair <img></img> is used to add an image to a webpage.

Unless you are a web developer, you are unlikely to encounter an HTM file. Web developers attempting to use HTM files with modern web servers and hosting systems may have to rename the files to use the .html extension, as some servers and systems now expect HTML files to use the .html extension by default.

HTMファイルの開き方

HTM file open in Google Chrome
HTM file open in Google Chrome

You can open an HTM file with Microsoft Visual Studio Code (multiplatform) or any other text or source code editor, to view the HTML it contains. Opening an HTM file in a source code editor will highlight the file's HTML syntax, which makes reviewing and editing the file easier.

You can also open an HTM file in any web browser, such as Google Chrome (multiplatform), Microsoft Edge (multiplatform), or Apple Safari (Mac, iOS), to preview the webpage it contains.

HTMファイルを開くプログラム

カテゴリ: ウェブ
更新日: 2023-03-31

検証者 FileInfo.com

FileInfo.comチーム は、このページに掲載されているHypertext Markup Languageファイル形式とMac, Windows, Linux, Android, and iOSアプリについて独自に調査しました。 私たちの目標は100%の正確性であり、検証済みのファイルタイプに関する情報のみを公開しています。

このページへの追加や更新をご提案いただける場合は、お知らせください。