text/html

HTML document

DescriptionHTML document
File extensions.htm, .html
Based ontext/plain
Signature (magic bytes)3C 21 2D 2D (<!--)
3C 21 44 4F 43 54 59 50 45 20 48 54 4D 4C (<!DOCTYPE HTML)
3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C (<!DOCTYPE html)

Frequently asked questions

What is the MIME type text/html?

text/html denotes “HTML document”.

Which file extension does text/html use?

Files of type text/html usually end in .htm and .html.

How does a web server serve text/html correctly?

With the header Content-Type: text/html. In nginx: types { text/html htm html; }; in Apache: AddType text/html .htm .html.

Which formats are based on text/html?

Formats based on it include Mozilla bookmarks.

Formats based on it

Nearby entries