YouTube and valid XHTML
2007-06-07 by xpheas
I brodcast some YouTube and Zabim movies on my blog,
The uncool thing is that, that the YouTube and Zabim embed Tag is actually not XHTML valid.
The YouTube embed Tag looks like this:
It contains the <embed> tag, which is not allowed in XHTML 1.0 Strict.
To make the code valid, i changed the code abrove to something like this:
YouTube and Zabim plays well and it's valid XHTML 1.0 Strict!
The uncool thing is that, that the YouTube and Zabim embed Tag is actually not XHTML valid.
The YouTube embed Tag looks like this:
HTML-Code:
| <object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/WTC0UvS9mXA"></param> <param name="wmode" value="transparent"></param> <embed src="http://www.youtube.com/v/WTC0UvS9mXA" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed> </object> |
It contains the <embed> tag, which is not allowed in XHTML 1.0 Strict.
To make the code valid, i changed the code abrove to something like this:
HTML-Code:
YouTube and Zabim plays well and it's valid XHTML 1.0 Strict!
« back