NameSilo

XHTML Validator Issue

Spaceship Spaceship
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.
AfternicAfternic
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

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back