1,105,197 Community Members

putting html5 in transitional doctype

Member Avatar
maxelcat
Light Poster
44 posts since Mar 2006
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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 <video> tag in html to get round this - can I just simply put a <video>... </video> 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

Member Avatar
twiss
Veteran Poster
1,000 posts since Apr 2010
Reputation Points: 155 [?]
Q&As Helped to Solve: 105 [?]
Skill Endorsements: 9 [?]
 
0
 
Member Avatar
pcmaster
Newbie Poster
13 posts since Dec 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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
<!DOCTYPE HTML> just in case. it might just work.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: