HTML Attributes

HTML Attributes

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.

HTML Meta Tags
XHTML First Line

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?