text/html
documento HTML
| Descripción | documento HTML |
|---|---|
| Extensiones | .htm, .html |
| Basado en | text/plain |
| Firma (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) |
Preguntas frecuentes
¿Qué es el tipo MIME text/html?
text/html designa «documento HTML».
¿Qué extensión usa text/html?
Los archivos de tipo text/html suelen terminar en .htm y .html.
¿Cómo sirve correctamente un servidor web text/html?
Con la cabecera Content-Type: text/html. En nginx: types { text/html htm html; }; en Apache: AddType text/html .htm .html.
¿Qué formatos se basan en text/html?
Entre los formatos basados en él están marcadores de Mozilla.
Formatos basados en él
- application/x-mozilla-bookmarks – marcadores de Mozilla