HTML5 is the 5th revision of the HTML language created in 1990 for structuring and presenting content on the Internet, and an attempt to improve support for modern multimedia elements.
-5
votes
0answers
17 views
How to open a link in the parent tab/window using the target attribute (other than _parent)? [closed]
Let's consider this scenario:
Page A links to page B using the following anchor tag:
<a href="B.html" target="B">Go to page B</a>
Page B links to page A using
<a href="A.html" ...
1
vote
0answers
43 views
Advice on streaming architecture [closed]
I want to be able to stream my desktop to 1 other person (and in the future to possibly more people). The stream should be watchable from a browser or a mobile app (iOS, Android, Windows Phone) ...
0
votes
0answers
43 views
Create 2D drawing with touch screen that also works in IE
I have a page the allows a user to create a signature using a touch screen or mouse. The touch screen works fine in Chrome but not in IE. Most of the time IE does not 'detect' that I am using a touch ...
0
votes
3answers
97 views
Multiple Canvas in the Browser — How to Proceed?
Here's something I wrote ages ago as Java applet. I want to convert it into JavaScript and run in html5 canvas in the browser. From what I can see, canvas makes the most sense here. (SVG / DIV ...
0
votes
2answers
89 views
Is there an algorithm to avoid getting in hundreds of datapoints from API to represent a bar graph?
I am showing a graph on HTML5 canvas using the flot charting library for a between a start date and an end date. It's fine as long as the period is less than a year or so but if the user selects a big ...
9
votes
2answers
591 views
Is automatically generating passwords during registration a good idea?
I'm developing a registration system for a project I'm working on.
Since users tend not to sign up if the process is too long, I've thought to require (at least initially) just their email, where I ...
1
vote
1answer
132 views
Clear JQuery Listeners Before Ajax Load of Similar Data
I have a tree structure on the left side of my page from which the user can drill down and select items. Each branch has similar items. When clicking a leaf node, I make a JQuery .load(...) call that ...
2
votes
2answers
114 views
Crypto hash in 'a href'?
It seems to me that it would be pretty useful to be able to indicate an expected crypto hash value in file downloads especially since so many application and data downloads rely on mirrored hosting. ...
2
votes
1answer
179 views
Porting Silverligtht application to web application with Asp.net and HTML 5
I work as internal software developer. We used Silverlight to build our application, but we have been asked to start considering their replacement.
Currently our set-up is:
Silverlight application ...
1
vote
2answers
255 views
Semantics of heading levels in multiple sections in HTML5
I'm never quite sure what is the best, most semantic way to handle heading levels in HTML5 markup, when you have multiple sections. On one hand it makes sense to have an H1 heading as a title of a ...
0
votes
2answers
445 views
Why html entity names for characters like ¥ € ¢ © ®
It make sense to use entity names for describing <a> as per shown below code.
<!doctype html>
<html>
<head>
<title> My First Webpage</title>
...
4
votes
1answer
184 views
Does HTML 5 undercut the need for a full-featured Javascript framework? [closed]
We're redesigning a website. Right now it uses Dojo, a large (and complex) Javascript framework. One person insists that we need Dojo because of things like (random examples) client-side ...
0
votes
0answers
198 views
Reason why client-side JavaScript does not allow access to POST/PUT/etc contents
Is there any theoretical reason why client-side JavaScript could not be spec'd to allow for direct access to POST or PUT contents without need for a server language to write it into client-side ...
1
vote
0answers
81 views
Web components and performance
I am having trouble learning about the impact of web components and shadow DOM on the browser, specifically related to repaint.
I remember reading at one point that the shadow DOM nodes have ...
0
votes
1answer
51 views
What is the HTML 4 DTD role in HTML5
All, I know there are three types of DTD for HTML 4.01 (strict, transitional, and frameset). And I knew the DTD defines the syntax of markup constructs and the document structure with a list of legal ...
0
votes
1answer
114 views
Understand SGML and HTML
When I read the HTML 4 Specification.
The document says :
Each markup language defined in SGML is called an SGML application. An SGML application is generally characterized by:
An SGML ...
-2
votes
1answer
154 views
Why use iFrames in a web application? [closed]
I am new at a company that has a saas web application, which uses iframes to load content from several different servers (all operated by us). Is there any known compelling reasons to use iFrames ...
0
votes
1answer
141 views
What's the best semantic html5 tag for an action menu
I want to create an action menu to trigger some actions on a single page application and I wonder what's the most appropriated html5 tag for this?
I know the nav tag but it seems more suited for ...
1
vote
1answer
182 views
How do browsers handle URLs in HTML5 offline mode?
I just read the de facto standard for HTML5 offline/localStorage.
It has me curious: if I build my web app to work regardless of whether or not there's an internet connection, and I use HTML5 ...
1
vote
3answers
93 views
Should I mark what blocks mean in data-* attributes?
I was writing a webpage today with a comment after the start of every major section. Instead of using a comment, which comes with the bulgy <!-- --> syntax, could I instead put this in a data-* ...
-1
votes
1answer
100 views
How does contenteditable work?
I recently came across an article where if you enter
data:text/html,%20<html contenteditable>
into the address bar of a browser that supports HTML5, you can type in the window.
I managed to ...
0
votes
1answer
170 views
What is meant by an HTML5 application? [closed]
Since HTML5 is still only a markup language, what is meant when people say "HTML5 application"? Please explain.
0
votes
2answers
190 views
Old Browsers and Polyfills
Polyfilling, when is it too much?
I've summed up this question into one sentance.
Is it practical to polyfill all of the IE8 deficiencies with one solid javascript file, as in, would there be any ...
0
votes
2answers
176 views
Should the check correctness of a time constrained puzzle game application be done on the server side?
I am working on an application where a user has to complete a puzzle and check within a given time limit.
This is an HTML5 based game, I can't keep the solution on the client side.
but I also want ...
7
votes
1answer
8k views
Suggested setup for angularJS development in Visual Studio 2013 [closed]
I am starting with AngularJS. The back end will be Web API (which is new to me as well) and I'd like to use just one IDE, so I'm trying to figure out how to setup a project in Visual Studio 2013 for ...
8
votes
2answers
1k views
Javascript MVC application design (canvas)
I'm having difficulty grasping how to structure/architect a canvas application using an MVC like approach in Javascript. UI will be fairly fluid and animated, the games fairly simplistic but with ...
0
votes
1answer
189 views
Should we use any JS framework which makes HTML as scripting language [closed]
After studying HTML 5, I learnt that HTML is purely for defining semantics of data. And it has provided various tag for each purpose. Although we can create our own tags, can provide styling and it ...
7
votes
7answers
1k views
Why do we have to use divs?
This morning, as I was writing some html and haml, it occurred to me that the way divs are used is ridiculous.
Why are divs not implied? Imagine if this:
<div class="hero-img">
<img ...
1
vote
4answers
481 views
Why isn't there an html tag “field”?
There is a <fieldset> tag for a set of fields.
Why isn't there a hierarchical child for fieldsets?
<form>
<fieldset>
<legend>Thin Sandwich Options</legend>
...
2
votes
0answers
262 views
Are Calls to a WCF Service via JSONP Secure?
I am looking at developing a complete HTML5/JS mobile app that can be deployed to Android, iOS and Windows platforms. I am using DevExtreme tools to help me do that.
I already have a WCF service that ...
0
votes
1answer
178 views
How to integrate and Program Avatar customization in HTML(5)? [closed]
I am making a Game in HTML5. In one part of it, I want the users to be able to customize the avatar they get by default.
For sample, let me share a screenshot from Zombie Lane on Facebook (now this ...
0
votes
1answer
325 views
HTML markup vs programmatic JS
I've been thinking about the consequences of using programmatic JavaScript components versus HTML markup. For example I looked into the Enyo Framework, which has its power in composition. One can ...
-1
votes
1answer
46 views
Load all templates at startup?
I am developing a jQuery mobile app. In this app, i often use Mustache.js templates in separate html files. Actually, every template is needed by the user, but my app loads a template (via GET method) ...
0
votes
1answer
86 views
Layering buttons when a number needs to be pressed more than once during an equation?
I am very new to HTML5 (and web coding in general), and I am trying to create an interactive calculator. I will try to explain this as clearly as I can.
The basic idea is that the user will use ...
0
votes
1answer
558 views
Is possible to create and download a video file via JavaScript, only on the client side?
Is possible to create and download a video file only on the client side?
Suppose that we have an animated canvas like in this JSFIDDLE. Please see this snippet:
...
var stop = false;
...
0
votes
1answer
4k views
Switching between mobile webapp version using Ionic Framework and Desktop web app version?
I own a web application that make use of Twitter Bootstrap 3.
This eases the design of the mobile version since it brings some responsive features.
However, I would like a really native-mobile aspect ...
1
vote
1answer
113 views
Transport information screens
I need to create an information service on trains to deliver live information. I am looking for some ways to go about this.
There are already existing LCD monitors in many of the train wagons. They ...
-3
votes
1answer
156 views
Fantasy: One Language/Standard supported by all devices? [closed]
No introduction or description needed. We all know how troublesome it is make different codes and test codes in different platforms and browsers such as IE, Firefox, Chrome, Android 2.3 onwards, iOS, ...
2
votes
1answer
244 views
Under what scenarios will an App's localStorage get cleared?
I am developing an Hybrid android app using HTML5 which will work completely offline.
Today morning when I opened the app, I saw that all the data stored in localStorage was cleared.
Under what ...
1
vote
3answers
453 views
Why are <section>, <header> and <footer> tags not used much when I see sites that are in HTML 5? [closed]
I've noticed that even when a websites front end is coded in HTML 5 as evidenced by the <!DOCTYPE html>, people rarely seem to use the new HTML 5 <section>, <header> and ...
0
votes
1answer
1k views
Can IndexedDB be used in offline hybrid android apps?
Can IndexedDB be used in offline hybrid android apps?
I have tried the [example presented in this post,1 while it is working in my laptopn on Google Chrome, it is not working inside the WebView in my ...
33
votes
3answers
24k views
Why is Web SQL database deprecated?
I am making a hybrid Android app.
At first I decided to use localStorage, after spending 2 days, I realized that it is very strange and so dropped it.
Then, I picked up indexedDB, after spending ...
21
votes
1answer
9k views
How is localStorage different from indexedDB?
localStorage and indexedDB are used for offline storage of data in HTML5. What are their key differences and which one is preferable in what situations?
0
votes
3answers
693 views
How to approach multiple page form with just one save option
The screen shot shows the magento product upload page.
The left nav allows you to switch to different options for the product. Basically each option in the left nav appears as a different page. ...
23
votes
5answers
2k views
Why is Internet Explorer the only browser to be referred to by version when talking about compatibility?
Whenever I read something or hear someone talking about HTML5, CSS and JavaScript support, they always refer to Internet Explorer with the version number such as Internet Explorer 6, and Internet ...
1
vote
3answers
292 views
Which one is better offline method for large scale application
We've a big data management website used by several property. Some of our customers have downtime (they can't access net for an hour or two). We want our site to support offline data viewing and ...
1
vote
1answer
108 views
Best Way to Handle dynamic infograph with javascript?
I've currently been assigned a project to create the following with javascript, you can view the final product here:
...
1
vote
2answers
884 views
What is the correct implementation of <meta> element in HTML5?
I've been watching a video to learn HTML. I know about HTML but I just wanted to refresh my knowledge. The author declared that he is using HTML5 because the doctype was:
<!doctype html>
but ...
3
votes
2answers
832 views
Modern web application development! Is flash and silverlight still relevant? [closed]
When building an application one considers the appropriate technology of choice for best long term impact and scalability. If building a media streaming application for mobile and desktop should one ...
0
votes
1answer
241 views
can I use XML for AJAX in a website created using HTML5
I am new to web programming and just started learning XML and AJAX. I am creating a social gaming website for my college project. I am confused at the point of using XML for AJAX in HTML5. As XHTML is ...