Tags, Elements, Attributes 2
Attributes
An attribute is the content inside the tag itself that describes how the tag will "act".
In the example below, the attribute of the div tag is align="center"
For the HTML coding of an image,
<img src="image/next.gif"alt="Next" width="20" height="12" />
Red represents the actual tag.
Blue represents the attributes
The whole line is considered an element
*Some material used in reference from (but not copied from) 250 HTML and Web Design Secrets by Molly E. Holzschlag. © 2004 Wiley Publishing
, Inc.
ppg 249-250
•
|