I have an idea in mind. I want to get a random picture from the public archives in Flickr, Picasa and other开发者_开发问答 photo-sharing sites. Is there a way, in HTML5, to do that? Yeah, I know HTML5 isn't quite finished yet, but I would rather not use JavaScript. And would it also be posible to have it auto-refresh after a specified amount of time?
"but I would rather not use JavaScript"....then the answer is no, HTML5 alone can't do this, with JavaScript, sure some JSONP and that's cake.
HTML is a markup language, it's not for logic at all. You'll need to use JavaScript for this (that's why it's there/available)...and I can't think of anything HTML5 offers that makes this any easier, it would be the same operation in JavaScript in either HTML4 or HTML5.
精彩评论