The br tag is used to insert a line break.
The hr tag is used to create a horizontal line.
The strong tag is used to make text bold (important).The em tag is used to emphasize text (usually italic).The b tag is used to make text bold.The i tag is used to make text italic.The u tag is used to underline text.The a tag is used to create a hyperlink.
The ul tag is used to create an unordered (bulleted) list.
The ol tag is used to create an ordered (numbered) list.
The li tag is used to create a list item.
The div tag is used to group block-level elements.
The span tag is used to group inline elements.
The th tag defines a table header.
The td tag defines a table cell.
The section tag is used to define a thematic section of content.
Great point 👍 — “thematic” can feel vague if you’re learning HTML.
Here’s a clearer, beginner-friendly explanation with examples.
The section tag is used to group related content together under a common topic.
It usually has a heading and contains content that belongs to the same subject.
Examples:
- A chapter in an article
- A part of a webpage like "Features", "Services", or "Contact"
- A group of related information on the same topic
Example in a real webpage
Our Services
We offer web design, branding, and marketing.
Testimonials
Our clients love our work.
👉 Each contains content about one specific topic.
The article tag is used to define independent, self-contained content.The header tag is used to define introductory content or a group of navigational links.The main tag is used to define the main content of a document.The figcaption tag is used to add a caption to a figure.
The mark tag is used to highlight text.
The summary tag is used as a clickable heading for details.
The details tag is used to create expandable/collapsible content.
The meter tag represents a measurement within a range.
The address tag is used to define contact information.
The blockquote tag is used for long quotations.
The q tag is used for short inline quotations.
The cite tag is used to reference the title of a work.
The code tag is used to display code.
The pre tag is used to display preformatted text.
The kbd tag represents keyboard input.The samp tag represents sample program output.The var tag represents a variable.
The abbr tag is used for abbreviations.
The data tag links content with machine-readable data.
The bdi tag isolates text for bidirectional text formatting.
The bdo tag overrides text direction.
The wbr tag suggests a word break opportunity.