|
Posted by Eric B. Bednarz on April 7, 2006, 7:39 pm
Please log in for more thread options
rhythmace@gmail.com writes:
> W3C HTML validator passes this:
Here's your SCRIPT element type start tag:
> <script type="text/javascript" src="foo.js">
Here's some arbitrary CDATA content:
> <script type="text/javascript">
> ...script in here...
Here's your SCRIPT element type end tag:
> </script>
Next time, enable 'view parse tree' (or whatever it is called, I can't
be bothered to have a look).
> But as far as I can tell, the first script tag requires a </script>
> close tag.
Yes. Well, end tag.
> Is the close tag required for valid markup?
Yes.
> I know browsers
> accept this,
Ah. I don't, I have too many of them to make generalised statements
about their treatment of generalized markup.
> but that's not the question. Is it valid?
Yes.
(who cares?)
--
||| hexadecimal EBB
o-o decimal 3771
--oOo--( )--oOo-- octal 7273
205 goodbye binary 111010111011
|