HTML Attributes


HTML attributes is part of the HTML tags

A tag can have attributes that contain additional information. The value of an attribute must be enclosed in double quotation marks

A tag can have multiple attributes

Attributes appear as name and value


HTML attribute syntax


<tag-name attribute-name-1= "value-1" attribute-name-2="value-2" attribute-name-n="value-n">
</tag-name> 

Example

<table summary="html table" border="0">

Tag <table> is the table tag. Use border attribute with value 0 to define table without border. summary attribute for table brief description.




Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook