HTML
topic name here
note here
Anchor element
download
Causes the browser to treat the linked URL as a download. Can be used with or without a filename value
Without a value
the browser will suggest a filename/extension
filename
defining a value suggests it as the filename
href
The URL that the hyperlink points to
referrerpolicy
How much of the referrer to send when following the link, e.g. no-referrer: the Referer header will not be sent
target
Where to display the linked URL (a tab, window, or <iframe>)
_self
current browsing context. (Default).
_blank
Open in a new tab.
embeds an image into the document.
src
The image URL. Mandatory for the <img> element.
srcset
One or more strings separated by commas.
sizes
One or more strings separated by commas.
media condition
This must be omitted for the last item in the list.
size
source size value
alt
Defines text that can replace the image in the page
fetchpriority
priority to use when fetching the image, Allowed values:
high
high-priority fetch relative to other images
low
low-priority fetch relative to other images
auto
automatic determination of fetch priority
height
height of the image, in pixels. Must be an integer without a unit.
width
width of the image, in pixels. Must be an integer without a unit.
loading
Indicates how the browser should load the image.
eager
Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value).
lazy
Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser
represents a self-contained composition
indicates that the enclosed HTML provides contact information
presented as sidebars or call-out boxes.
block quotation element
Document Body element
Button element
autofocus
if the button should have input focus
disabled
button unineractable
referrerpolicy
How much of the referrer to send when following the link, e.g. no-referrer: the Referer header will not be sent.
target
Where to display the linked URL (a tab, window, or <iframe>)
The Graphics Canvas element.
The Table Caption element.
Inline Code element.
The HTML Data List element.
The Details disclosure element.
The Dialog element.
The Content Division element.
The Embed External Content element.
The Figure Caption element.
The Figure with Optional Caption element.
The Footer element.
The Form element.
The HTML Section Heading elements.
The Document Metadata (Header) element.
The Header element.
The Heading Group element.
The Thematic Break (Horizontal Rule) element.
The HTML Document / Root element.
The Inline Frame element.
The Input (Form Input) element.
The Keyboard Input element.
The Label element.
The List Item element.
The External Resource Link element.
The Main element.
The metadata element.
The HTML Meter element.
The Navigation Section element.
The Noscript element.
The External Object element.
The Ordered List element.
The Option Group element.
The HTML Option element.
The Output element.
The Paragraph element.
The Picture element.
The Preformatted Text element.
The Progress Indicator element.
The Script element.
The generic search element
The Generic Section element.
The HTML Select element.
The Media or Image Source element.
The Content Span element.
The Subscript element.
The Disclosure Summary element.
The Superscript element.
The Table element.
The Table Body element.
The Table Data Cell element.
The Textarea element.
The Table Foot element.
The Table Header element.
The Table Head element.
The Document Title element.
The Table Row element.
The Unordered List element.
describing which file types to allow.
describing which file types to allow.
makes the element not mutable, focusable, or even submitted with the form.
it indicates the form element that this label describes.
defines the maximum value that is acceptable and valid for the input.
defines the maximum string length that the user can enter into an <input>.
defines the minimum value that is acceptable and valid for the input.
defines the minimum string length that the user can enter into an <input>.
means the form control accepts one or more values. Valid for the email and file input types and the <select>.
specifies a regular expression the form control's value should match
defines the text displayed in a form control when the control has no value.
when present, makes the element not mutable, meaning the user can not edit the control.
defines the relationship between a linked resource and the current document.
if present, indicates that the user must specify a value for the input.
defines the width of the <input>.
number that specifies the granularity that the value must adhere to or the keyword any. It is valid for the numeric input types.
rendered as simple push buttons
rendered by default as boxes that are checked (ticked) when activated
provide a user interface element that lets a user specify a color
let the user enter a date, either with a textbox that validates the input or a special date picker interface
create input controls that let the user easily enter both a date and a time
let the user enter and edit an email address
let the user choose one or more files from their device storage to upload or manipulate.
let web developers include data that cannot be seen or modified by users
used to create graphical submit buttons
create input fields that let the user enter a month and year.
let the user enter a number. and reject non-numerical entries
provide a way for the user to securely enter a password
used in radio groups—collections of radio buttons describing a set of related options.
let the user specify a numeric value which must be no less than a given value, and no more than another given value
button that resets all inputs in the form to their initial values
text fields designed for the user to enter search queries into
attempts to submit the form to the server
used to let the user enter and edit a telephone number
create basic single-line text fields
create input fields designed to let the user easily enter a time (hours and minutes, and optionally seconds)
used to let the user enter and edit a URL
input fields allowing easy entry of a year plus the ISO 8601 week number during that year