- From: Simon Wong <s_a_w_2@hotmail.com>
- Date: Sat, 21 Feb 2009 08:49:03 +0000
- To: <www-validator@w3.org>
- Message-ID: <BAY113-W17F417F9023269832C2EECC7B00@phx.gbl>
I got the message "document type does not allow element "p" here;"
I have a 3 x 2 row of catgories (see below) and I understand that I cannot have a <p> tag placed here but what else can I do to change this?
I require the image and text to be grouped as a link together?
http://www.sportfocus.com/
<div class="category">
<a href="corporate/web_design.html">
<img src="corporate/images/web.jpg" alt="Web Design" />
<p>Web Design</p>
</a>
</div>
<div class="category">
<a href="corporate/membership.html">
<img src="corporate/images/crm.jpg" alt="Membership / CRM" />
<p>Membership / CRM</p>
</a>
</div>
Validating http://www.sportfocus.com/index.html
Error [65]: "document type does not allow element X here; missing one of Y start-tag"
_________________________________________________________________
Twice the fun—Share photos while you chat with Windows Live Messenger. Learn more.
http://www.microsoft.com/uk/windows/windowslive/products/messenger.aspx
Received on Monday, 23 February 2009 11:05:30 UTC