HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
"ALT" attribute
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Tools
View previous topic :: View next topic  
Author Message
maggie jackson



Joined: 20 Jan 2005
Posts: 1

PostPosted: Thu Jan 20, 2005 2:28 pm     "ALT" attribute Reply with quote

I don't know how to fix this error:

Line 139, column 390: required attribute "ALT" not specified

...C%20212.jpg" width="137" height="116"></font></font></font></font></font></fo

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
kev



Joined: 01 Feb 2005
Posts: 9
Location: Scotland

PostPosted: Thu Feb 03, 2005 12:58 pm     Reply with quote

why do you have all of the fonts??

after the height in <img src="image.jpg" width="137" height="116">

you should add an alt attribute like this:

<img src="image.jpg" width="137" height="116" alt="alternate text">

The alt attribute is so that if the picture doesnt load on a browser, text is shown in place.

I hope this helps. If you need any more questions, check out http://www.w3schools.com
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8312
Location: Castle Pines North, CO USA

PostPosted: Thu Feb 03, 2005 4:04 pm     Reply with quote



Here is the link that tells you exactly what is required for the IMG tag: The <img> tag
dkcatalin



Joined: 25 Mar 2005
Posts: 1

PostPosted: Fri Mar 25, 2005 2:14 am     Reply with quote

Hello!

Intresting mesages

Have a good day!!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Tools All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial