homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Attribute "BORDER" is not a valid attribute. Did you mean "border"Attr

 3:44 pm on Oct 27, 2009 (gmt 0)

I was validating my html and got this warning.

<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

My code is using lowercase border attribute.

I checked some websites and it looks like a valid attribute.

What gives ?

Is there anyway to fix this warning without css ?

[edited by: incrediBILL at 4:04 pm (utc) on Oct. 27, 2009]
[edit reason] removed URLs, see TOS #13 [/edit]



 3:55 pm on Oct 27, 2009 (gmt 0)

BORDER is not a part of the W3C specs for the INPUT [w3schools.com] tag. Use CSS instead: style="border: 0px;"


 1:54 pm on Oct 28, 2009 (gmt 0)

What is the <DOCTYPE>?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved