HTML Attributes

Certify and Increase Opportunity.
Be
Govt. Certified HTML5 Developer

As discussed earlier, attributes specify properties of an element by name and value pairs thus, attributes are made up of a name and a value.

The name is the property of element like <font> element has an attribute face for telling the typeface to use. The value is assigned in double quotation marks separated by equals sign to the name and the value can be arial or courier for face name of font element. Different attributes are separated by space as in example

<font face=”courierl” color=”#ffffff”>

Some HTML tags have attributes specific to them only but all have some common attributes.

Get industry recognized certification – Contact us

Menu