Базовая структура HTML-документа

Разбираем базовую структуру HTML: от DOCTYPE до закрывающих тегов. Прокачай вёрстку без скуки и воды!

Бесплатная консультация юриста

+7 (800) 302-87-29

Реклама jurik.ru

Basic Structure

Key Components Explained
Declares the document type and HTML version (HTML5 in this case).
The root element that wraps all content on the page.

Contains metadata about the document:
— Character encoding
— Viewport settings
— (appears in browser tab)
— Links to CSS files
— Meta descriptions

Contains all visible content that appears in the browser.
Heading Tags

Section Heading

Subsection Heading

Paragraphs and Text

This is a paragraph of text.

Bold text
Italic text

Links

Clickable link text

Images

Description of image

Lists

  • Item one
  • Item two
  1. First step
  2. Second step

Tables

Header 1 Header 2
Row 1‚ Cell 1 Row 1‚ Cell 2

Forms