Attributes

Attribute is most important part of HTML.HTML can't be completed without attribute. We can manage every internal CSS use that attributes. There is no option to without attribute to complete html. The all List With Definition Given below.


List Of All Attributes With Definition:

AttributesDefinition
accepts
Accepts 
Specifies the types of files that server accepts only for type="file".
action
Action
Specify the URL of a form processor.
align
Alignment
Specifies according to the surrounding element.
alt
Alternate
specifies an alternate text for an image, if the image cannot be displayed.
asyncAsynchronous
Specifies that the script is executed when the page has finished parsing.  That attributes use only for external scripts.
autocomplete
Auto Complete
specifies whether a form should have autocomplete on or off. 
autofocus
Auto Focus
specifies that an element should automatically getfocus when the page loads.
autoplay
Auto Play
specifies video will automatically start playing as soon as it can do so without stopping.
bgcolor
Background color 
Specifies the background color of element.
border
Border
Specifies the width of the border around an element. An image has noborder by default.
charset
Charset
Specifies the character encoding for theHTML document.
checked
Checked
Specifies that an element should be pre-selected(checked) when the page loads.
cite
Cite
Specify the URL which points to the source document or message.
class
Class
 specifies one or more classnames for an element.
color
Color 
specifies thecolor of the text inside a element. 
cols
Cols
 Specifies number of columns if used with textarea.  
colspan
Colspan
Specifies the number of columns a cell should span. 
content
Content
Specifies value associated with the http-equiv or name attribute.  
contenteditable
Contenteditable
specifies whether the content of an element is editable or not.The contenteditable attribute is not set on an element, the element will inherit it from its parent.  
controls
controls
specifies that audio/videocontrols should be displayed.  
coords
coordinate
specifies the coordinates of an area in an image-map.  
data-*
data
Specifies the ability to embed custom data attributes on all HTML elements.  
datetime
datetime
Specifies the date and time of the inserted and the deleted text. It also represents the date and time of the  
default
default
specifies that the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate.(There must not be more than one track element with a default attribute per media element.)
dir
direction
Specifies the textdirection of the element's content.  
dirname
direction Name
specifies enable the text direction of the input and the Textarea Field after submitting.  
disabled
disabled
specifies that the element should be disabled. A disabledelement is unusable.  
download
Dowload
Specifies the target will be downloaded,a user clicks on the hyperlink.  
draggable
draggable
specifies whether an element is draggableor not. Links and images aredraggable by default.   
dropzone
dropzone
specifies whether the dragged data is copied, moved, or linked, when it is dropped on an element.  
enctype
encoding type
specifies an encoding type for your form.  
form
form
Specifies name of the form element belongs to.  
formaction
formaction
Specifies the URL of the file that will process the input control when the form is submitted. /S
pecifies where to send the form-data when a form is submitted.
headers
headers
Specifies one or more headers cells a cell is related to.  
hidden
hidden
specified on an element, it indicates that the element is not yet, or is no longer, relevant.  
high
high
specifies the range where the gauge's value is considered to be a high value.   
height
Height
Seifies theheight of <input>element.
href
hypertext reference
Specifies the URL or web address for a link.The link address is specified in the href attribute.
hreflang
hreflang
Specifies language of the linked document.  
http-equiv
http-equiv
Specifies provides HTTP header for the information/value of the contentattribute.   
id
Identify
Specifies a unique id for an element.
ismap
ismap
specifies server-side image-map.  
kind
kind
Specifies kind of text track/specifies the type of <input> element to display.  
label
label
Specifies title of the text track.  
lang
lang
specifies the language of the content of a web page.  
list
list
specifies refers to a <datalist> element that contains pre-defined options for an <input> element. element that contains pre-defined options for an  
loop
loop
specifies restart the audio and video again and again after finishing it.  
low
low
specifies range where the gauge's value is considered to be a low value.  
max
maximum
specifies the maximum value.  
maxlength
maxlength
specifies the maximum number of characters allowed in the <input> element.
media
media
specifies what media/device the linked document is optimized for.
method
method
specifies specifies how to send form-data (the form-data is sent to the page.).
min
Minimum
specifies the minimum value of an element element. 
multiple
multiple
specifies that the user is allowed to enter more than onevalue in the <input> element. 
muted
muted
specifies that the audio output of the video should be muted. 
name
Name
specifies the name of an <input> element.
novalidate
novalidate
specifies the form-data <input> should not be validated when submitted.
onabort
Onabort
Specifies script to run when loading of the media file aborts.
onafterprint
onafterprint
Specifies Script to be run after the document is printed.
onbeforeunload
onbeforeunload
Script run when the document is about to be unloaded.
onblur
onblur
Script to be run when element loses focus.
oncanplay
oncanplay
script to run when the browser can start playing the specified media when it has buffered enough to begin.
oncanplaythrough
oncanplaythrough
specified audio/video without having to stop for buffering.
onchange
onchange
Specified Script to be run when the value of element is changed.
onclick
onclick
Specified Script to be run when element is being clicked.
open
Open
Specifies details should be visible open to the user.
optimum
Optimum
Specifies range where the gauge's value is considered to be an optimalvalue.
pattern
Pattern
Specifies a regular expression <input> element's value is checked against on form submission.
placeholder
Placeholder
Specifies a short hint that describes the expected value of an input field,text area.
poster
Poster
specifies image to be shown while the video is downloading,
preload
Preload
Specifies if and how the author thinks the video should be loaded when the page loads.
readonly
Readonly
Specifies the text written in input or text area Element is read-only.
rel
Relationship
Specifies the relationship between current document&inked document.
required
Required
Specifies the input element must be filled out before submitting the Form.
reversed
Reversed
Specifies the starting number for the countdown/list order should be descending, like 7,6,5
rows
Rows
Specifies the number of visible text lines for control i.e the number of rows to display./visible number of lines in a text area
rowspan
Rowspan
Specifies the number of rows a cell should span.
sandbox
Sandbox
Specifies enables an extra set of restrictions for content in the iframe.
scope
Scope
Specifies associate header cells and data cells in a table.
selected
Selected
Specifies which option should be by default selectedwhen page loads.
shape
Shape
Specifies shape of an area element or a client-side image map.
size
Size
Specifies visible width in characters of <input> element.
sizes
Sizes
Specifies  size of linked resource.
src
Source
Specifies the URL web address for an image,video etc.
style
Style
Specifies CSS style for element.
title
Title
Specifies extra information about an element.
value
Value
Specifies the value of input element.
width
Width
Specifies the width of a table cell.