NameSilo

XHTML Validator Issue

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

flishess

Established Member
Impact
6
I'm getting this XHMTL error:

Code:
Line 427, Column 51: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<div id="pageintro" title="Xsyon - Sandbox MMORPG">

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

This is the actual line of code:

Code:
<div id="pageintro" title="Xsyon - Sandbox MMORPG"></div>

I'm trying to put a title tag with an image that's being called from a css file.

The title tag shows up when you hover over the image, however it's causing the XHTML error.

Any suggestions?
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
Would need to see more of the code than that. The error's saying your entire div is inside some other element where it doesn't belong.

Sounds like you have a misplaced tag someplace or forgot to close something?
 
0
•••
Appraise.net
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back