Answers
Oct 09, 2006 - 06:21 PM
Good question. The reason why it may or may not work depending on the browser or what follows in the HTML will depend on the browser and their interpretation/implementation of the standards, commonly referred to as either "strict" or "quirks". There is a good site - http://www.quirksmode.org that can explain some of the nuances of the two different modes in the various popular browsers.
I have a return question...why use an "empty"
I doubt you'll get reliable results trying to use the XHTML notation style in all the browsers, so you're probably going to end up changing back to a more "standard" style.
I hope this helps,
Ric
Oct 09, 2006 - 06:41 PM
Basically, my question was - of course - just out of curiosity, not because it was a big problem for me.
However, it becomes something of a problem at times when your code is not working and you have to figure out why. Since I felt, I was using the right notation, it bothered me that browsers didn't agree.
Oct 09, 2006 - 06:47 PM
Another thing: Take the tag in the <head> section: <br><script type="text/javascript" src="javascript.js"/> <br> <br>This would be the obvious way to do it - but it doesn't work either. <br> <br>My problem is that I was used to doing so, when I used XSL. It worked fine.
Oct 09, 2006 - 07:16 PM
It seems that the tag will accept the "short" XHTML convention, but won't. There must be something with the tag specification/standards, that won't allow something that should be a container to be short-handed. Of course, the obvious counter to that argument would be the <p /> tag. Oh, well...sometimes I really wonder what on earth is really going on with the "standards" these days.
Oct 09, 2006 - 08:45 PM
Whereas it is NOT valid HTML.
But the browsers don't care which doctype I specify.
Jun 19, 2007 - 12:01 AM
For further details, have a read of: http://www.cs.tut.fi/~jkorpela/html/e...
Hope this was helpful,
Mark
Jun 19, 2007 - 12:17 AM
For further details, have a read of: http://www.cs.tut.fi/~jkorpela/html/e...
Dec 27, 2010 - 06:02 PM



Add New Comment