We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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 <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

3
Contributors
2
Replies
2 Months
Discussion Span
2 Years Ago
Last Updated
3
Views
maxelcat
Light Poster
44 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
twiss
Veteran Poster
1,005 posts since Apr 2010
Reputation Points: 177
Solved Threads: 102
Skill Endorsements: 5

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.

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

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0599 seconds using 2.69MB