Skip to main content
Technical MIME Specification & Web Server Guide

text/html

Technical overview, official IANA specification, header magic bytes, and server configuration snippets for .HTML files (HyperText Markup Language).

File Extension

.html

Content-Type Header

text/html

Format Category

Code & Web

Standard Specification

W3C HTML5 / RFC 2854

Description & Usage

Standard markup language for document structure on the World Wide Web.

HTTP Server Content-Type Configuration Code

# Nginx mime.types configuration for .html
types {
    text/html    html;
}

OS Compatibility Matrix

Windows
macOS
Linux
Android
iOS

Want to test header signatures or binary files?

Run binary magic byte inspection in Magic Byte Detector.

Preguntas frecuentes

Respuestas claras a las preguntas más habituales.

The official MIME content type for .html files is "text/html". Web servers use this header to instruct browsers how to render or process .html data.