Docsity

HTML Cheat Sheet by Pushaune: A Comprehensive Guide to HTML Tags and Attributes - Prof. Am, Papers of Programming Languages

Toggle sidebar
bg1
<h1 - h6>
Six levels of section headings
<hgroup>
Multi-level heading
<html>
Top level element of a HTML document
<a>
Hyperlink
<img>
Image
<svg>
Embed an SVG fragment
<path>
Generic element to define a shape
<rect>
Rectangle shape
<ellipse>
Ellipse shape
<polygon>
Set of connected straight line segments
<circle>
Circle shape
<line>
Line connecting two points
<polyline>
Basic shape, creates straight lines connecting several points
<stop>
Ramp of colors to use on a gradient
<animateMotion>
Move along a motion path
<mpath>
Reference an external <path>
<discard>
Timing discarded objects
<linearGradient>
Linear gradient
<animate>
Defines animation
<set>
setting the value of an attribute for a specified duration
<radialGradient>
Radial gradient
<animateTransform>
Transformation attribute
<canvas>
Element to draw graphics and animations
<embed>
Integrate external plug-in
<figure>
Self-contained content
<figcaption>
Caption or a legend associated with a figure
<iframe>
Nested browsing context
<object>
External resource
<param>
Defines parameters for an <object> element
<picture>
Multiple <source> elements for a specific <img>
<source>
Multiple media resources
<track>
Subtitles
<map>
Image map (a clickable link area)
<input>
types: button,
checkbox, color,
date, datetime-
local, email, file,
hidden, image,
month, number,
password, radio,
range, reset,
search, submit, tel,
text, time, url, week
<form>
Form container
<span>
Generic inline container for phrasing content
<br>
Line break in text
<hr>
Thematic break between paragraph-level elements
<table>
How to display tabular data
<caption>
The title of a table
<col>
A column within a table
<colgroup>
A group of columns within a table
<tr>
A row of a table
<thead>
A set of rows defining the head of the columns
<td>
A cell of a table that contains data
<tbody>
Groups one or more <tr> elements as the body of a <table>
<tfoot>
Defines a set of rows summarizing the columns of the table
<th>
Defines a cell as header of a group of cells
<area>
Spot region on a <map>
<button>
Clickable button
<audio>
Embed sound content
<textarea>
multi-line plain-
text editing control
<option>
Contained in <select>, <optgroup>, <datalist>
<video>
Embed video content
<select>
Menu of options
<optgroup>
Group of options within a <select> element
<fieldset>
Group several controls
<label>
Caption for an item in a user interface
<legend>
Caption for the content of its parent <fieldset>
<output>
Result of a calculation or user action
<strong>
Gives text strong importance
<em>
Give text stress emphasiss
<b>
No special importance, but in bold
<i>
No special importance, but in italic
<del>
Range of text that has been deleted
<p>
Paragraph
<head>
Metadatads about the document
<ul>
Unordered list of items
<body>
The HTML’s document content
<ol>
Ordered list of items
<header>
Introductory content
<li>
Item in a list
<footer>
Footer of the nearest sectioning content
<blockquote>
Extended quotation
<nav>
Navigation
<time>
Time or date
<var>
Variable
<aside>
Section connected tangentially to the main content
<abbr>
Abbreviation
<q>
Short quote
<address>
Article or body address
<cite>
Reference to a creative work
<code>
Display short code
<datalist>
Elements that represent the values available for other controls
<data>
Machine-readable translation
<dl>
Description list
<dt>
Term in a <dl> description list
<dd>
The description of a term in a <dl> description list
<details>
Disclosure widget that reveals more informations
<dfn>
The defining instance of a term
<ins>
Range of text that has been added
<noscript>
Unsupported or currently turned off in the browser
<defs>
Reuse of a graphical object
<font>
Defines a font to be used
<text>
Graphics element consisting of text
<textPath>
Drawn texte in a straight line
<progress>
The completion progress of a task
<kbd>
Keyboard elements or shortcuts
<g>
Group of SVG elements
<mark>
Highlighted text
<s>
No longer relevant or no longer accurate
<sub>
Subscript
<summary>
Summary, caption, or legend of a <details> element
<sup>
Exponent
<u>
Underline
<marker>
Mark the start, mid and end
<meter>
Scalar or fractional value
<samp>
Sample output from a computer program
<pre>
Preformatted text
<small>
Side-comments and small print
<mask>
Alpha mask for compositing
<fePointLight>
Point light effect
<pattern>
Graphics object which can be
redrawn
<feSpotLight>
Spotlight effect
<switch>
Choose between several objects
<link>
Document’s external source
<base>
The base URL to use for all relative URLs
<meta>
Metadata informations
<script>
Embed an executable script
<style>
Style informations
<title>
The title of the document
<section>
Standalone section
<article>
Self-contained composition
<div>
Generic container for flow content
<main>
Content of the document
Text
List
Code and system messages
Quotations
Head
Sectioning content
Data
SVG <!-- Shape elements -->
SVG <!-- Gradients -->
SVG <!-- Animations -->
SVG <!-- Container elements -->
SVG <!-- Fonts -->
SVG <!-- Light -->
Text-level semantics
Auto fermantes
Table
Miscellaneous
Media
Forms
How HTML works
g.attr.
g.attr.
xmlns | g.attr.
href | hreflang | ping | target | ping | referrerpolicy |
rel | type | download | g.attr.
usemap | srcset | src | sizes | referrerpolicy | longdesc |
ismap | width | height | crossorigin | alt | g.attr.
viewBox | contentStyleType |
contentScriptType | preserveAspectRatio
| height | width | y | x | baseProfile | version
| g.attr.
d | fillOpacity | pathLength |
g.attr.
ry | rx | y | x | height | width | g.attr.
rx | ry | cx | cy | g.attr.
points | g.attr.
r | cx | cy | g.attr.
x1 | x2 | y1 | y2 | g.attr.
points | g.attr.
offset | stop-color |
stop-opacity | g.attr.
origin | rotate | keyPoints | path | calc-
Mode | g.attr.
xlink:href | g.attr.
href | begin | g.attr.
xlink:href | spreadMethod | x1 | x2 | y1 | y2
| gradientTransform | gradientUnits | g.attr.
repeatCount | dur | to | from | attribu-
teType | attributeName | g.attr.
to | g.attr.
xlink:href | spreadMethod | fr | fy |
fx | r | cy | cx | gradientTransform |
gradientUnits | g.attr.
by | from | to | type |
attributeName | g.attr.
height | width |
g.attr.
src | type | height | width | g.attr.
g.attr.
g.attr.
srcdoc | src | referrerpolicy | name |
width | height | allowpaymentrequest |
allowfullscreen | g.attr.
width | usemap | typemustmatch | type
| name | height | form | data | g.attr.
value | name | g.attr.
g.attr.
media | type | srcset | src | sizes | g.attr.
srclang | src | label | kind | default |
g.attr.
name | g.attr.
width | value | tabindex | step | src | spellcheck
| size | selectionStart | selectionEnd | selection-
Direction | required | readonly | placeholder |
pattern | name | multiple | minlength | maxlength
| min | max | list | inputmode | height | formtarget
| formnovalidate | formmethod | formenctype |
formaction | form | disabled | checked | capture |
autofocus | autocomplete | accept | type | g.attr.
target | novalidate | name | method | enctype |
autocomplete | action | accept-charset | g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
span | g.attr.
span | g.attr.
cells | rowIndex |
sectionRowIndex | g.attr.
g.attr.
colspan | headers | rowspan |
g.attr.
g.attr.
g.attr.
colspan | headers |
rowspan | scope | g.attr.
target | shape | rel | referrerpolicy | media |
hreflang | href | download | coords | alt | g.attr.
value | type | name | formtarget
| formnovalidate | formmethod |
formenctype | formaction | name | form
| disabled | autofocus | g.attr.
volume | src | preload | played | muted | loop
| controls | buffered | autoplay | g.attr.
wrap | spellcheck | required | readonly |
placeholder | name | minlength | maxlength | form
| disabled | rows | cols | autofocus | autocomplete
| g.attr.
value | selected | label |
disabled | g.attr.
playsinline | width | poster | height | volume |
src | preload | played | muted | loop | controls |
crossorigin | buffered | autoplay | g.attr.
size | required | name | multiple | form |
disabled | autofocus | g.attr.
label | disabled | g.attr.
name | form | disabled | g.attr.
for | g.attr.
g.attr.
name | form | for | g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
cite | datetime | g.attr.
g.attr.
g.attr.
g.attr.
onafterprint | onbeforeprint | onbefo-
reunload | onblur | onerror | onfocus |
onhashchange | onload | onmessage
| onoffline | ononline | onpopstate |
onredo | onresize | onstorage | onundo |
onunload | onlanguagechange | g.attr.
reversed | start | type | g.attr.
g.attr.
value | g.attr.
g.attr.
cite | g.attr.
g.attr.
datetime | g.attr.
g.attr.
g.attr.
title | g.attr.
cite | g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
open | g.attr.
g.attr.
cite | datetime | g.attr.
g.attr.
g.attr.
horiz-origin-x | horiz-origin-y | horiz-adv-x |
vert-origin-x | vert-origin-y | vert-adv-y | g.attr.
x | y | dx | dy | text-anchor | rotate |
textLength | lengthAdjust | g.attr.
startOffset | method | spacing | href
| g.attr.
max | value | g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr. g.attr.
g.attr.
orient | markerHeight | markerWidth
| refX | refY | markerUnits | g.attr.
form | optimum | high | low | min | max
| value | g.attr.
g.attr.
g.attr.
g.attr.
maskContentUnits | height | width | x | y
| maskUnits | g.attr.
xml:base | xml:lang | xml:space |
tabindex | id | x | y | z
preserveAspectRatio | xlink:href |
patternUnits | patternContentUnits |
height | width | x | y | patternTransform
| g.attr.
limitingConeAngle | specularExponent |
pointsAtZ | pointsAtY | pointsAtX | xml:base |
xml:lang | xml:space | tabindex | id | x | y | z
g.attr.
as | crossorigin | href | hreflang | integrity |
media | rel | sizes | title | type | g.attr.
href | target | g.attr.
charset | content | http-equiv | name
| g.attr.
async | crossorigin | defer | integrity |
src | text | type | g.attr.
type | media | title | g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
g.attr.
<tag attr="push">
Hello world :)
</tag><!-- .push -->
Tag’s type
Attribute
Start tag
This Cheat Sheet is powered by PUShAUNE. It’s under the Creative Commons BY NC ND. - v.1.0 2017-10 - Crédits: Roboto font. and developer.mozilla.org https://www.pushaune.com
THE
ULTIMATE
HTML
CHEAT
SHEET
BY
PUShAUNE
CHECK OUT THE
ULTIMATE CSS
CHEAT SHEET:
inline tags | block tags | table-cell tags | Global attibutes (g.attr.): class
| id | accesskey | contenteditable | contextmenu | data-* | dir | draggable
| dropzone | hidden | itemid | itemprop | itemref | itemscope | itemtype |
lang | slot | spellcheck | style | tabindex | title | translate
Comment tag
End tag

Partial preview of the text

Download HTML Cheat Sheet by Pushaune: A Comprehensive Guide to HTML Tags and Attributes - Prof. Am and more Papers Programming Languages in PDF only on Docsity!

Six levels of section headings

Multi-level heading

Top level element of a HTML document

Hyperlink

Image

Embed an SVG fragment

Generic element to define a shape

Rectangle shape

Ellipse shape

Set of connected straight line segments

Circle shape

Line connecting two points

Basic shape, creates straight lines connecting several points

Ramp of colors to use on a gradient

Move along a motion path

_Reference an external _

Timing discarded objects

Linear gradient

Defines animation

setting the value of an attribute for a specified duration

Radial gradient

Transformation attribute

Element to draw graphics and animations

Integrate external plug-in

Self-contained content

Caption or a legend associated with a figure

Nested browsing context

External resource

Defines parameters for an element

_Multiple elements for a specific _

Multiple media resources

Subtitles

Image map (a clickable link area)

types: button, checkbox, color, date, datetime- local, email, file, hidden, image, month, number, password, radio, range, reset, search, submit, tel, text, time, url, week

Form container

Generic inline container for phrasing content


Line break in text

Thematic break between paragraph-level elements

How to display tabular data

The title of a table

A column within a table

A group of columns within a table

A row of a table

A set of rows defining the head of the columns

A cell of a table that contains data

_Groups one or more elements as the body of a _

Defines a set of rows summarizing the columns of the table

Defines a cell as header of a group of cells

_Spot region on a _

Clickable button

Embed sound content

, , _

Embed video content

Menu of options

Group of options within a element

Group several controls

Caption for an item in a user interface

_Caption for the content of its parent _

Result of a calculation or user action

Gives text strong importance

Give text stress emphasiss

No special importance, but in bold

No special importance, but in italic

Range of text that has been deleted

Paragraph

Metadatads about the document

Unordered list of items

The HTML’s document content

Ordered list of items

Introductory content

Item in a list

Footer of the nearest sectioning content

Extended quotation

Navigation

Time or date

Variable

Section connected tangentially to the main content

Abbreviation

Short quote

Article or body address

Reference to a creative work

Display short code

Elements that represent the values available for other controls

Machine-readable translation

Description list

Term in a description list

The description of a term in a description list

Disclosure widget that reveals more informations

The defining instance of a term

Range of text that has been added

Unsupported or currently turned off in the browser

Reuse of a graphical object

Defines a font to be used

Graphics element consisting of text

Drawn texte in a straight line

The completion progress of a task

Keyboard elements or shortcuts

Group of SVG elements

Highlighted text

No longer relevant or no longer accurate

Subscript

Summary, caption, or legend of a element

Exponent

Underline

Mark the start, mid and end

Scalar or fractional value

Sample output from a computer program

Preformatted text

Side-comments and small print

Alpha mask for compositing

Point light effect

Graphics object which can be redrawn

Spotlight effect

Choose between several objects

Document’s external source

The base URL to use for all relative URLs

Metadata informations