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.

learn more… | top users | synonyms

41
votes
3answers
30k 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 ...
1
vote
1answer
62 views

Concept to differentiate between html tags and angle brackets

I have an issue with a client's requirement that wants to import a string of html text within a csv document. For example, a sanitized version of one import line: ...
141
votes
8answers
35k views

Why are there are no PUT and DELETE methods on HTML forms?

HTML4 / XHTML1 allows only GET and POST in forms, now it seems like HTML5 will do the same. There is a proposal to add these two but it doesn't seem to be gaining traction. What were the technical or ...
1
vote
0answers
38 views

How is FormData actually handled by a server?

I am using an embedded system with a web server. I really have no way to dig deep into the webserver and see how it works, so I am asking a more general question: How do servers or back-end scripts ...
4
votes
3answers
909 views

Starting an HTML canvas game with no graphics skills

I want to do some hobby game development, but I have some unfortunate handicaps that have me stuck in indecision; I have no artistic talent, and I also have no experience with 3D graphics. But this ...
4
votes
3answers
373 views

Is HTML5 XHTML 1.0 compliant?

For a school assignment, I wrote up a web-page in HTML5. After looking over the assignment's requirements again though, I found the line: • a minimum of three HTML pages complying with at least ...
65
votes
4answers
19k views

Is XHTML5 dead or is it just an synonym of HTML5?

So what happened to XHTML5? http://www.w3.org/TR/html5/ That page is a draft for both xhtml5 and html5? So there's no difference between these doctypes?
42
votes
8answers
6k views

How do I get started with HTML5? [closed]

What is the recommended workflow to learn HTML5? What tools should I install? What SDK? Where to start? How to test? How to debug? What do I read? I understand that what is often labelled as "HTML5 ...
2
votes
1answer
167 views

why are iframe-s so useful in HTML5 WYSIWIG applications?

<iframe> elements are documented as The HTML Inline Frame Element (<iframe>) represents a nested browsing context, effectively embedding another HTML page into the current page. ...
1
vote
3answers
255 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 ...
3
votes
7answers
2k views

HTML 4, XHTML and CSS 2 - How long until these are obsolete? [closed]

I got into the game of programming, exactly a year ago. Now i am posing as an HTML, CSS and Javascript Guru. html5 and css3 are the new things out there but in my opinion they are still experimental, ...
0
votes
1answer
229 views

Why HTML5 got rid of Rich Desktop applications? [closed]

I recently noticed that Rich desktop applications (I define it as an application running inside a virtual machine embded in a web browser, based on tools like Java Web Start, Adobe Flash or Unity web ...
7
votes
6answers
4k views

I made an HTML5/Javascript game. Do I have to license it?

So I created an HTML5/Javascript online game. I host it on my website for anyone to play for free. I am still currently working on it. Do I need to license my game? And if so, what license do you ...
1
vote
0answers
54 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) ...
3
votes
2answers
859 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
2answers
95 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 ...
1
vote
0answers
63 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 ...
48
votes
3answers
47k views

Why were frames deprecated in HTML5, but not iFrames?

Why were frames deprecated in HTML5, but not iFrames? After all, there is almost no difference between the two. In many instances using either of them would give the same output (pardon me if I am ...
2
votes
2answers
116 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. ...
75
votes
23answers
7k views

How do developers find the time to stay on top of latest technologies? [closed]

I was a freelance web developer until circa 2004 when I started going down the management route but have decided to try to get back into development again (specifically JavaScript and HTML5 web/mobile ...
1
vote
0answers
84 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 ...
9
votes
2answers
615 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
259 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
1answer
256 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
1answer
3k views

Looking to create a custom, graphical editor for a data model using HTML5 and SVG

I need to create a graphical editor for our data model that works in an HTML5 compliant browser. I am looking for a proper library/framework to build on. The model is stored as xml, but that should be ...
28
votes
1answer
11k 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?
11
votes
7answers
2k 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 ...
50
votes
7answers
3k views

Why would one bother marking up properly and semantically?

Note that I (try) to mark up as semantically as possible because I like they way it looks and feels, but not because I'm aware of any other stunning advantages. The point of my question is to be ...
52
votes
5answers
2k views

Why not XHTML5?

So, HTML5 is the Big Step Forward, I'm told. The last step forward we took that I'm aware of was the introduction of XHTML. The advantages were obvious: simplicity, strictness, the ability to use ...
16
votes
7answers
11k views

is it realistic to make use of HTML5 local storage to store CSS, and JavaScript

The idea is to make use of HTML5 local storage to store frequently accessed CSS and JavaScript. For example (pseudo-code): var load_from_cdn = true; if (detect local storage) { if (cache of ...
1
vote
2answers
404 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
591 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
209 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
283 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 ...
0
votes
1answer
60 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
171 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 ...
0
votes
1answer
887 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; ...
-2
votes
1answer
224 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 ...
1
vote
1answer
170 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
248 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 ...
2
votes
1answer
338 views

How best to implement HTML5 support for my validation library

I have created an annotation-based validation library called regula. There seems to be some amount of interest around the framework and the next thing I'd like to do is to support HTML5 validation. ...
1
vote
3answers
807 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. ...
1
vote
4answers
525 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> ...
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
107 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
171 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.
9
votes
3answers
2k views

What stops HTML5 and JS apps to perform as good as native apps?

From what I understand, HTML is a mark-up language, so is the content of XAML, XIB and whatever Android uses and other native UI development frameworks. JavaScript is a programming language used ...
0
votes
2answers
209 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
179 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 ...
8
votes
2answers
2k 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 ...