.htc HTML component

Text & source code

MIME typetext/x-component
DescriptionHTML component
AcronymHTML – HyperText Markup Language
CategoryText & source code
Based onapplication/xml

Frequently asked questions

What is a .htc file?

A .htc file is a “HTML component” (MIME type text/x-component). HTML stands for HyperText Markup Language.

How do I open a .htc file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .htc file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.htc shows the guessed type.

Which format is .htc based on?

Technically a .htc file is a subtype of “XML document” (application/xml), so programs for that base format can often read it too.

Which MIME type belongs to .htc?

The MIME type is text/x-component. In the Apache web server: AddType text/x-component .htc; in nginx: types { text/x-component htc; }.

Nearby entries