HTML uses elements to identify headings, paragraphs, images and other page content. A browser interprets that structure and applies styling to present a page, which can then be saved or printed in another format.
Text-based markup can be edited by people or coding agents and checked with the same tools used for other source files. A clear structure helps readers and software navigate the resulting document.
ELI5
For example, a page might mark Event schedule as a heading and put each activity in a list. A browser can then render the heading and list in a consistent style.
If the first activity moves to a later time, someone can edit that line without rebuilding the whole page by hand.
Does markup determine every visual detail?
It describes content and structure. Styling and layout rules often live in a separate language such as CSS.
Can markup be used for slides and reports?
Yes. Browsers and other renderers can turn structured source into documents, presentations or printable output.

