Значи напоследък започнах да работя с xhtml и реших да си валидирам кода да видя дали нямам грешки.
Хубаво, беше ми валиден но когато сложих следният код :
Ми изкарва че имам грешки :
и
Хубаво, беше ми валиден но когато сложих следният код :
Код:
<object type="application/x-shockwave-flash" data="flash/gallery.swf"
width="400" height="382" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="400" height="382"
/>
<param name="movie" value="flash/gallery.swf" />
</object>
Код:
Line 121, Column 52: document type does not allow element "param" here; missing one of "object", "applet" start-tag
<param name="movie" value="flash/gallery.swf" />
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>").
Код:
Line 122, Column 11: end tag for element "object" which is not open
</object>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry.