Reply
XHTML and PHP
Old 04-03-2008, 01:24 PM XHTML and PHP
Novice Talker

Posts: 11
Name: Pritesh Madlani
Hi,

I am trying to validate my website - but am getting some error messages on the php e-mail form that I have.

The error message I am getting is:

Line 150, Column 21: "cols" is not a member of a group specified for any attribute.

<textarea cols id="message"='20' rows='10' name='Message' ></textarea>


and

Line 150, Column 33: an attribute specification must start with a name or name token.

<textarea cols id="message"='20' rows='10' name='Message' ></textarea>



An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name).


The website name is:

http://www.cse.dmu.ac.uk/~p04283218/mainframe9/

Any help would be appreciated.

Thanks.
pritmadlani is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-03-2008, 01:38 PM Re: XHTML and PHP
tripy's Avatar
Fetchez la vache!

Posts: 2,057
Name: Thierry
Location: In the void
it's because you have the attribute "cols", but you don't say how many columns the textarea should have.
It looks like you pasted the id into the cols.
Code:
cols id="message"='20'

you should have it
HTML Code:
<textarea cols="20" id="message" rows='10' name='Message' ></textarea>
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Old 04-04-2008, 07:25 AM Re: XHTML and PHP
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,173
Name: Dan
Location: Swindon
Always the little things which slip us up.
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to XHTML and PHP
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.28750 seconds with 12 queries