Semantically correct tag to enclose a forum post
In HTML 5 what's the tag that is supposed to enclose a forum post, being as semantically correct as possible? <div> <article> <section> Other? ...
In HTML 5 what's the tag that is supposed to enclose a forum post, being as semantically correct as possible? <div> <article> <section> Other? ...
I am reading and hearing conflicting information on this subject. w3c closed XHTML 2.0 working group and asking us to look at XHTML 5 coming out of HTML5. How is this different from XHTML 1.0 or 1.1? ...
Hi, I'm using the following code to draw an SVG text box, and then change its text anchor attribute to 'left' as it defaults to center and that's nasty. The text generates correctly, but when I add this second line I get the error 'this.textBox.style is undefined' in my error console. Here's my code: RenderTextBox:function() { ...
So i'll try and show how I would ideally like this to look. I have images that will be different every time, and I want them to display like a 2 row quilt. Here's an ugly example: aaabbbbddddddddddhhhhhhhhh aaabbbbddddddddddhhhhhhhhh aaabbbbeeeeeggg hhhhhhhhh bbbbeeeeeggg hhhhhhhhh ccccccccffffffffffggggiiiiii ccccccccffffffffffgg...
Is there any movie that actually works in iPhone/iPad safari using the video tag? We tried so many formats and code snippets. I've heard that mp4/h264 should work, but not for us. Can anyone point me to a working example online? If you know the code or specs/formats for the videotag on iphone, that would be great. Update: Here is a l...
A long time ago (Netscape 4-era), I wrote Javascript-based games: Pong, Minesweeper, and John Conway's Life among them. I'm getting back into it, and want to get my hands even dirtier. I have a few games in mind: Axis & Allies clone, with rugged maps and complex rules. Tetris clone, possibly with real-time player-vs-player or playe...
I know that most browsers already support HTML5 on handphones, but what's the status with PC browsers, especially for HTML5 <video>? What are good websites and resources for keeping up with how well different browsers support HTML5? ...
Are there software/services for automated conversion of a typical image format (png, bmp, jpg/gif even) to Canvas / HTML5? ...
I'm thinking of developing an iPhone app using HTML5 because I don't have mac and not planning to own one, so learning Objective-C would be pointless. The other reason why I want to use HTML5 is because it's a cross-platform (albeit it depends on the browser). Anyway, I know you can use WebSQL in HTML5 to store offline data, but is it p...
I have a page I'm converting from quirks mode to strict mode. I added this: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd"> All of a sudden all my tables collapsed that use cellpadding and cellspacing. The page looks fine in IE7 but has collapsed in Firefox. Is this expected? By us...
Is there a way to get the absolute file path of a drop event using Javascript, or should I use another technology? If so, I can do the same with folders? ...
hello all, I have a page I am developing in .net using HTML5 intended for a WebView in an iphone App. The page looks just fine in Safari. When I load it in the iphone Simulator it is rendering as plain text, no styles or js loading. I thought it might be an issue with .net, but seeing as it works in Safari i am stumped. When I use the X...
I need to achieve something like this for my website: Flash Rain Effect Is that possible to do in Javascript? I want it to be just as smooth as it is in Flash. Another flash rain drop water effect ...
How to change the video play speed in HTML5? I've checked video tag's attributes in w3school but couldn't approach that.Any help would be appreciated! ...
I need to add a video player to play a video on a webpage. usually i use Flash player with the help of swfobject library. which works if flash player and javascript both are enabled. I'm currently using XHTML 1.0 strict doctype. My question is can i just change my doctype to HTML 5 doctype and add Video player using HTML 5 video. for ...
Okay, so I'm trying to get into this whole HTML 5 thing, and this tutorial (http://www.webreference.com/authoring/languages/html/HTML5/) says that these tags should move the content around without any kind of CSS at all, but all I'm getting is a line of text that looks like this: Header tag Nav tag Artical Section tags Aside t...
I am looking for resources to develop HTML5 apps for iphone primarily. Are their frameworks and tools that I can use to get started? I am looking for: Javascript frameworks that help with UI layout Touch based controls for phones Articles on iphone development, best practices, etc. I searched stackoverflow and was not able to come up...
Okay, some Guys will know what i mean and edit my Question but they did it wrong. A better explanation: You have a contenteditable div with the text This is a Test String.. If you use now the execCommand('underline') on Test String you get This is a <u>Test String</u> if you use now the execCommand('strikethrough') on is a Test you get...
Is it possible to disable the drag-and-drop functionality on elements which have the contentEditable attribute set to true. I have the following HTML page. <!DOCTYPE html> <html><meta charset="utf-8"><head><title>ContentEditable</title></head> <body> <div contenteditable="true">This is editable content</div> <span>This is not e...
So I'm trying to work on a Canvas demo, and I want this square to move from one side to the other, but I can't figure out how to call javascript in a way that repeats every 60 seconds. Here's what I got so far: <!DOCTYPE html> <html lang="en"> <head> <title>Canvas test</title> <meta charset="utf-8" /> <link ...