html

References

Summary

HTML is a markup language

Tags

Non-semantic tags are general ones that don't tell you anything specific about the element

Html

Top-level element

Metadata

Base

Specifies the base URL for all relative ones

Contains info like title, scripts, and style-sheets

Specifies relationship between current document and an external resource

Style

CSS info that will impact only this page

Title

Document title shown in the browser title bar

Meta

Other metadata that doesn't fall into one of the above categories

Body

Contains the content of the document

Content

Address

Contact info

Article

Self-contained composition

Aside

Only indirectly related to the main content

Footer for the nearest ancestor

Intro content

h1, h2, …

Section heading levels (h1 is the highest)

Hgroup

Heading grouped with secondary content

Main

The main content

Navigation menus, tables of contents, indexes

Section

Generic standalone section

Searching or filtering

Text Content

Blockquote

div

Generic container for flow content

dl

Description list

  1. dt

    Term in a description list

  2. dd

    Provides description for preceding item in a description list

Figure

Figcaption

hr

Represents a thematic break between paragraph-level elements

p

Any structural grouping of related content

Lists

  1. ul

    Unordered list of items

  2. Menu

    The same as <ul>, but just has a more specific name

  3. ol

    Ordered list of items

  4. li

    Item in a list

Pre

Preformatted text

Inline Text Semantics

a

Creates hyperlink

span

Generic container for phrasing content

Abbr

Abbreviation / acronym

b

Used to draw reader's attention to the element's content

em

Marks text that has stress emphasis if you said it out loud

i

Text that is different from the rest for some reason

strong

Indicates importance or urgency

bdi

bdo

br

Linebreak

Cite

Code

Data

dfn

Marks a word that is being defined by its ancestor

kbd

Mark

Used to mark something as relevant (not necessarily important)

q

Inline quotation

ruby

  1. rt

  2. rp

s

samp

small

Side comments and fine print

sub

Subscript

  1. sup

    Superscript

Time

To mark a date or time

u

To mark the text as having some non-textual annotation

Var

Variable in a math or computer science contextp

Wbr

Word break opportunity

Embedded Things

SVG

Math

Embed

FencedFrame

IFrame

Nested browsing content

Img

Embeds and image

Map

Track

Video

Audio

Area

Object

Picture

Source

Scripting

Canvas

Noscript

It displays to the user when a script type can't be viewed by them for some reason

Script

Used to embed executable code or data

Forms

Button

Table Content