HTML (HyperText Markup Language) is the fundamental language of web sites. Not programming โ a markup language. The first step in web development.
How HTML works
A text file (.html). The browser renders the tags into a visual page.
Document structure
DOCTYPE, html, head (metadata), body (content).
Core tags
h1-h6 (headings), p (paragraph), a (link), img (image), ul/ol/li (lists).
Semantic HTML
header, nav, main, article, section, aside, footer. Better for SEO and accessibility.
Forms
form, input, textarea, select, button. Collect user data.
Attributes
id, class, style, data-*. Extra information for tags.
First page
Text editor โ index.html โ standard structure โ open in a browser.
HTML and CSS
HTML for structure, CSS for design. Inline, internal, external. Best practice โ external.
HTML and JavaScript
JavaScript adds interactivity. script tag.
Sayt.uz
Custom PHP CMS but the final output is HTML5. Semantic HTML, Schema markup.