Oct 29, 2018

List of often used HTML Attributes

AttributeDescription
altSpecifies an alternative text for an image
disabledSpecifies that an input element should be disabled
hrefSpecifies the URL (web address) for a link
idSpecifies a unique id for an element
srcSpecifies the URL (web address) for an image
styleSpecifies an inline CSS style for an element
titleSpecifies extra information about an element (displayed as a tool tip)
valueSpecifies the value (text content) for an input element.