Attributes Flashcards
(blockquote) cite
the URL of the cited content
(li) value
provides a number for an li in an ol
(ol) reversed
numbers the list in reverse order
(ol) start
provides the starting number for the list
(del) cite
the URL of cited content
(del) datetime
specifies the date and time of a change
(ins) cite
the URL of cited content
(ins) datetime
specifies the date and time of a change
(q) cite
the URL of the cited content
(time) datetime
provides machine readable date/time
(time) pubdate
indicates the time refers to publication
(a) href=”URL”
location of the target file
(a) target=”text string”
targets a browser window by name
(img) alt=”text”
alternative text
(img) src=”URL”
the location of the image file
(img) srcset=”list of urls with descriptors”
images to use in different situations
(img) sizes=”list media conditions and layout sizes”
image sizes for different layouts
(img) width=”number”
width of the graphic
(img) height=”number”
height of the graphic
(img) usemap=”usemap”
indicates the client-side image map to use
(source) src=”URL”
address of the image resource
(source) srcset=”URL”
images to use in different situations
(source) sizes=”source size list”
image sizes for different page layouts
(source) media=”media query”
query to determine applicable media
(source) type=”media type”
media (MIME) type of embedded image file
(td) colspan=”number”
number of columns the cell should span
(td) rowspan=”number”
number of rows the cell should span
(td) headers=”header name”
associates the data cell with a header
(th) abbr=”text”
alternative label for when the header cell is referenced in other contexts
(th) colspan=”number”
number of columns the cell should span
(th) rowspan=”number”
number of rows the cell should span
(th) headers=”header name”
associates a header with another header
(th) scope=”row|col|rowgroup|colgroup”
associates the header with a row, row group, column, or column group
(colgroup) span=”number”
number of columns he column group spans; may not be used with the colgroup contains col elements
(col) span=”number”
number of columns the column spans
(button) autofocus
automatically focuses the form control when the page is loaded
(button) name=”text”
supplies a unique variable name for the control
(button) disabled
disables the input so it cannot be selected
(button) type=”submit|reset|button”
the type of custom button