HTML (HyperText Markup Language)
HTML — основополагающий язык разметки Всемирной паутины. Он структурирует контент с помощью элементов для заголовков, абзацев, ссылок, изображений, форм и мультимедиа. Каждая веб-страница представляет собой HTML-документ, интерпретируемый браузерами для отображения визуального контента.
MIME-тип
text/html
Тип
Текст
Сжатие
Без потерь
Преимущества
- + Universal support in every web browser and email client
- + Semantic elements improve accessibility and SEO
- + Extensible with CSS for styling and JavaScript for interactivity
- + Human-readable source that is easy to inspect and debug
Недостатки
- − Verbose syntax compared to Markdown for simple content
- − Rendering inconsistencies between browsers require testing
- − Static HTML alone has limited interactivity without JavaScript
Когда использовать .HTML
Используйте HTML для веб-страниц, шаблонов электронной почты, сайтов документации и любого контента, который будет отображаться в браузере.
Технические детали
HTML использует дерево элементов (DOM), определённых открывающими и закрывающими тегами. Браузер разбирает HTML в Document Object Model, применяет CSS для стилизации и выполняет JavaScript для интерактивности.
История
Тим Бернерс-Ли создал HTML в 1991 году в CERN как часть проекта Всемирной паутины. W3C и WHATWG развивали язык через HTML 2.0 (1995), XHTML и текущий «живой стандарт» HTML (HTML5+).
Конвертировать из .HTML
Конвертировать в .HTML
Связанные форматы
Связанные термины
Learn More
CSS Units Explained: px, em, rem, vh, and When to Use Each
CSS offers over a dozen length units, each suited to different situations. Understanding the differences between absolute and relative units …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
Flexbox vs CSS Grid: A Practical Comparison
Flexbox and CSS Grid are complementary layout systems, not competitors. This guide clarifies when to reach for each one and …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …