954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

putting html5 in transitional doctype

Hi
I have a joomla site with one flash based video in it. Of course people are now saying "It doesn't work in iPads". I was thinking about using the tag in html to get round this - can I just simply put a ... tag in the middle of the php template. Do I need to worry about the fact that the page will have an xhtml 1.0 transitional doctype? Am I right in thinking this will work because the html4 browsers will just ignor the extra tag and whatever is in between it? Doesn't feel like its going to work!

I wondered if anybody could advise before I set off down another blind alley!

Thanks in advance

maxelcat
Light Poster
42 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 
twiss
Veteran Poster
1,005 posts since Apr 2010
Reputation Points: 177
Solved Threads: 101
 

In html 5 actually there is no need to declare a doctype according to the specifications and what hear from most people but most include the
just in case. it might just work.

pcmaster
Newbie Poster
10 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: