text/html
Dokument HTML
| Opis | Dokument HTML |
|---|---|
| Rozszerzenia | .htm, .html |
| Bazuje na | text/plain |
| Sygnatura (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) |
Najczęstsze pytania
Czym jest typ MIME text/html?
text/html oznacza „Dokument HTML”.
Jakie rozszerzenie ma text/html?
Pliki typu text/html mają zwykle rozszerzenie .htm i .html.
Jak serwer WWW powinien poprawnie wysyłać text/html?
Z nagłówkiem Content-Type: text/html. W nginx: types { text/html htm html; }; w Apache: AddType text/html .htm .html.
Jakie formaty bazują na text/html?
Formaty pochodne to m.in. Zakładki Mozilla.
Formaty pochodne
- application/x-mozilla-bookmarks – Zakładki Mozilla