<-Back to Main Page

[HTML CHART]

---> HTML CHART IS A WORK IN PROGRESS. (Next: Javascript) <---
TAG (html) PURPOSE EXAMPLE CATEGORY
<!DOCTYPE> States document type and version of HTML ( Must be at the top ) Tooltip Image Declaration
<html> Wraps the HTML document Tooltip Image HTML Element
<head> Contains metadata, links to CSS, scripts/other head elements Tooltip Image Document Metadata
<title> Names top bar in browser tabs Tooltip Image Document Metadata
<meta> (meta charset="UTF-8") Sets character encoding (ex UTF-8) /// (meta name="description") Describes the page (for browsers). /// (meta name="keywords") Keywords for SEO. /// (meta name="author") Names the author of website /// (meta name="viewport") Provides responsive layout for all screen sizes. Tooltip Image Document Metadata
<link> Defines the relationship of the current document and an external resource. Tooltip Image Document Metadata & External Resource
<style> Defines style information (CSS) for a document. Tooltip Image Document Metadata & Embedded Style
<script> Used to embed executable code or data. (usually to embed or refer to JavaScript code) Tooltip Image Script & Interaction
<base> Specifies base URL (and/or) target for all relative URLs in a document. Tooltip Image Document Metadata & Base URL/td>
<body> Defines main content of a page. Contains all elements displayed in the browser. Tooltip Image Content Section & Layout
<header> Used for containing nav / intro items. Tooltip Image Sectioning Content & Layout
<nav> Defines section of navigation links Tooltip Image Sectioning Content & Layout/td>
<main> Represents dominant content of a (body) of a document Tooltip Image Sectioning Content & Layout
<section> Defines theme grouping of content. (usually with a heading, that represents a single piece of content) Tooltip Image Sectioning Content & Layout
<article> Defines Self contained, independent content that can be distributed or reused on its own.(used for blogs, news, or forums usually) Tooltip Image Sectioning Content & Layout
<aside> Represents content connected to the main content. Tooltip Image Sectioning Content & Layout
<footer> Defines a footer for a document or a specific section (small words). Tooltip Image Sectioning Content & Layout
<div> Organizes related elements into a single block. Tooltip Image Generic Container & Layout
<span> Container to clean up a part of a text, or a part of a document.(does not break the flow of text) Tooltip Image Generic Inline Container & Layout
<h1> to <h6> Defines headings by sizes 1-6. 1 being the largest and 6 being the smallest text. Tooltip Image Heading & Text Content
<p> Defines a paragraph. Used at both ends of a text block. Tooltip Image Sectioning Content & Text Content
<br> Inserts 'line break' (enter next line below previous line of text) within writing. Self-closing tag (does not require end tag).">Defines a paragraph. (style with CSS) Tooltip Image Line Break & Text Content
<hr> "Horizontal Rule" defines theme breaks in content. Used to visually seperate sections of content within a website. Tooltip Image Thematic Break & Text Content
<blockquote> Defines block of text that is quoted from an external source. Tooltip Image Sectioning Content & Text Content
<pre> Defines preformatted text. Tooltip Image Preformatted Text & Text Content
<code> Defines piece of computer code. Inline element displaying contents of a browsers default font. Tooltip Image Computer Code & Text Content
<kbd> IIndicates keyboard input. Commonly used to define shortcuts (ex-ctrl+alt+del) Tooltip Image User Input & Text Content
<samp> Represents sample output from a computer program. Often used to display results from a program as well as sample output. Tooltip Image Sample Output & Text Content
<var> Defines mathematical variables in expressions or programming context. Content usually displayed in italics font. Tooltip Image Variable & Text Content
<b> Used to make text BOLD. Only for visual purposes. Tooltip Image Styling & Text Content
<strong> Defines strong importance, usually displayed in bold. Implise importance rather than just for style. Tooltip Image Strong Importance & Text Content
<i> Used to make text italic. Only for visual purposes. Tooltip Image Styling & Text Content
<em> (emphasis) displays emphasis in a text. Implise importance and emphasis. Tooltip Image Emphasis & Text Content
<mark> Used to highlight a block of text. Tooltip Image Highlighted Text & Text Content
<small> Used for reducing font size of text box. Tooltip Image Fine Print & Text Content
<del> (deleted) Used to mark deleted text. Tooltip Image Deleted Text & Text Content
<ins> (insert) used to mark text that has been inserted, usually displayed with an underline by default. Tooltip Image Inserted Text & Text Content
<sub> (subscript) used to define subscript text, usually appearing slightly below surrounding text. Tooltip Image Subscript & Text Content
<sup> (superscript) used to make text appear half a character above the normal line, sometimes smaller font. Tooltip Image Superscript & Text Content
<ul> Used to present text as a bulleted list. Tooltip Image Unordered List
<ol> (ordered list) used to present text as a numbered list. EXAMPLE HOVER Ordered List]
<li> Tooltip Image List Item
<dl> PURPOSE HOVER Tooltip Image Description List
<dt> PURPOSE HOVER Tooltip Image Description Term
<dd> PURPOSE HOVER Tooltip Image Description Definition
<a> PURPOSE HOVER Tooltip Image Hyperlink
href="" PURPOSE HOVER Tooltip Image Attribute of (a)...URL
target="_blank" PURPOSE HOVER Tooltip Image Attribute of (a)...Browsing Context & Tab
<img> PURPOSE HOVER Tooltip Image Embedded Image & Media
<picture> PURPOSE HOVER Tooltip Image Responsive Image / Media
<source> PURPOSE HOVER Tooltip Image Media Source / Media
<figcaption> PURPOSE HOVER Tooltip Image Figure Caption / Media
<figure> PURPOSE HOVER Tooltip Image Self-contained Content / Media
<audio> PURPOSE HOVER Tooltip Image Audio Content / Media
<video> PURPOSE HOVER Tooltip Image Video Content / Media
<track> PURPOSE HOVER Tooltip Image Text Track for Media / Media
<embed> PURPOSE HOVER Tooltip Image External Content / Media
<object> PURPOSE HOVER Tooltip Image External Content / Media
<iframe> PURPOSE HOVER Tooltip Image Inline Frame & Media
<form> PURPOSE HOVER Tooltip Image Form Container & User Input
<input> PURPOSE HOVER Tooltip Image Forms & Input
<textarea> PURPOSE HOVER Tooltip Image Multiline Input & User Input
<button> PURPOSE HOVER Tooltip Image Button Control & User Input
<select> PURPOSE HOVER Tooltip Image Drop-down List & User Input
<option> PURPOSE HOVER Tooltip Image Option in Select & User Input
<datalist> PURPOSE HOVER Tooltip Image Predefined Options & User Input
<output> PURPOSE HOVER Tooltip Image Result of Calculation & User Input
<progress> PURPOSE HOVER Tooltip Image Progress Bar & User Input
<meter> PURPOSE HOVER Tooltip Image Scalar Measurement & User Input
<script> PURPOSE HOVER Tooltip Image Embedded Script & Script Interaction
<noscript> PURPOSE HOVER Tooltip Image Fallback Content & Script Interaction
<canvas> PURPOSE HOVER Tooltip Image Graphics Drawing & Script Interaction
<template> PURPOSE HOVER Tooltip Image Template Content & Script Interaction
<slot> PURPOSE HOVER Tooltip Image Web Component Slot & Script Interaction
<summary> PURPOSE HOVER Tooltip Image Summary & Semantic
<details> PURPOSE HOVER Tooltip Image Disclosure Widget & Semantic
<dialog> PURPOSE HOVER Tooltip Image Dialog Box & Semantic
<time> PURPOSE HOVER Tooltip Image Datetime & Semantic
<abbr> PURPOSE HOVER Tooltip Image Abbreviation & Semantic
<cite> PURPOSE HOVER Tooltip Image Citation & Semantic
<address> PURPOSE HOVER Tooltip Image Contact Information & Semantic
<bdi> PURPOSE HOVER Tooltip Image Bi-Directional Isolation & Semantic
<bdo> PURPOSE HOVER Tooltip Image Bi-directional Override & Semantic
<data> PURPOSE HOVER Tooltip Image Machine-readable Data & Semantic
<wbr> PURPOSE HOVER Tooltip Image Word Break Opportunity & Semantic
<rp> PURPOSE HOVER Tooltip Image Ruby Parentheses & Semantic
<rt> PURPOSE HOVER Tooltip Image Ruby Text & Semantic
<ruby> PURPOSE HOVER Tooltip Image Ruby Annotation & Semantic