HTML Elements
- html
- The root element of an HTML document.
- head
- Contains machine-readable information (metadata) about the document, like its title and scripts.
- title
- Defines the document's title that is shown in a browser's title bar or a page's tab.
- body
- Represents the content of an HTML document.
- h1
- Section heading level 1.
- h2
- Section heading level 2.
- h3
- Section heading level 3.
- h4
- Section heading level 4.
- h5
- Section heading level 5.
- h6
- Section heading level 6.
- p
- Represents a paragraph.
- span
- A generic inline container for phrasing content, which does not inherently represent anything.
- div
- The generic container for flow content.
- br
- Produces a line break in text (carriage-return).
- hr
- Represents a thematic break between paragraph-level elements.
- strong
- Indicates that its contents have strong importance, seriousness, or urgency.
- em
- Marks text that has stress emphasis.
- blockquote
- Indicates that the enclosed text is an extended quotation.
- code
- Displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code.
- ul
- Represents an unordered list of items.
- ol
- Represents an ordered list of items.
- li
- Represents an item in a list.
- a
- Creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.
- img
- Embeds an image into the document.
- video
- Embeds a media player which supports video playback into the document.
- audio
- Used to embed sound content in documents.
- form
- Represents a document section containing interactive controls for submitting information.
- input
- Used to create interactive controls for web-based forms in order to accept data from the user.
- label
- Represents a caption for an item in a user interface.
- button
- An interactive element activated by a user with a mouse, keyboard, microphone, voice command, or other assistive technology.
- textarea
- Represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text.
- select
- Represents a control that provides a menu of options.
- table
- Represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells.
- tr
- Defines a row of cells in a table.
- td
- Defines a cell of a table that contains data.
- th
- Defines a cell as header of a group of table cells.