View Single Post
  #7 (permalink)  
Old 02-28-2006, 04:21 AM
Faglork's Avatar
Faglork Faglork is offline
WebProWorld Veteran
 
Join Date: Feb 2005
Location: Forchheim, Germany
Posts: 938
Faglork RepRank 1
Default

Thanks Orion for clarifying. To expand a bit: ALT attributes can only be given to IMG, AREA, APPLET, and INPUT elements. See

http://www.w3.org/TR/html401/struct/....html#adef-alt

for information on handling the ALT attribute.

The TITLE attribute can be assigned to all elements *except* BASE, BASEFONT, HEAD, HTML, META, PARAM, SCRIPT and TITLE. See

http://www.w3.org/TR/html401/struct/...tml#adef-title

Which attributes can be assigned to which elements? There is an overview at

http://www.w3.org/TR/html401/index/attributes.html

hth,
faglork
Reply With Quote