Questions tagged [html5]

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.

Filter by
Sorted by
Tagged with
0 votes
3 answers
248 views

Using the symbol ⎋ to denote any "escape" in Javascript, CSS, HTML etc

I know that: Computer keyboards have an Escape Key The symbol for the Escape Key is U+238B Broken Circle with Northwest Arrow (⎋) and I also know that: HTML5 & CSS3 both have escape characters ...
0 votes
0 answers
51 views

Unique Colors for Chart Data

This is likely in the wrong section but I'm curious if there is a good way to select unique and distinct colors for plotting data on charts? My current method is to hard code a set plot limit with ...
0 votes
1 answer
403 views

Storing session state in browser's local storage

Stack Exchange has some bits of what seems to be session state -- for example, whether you want to see 15, 30, or 50 questions per page when you view a list of questions. You can click on the button ...
  • 3,387
2 votes
1 answer
197 views

Best practices for positioning elements in an HTML-based game

It seems like HTML5 has about a zillion different layouts and methods for positioning divs, few of which seem to work exactly as described in most browsers. Imagine an implementation of, say, Tetris ...
4 votes
3 answers
4k views

can two web browser tabs be distinguished in a single-page application?

motivation and context I am designing and implementing the web interface of my bismon server program (a research prototype; in a few words: an orthogonally persistent, reflexive, homoiconic, ...
0 votes
1 answer
127 views

What are the points of apps like Sketch and Photoshop when it comes to Web Development?

This may be an obvious question but I really don't understand this so if someone can help me that'd be great. Basically, I am in the middle of developing an e-commerce app for my database management ...
0 votes
4 answers
738 views

Prefixing a number with + on html inputs

When asking for positive number inputs on html, is it valid to allow + on the textbox? Like +42? Surely the + sign gets removed during server-side processing. But will allowing + be fine on the html ...
2 votes
1 answer
94 views

Are there standards for handling card swipers in applications?

I'm in the middle of creating a web application for a client, and he wants me to integrate magnetic card swipers so his office staff can quickly swipe a card, and load up details for specific patients ...
0 votes
1 answer
2k views

Why was Google Maps built using canvas? If it was built today, would it have rather used react/angular? Why (not)? [closed]

Google Maps' frontend is almost completely dependent on canvas. Given that it was initially developed a long time ago, is it still the best approach to take to build such a UI? If not, what is and ...
-2 votes
1 answer
170 views

How can a html 5 game made licensed?

How a HTML5 game can be buyable? I mean, if it is HTML, even though you obfuscate the code or apply encryption, the whole html and javascript is already on your browser means you already have the ...
1 vote
1 answer
91 views

System architecture design advice

We are working on the design for an appointments system which has to work at remote locations, comms via 4G. Unfortunately a connection to the server may not be available at all remote locations, so ...
  • 111
0 votes
1 answer
3k views

Better alternative to having a html form with select input on every row in table

I have a web application (laravel) with a page which presents a large number of rows (financial transactions) in a HTML table. On each row I want to have a drop-down (select input) allowing the user ...
  • 103
0 votes
1 answer
381 views

Using custom mime type for drag'n'drop events or data attribute dilema

I am having a dilema on a html/js application I have been requestyed to handle drag'n'drop events in order to display a dropped image in a div if is not from images that are already displayed in my ...
-2 votes
2 answers
780 views

How to package HTML5 app?

There is some information about how to package HTML5 app to use on Android or iOS, but I couldn't find anything about a normal website. Let's say I would like to create a website displaying multiple ...
-2 votes
1 answer
410 views

HTML5/Canvas Graphics editor and Immutable state (EaselJS and Redux, ngrx/store)

This question is about the architecture approach. How would someone go about creating the immutable state for a graphics editor that would eventually provide an "undo/redo" functionality, considering ...
3 votes
1 answer
127 views

Are tables inside tables a good idea in the right circumstance

I found myself wanting to put a table in a table. I had a momentary war flashback of legacy webpages and email html templates and was about to shelve the idea, but then I considered that it kind of ...
  • 1,858
1 vote
0 answers
360 views

Canvas-like drawing interface for SVG?

There's lots of stuff out there comparing the HTML elements SVG and Canvas, but I'm still a little confused. I'm looking for a way to draw an arbitrary shape (like, I have a description of a shape, ...
  • 313
0 votes
1 answer
413 views

Direction for Token Authentication Scheme in C#

I am currently developing an HTML5/C# web app to replace an older ASP.NET forms app and after reading many blogs and posts I still do not understand the objectives, purposes, and weaknesses of the ...
  • 375
2 votes
2 answers
1k views

Are there good reasons for avoiding the use of semantic HTML markup?

Background I have recently taken up a new job as a developer at a company where I have inherited an in-house CMS built approximately 5 years ago. The CMS constructs pages in XML which are then output ...
4 votes
1 answer
1k views

Is there a way to use html5 custom elements without javascript?

I know requiring javascript on a webpage has been a hot topic the last couple years. I'm wondering if someone wanted to use custom elements but still allow the website to be usable without ...
  • 205
0 votes
1 answer
76 views

Abstraction in Cordova

Recently, I have been coding in Cordova a lot for the company I work for. For those of you who don't know, Cordova is a cross platform development tool for mobile applications which is web based. ...
-1 votes
1 answer
207 views

Where does Firebase fit in?

I am a front-end developer who is familiar with HTML, CSS, JS and to a degree, AngularJS. I've chanced upon Firebase (firebase.google.com) - and was wondering if I could, with my lack of knowledge ...
  • 113
2 votes
1 answer
55 views

Help settle an argument: article element usage question

A team member and I are having a disagreement on the usage of the <article> tag. By the definition in MDN, to me, it sounds like it should be used when presenting the user with content of some ...
  • 327
-3 votes
1 answer
53 views

Passing dynamic data to declarative resource load tags in an HTML document?

Is it possible to pass dynamic data to the browser when it automatically GETs link and img and script etc tags after it has parsed the html containing them? Ultimately would want to pass an ...
0 votes
1 answer
205 views

Frontend end UI Library using multiple repos for multiple clients

I've just inherited a HTML/CSS based internal UI library, which the place I work is planning to use to standardize CSS styles for all of its products across the board, mainly webapps. The library has ...
0 votes
0 answers
2k views

Using @Hidden or passing through BeginForm?

I have a small question about the following answer from a stackoverflow question. There seem to be 2 ways to pass parameters through a @BeginForm() to a Controller. Using a Hidden field: @Html.Hidden(&...
  • 151
1 vote
4 answers
233 views

Is there any situation where there is a good reason to use an anchor <a> element without a href attribute?

I recently came across a website that contained an anchor element without a href attribute. I immediately thought that was stupid, but, could there be an actual situation where having an anchor ...
0 votes
1 answer
82 views

Responsible CSS for mobile devices

Is this a good or best way to configure a web site HTML to add mobile users? My site pages add Googles default meta viewport, and all code is simple (basic CSS, no frills), but flows well into narrow ...
  • 101
0 votes
1 answer
1k views

Drawing a data-grid on canvas - whats the point?

To simplify my question let's assume for a minute that all users are using the latest version of Chrome to view a particular website. Using the latest libraries (Polymer for example), I can render a ...
  • 181
-7 votes
2 answers
2k views

How do I make such a page that opens different link in web (PC) and different in mobile (phones)?

I am building a website that looks beautiful in Web but worst in mobiles. I want to build the same site but different designing for mobile. Whenever user opens site.com then it auto redirect to m.site....
3 votes
1 answer
1k views

The future of application cache in HTML 5 [closed]

I had previously deployed application storage in HTML5 to great success in the deployment stage of a few client projects. I used the app cache feature mostly as a way to allow my clients to remotely ...
  • 869
0 votes
2 answers
93 views

PSD to HTML/CSS limitations when using Twitter Bootstrap

How do companies deal with limitations and constraints of Twitter Bootstrap after choosing to use it in a particular project? Web designers are no longer free to design Web pages. They need only to ...
1 vote
4 answers
2k 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: "IDNumber,TextIdentifierNumber,<...
1 vote
0 answers
302 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 (...
8 votes
3 answers
2k 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 ...
2 votes
1 answer
583 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. ...
0 votes
1 answer
749 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 ...
  • 646
1 vote
0 answers
147 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 ...
  • 11
1 vote
3 answers
3k 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 ...
  • 119
0 votes
2 answers
104 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 ...
10 votes
2 answers
1k 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 ...
  • 215
2 votes
1 answer
2k 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 ...
  • 45
2 votes
2 answers
168 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. ...
  • 123
2 votes
1 answer
589 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 ...
  • 185
3 votes
2 answers
2k 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 ...
  • 133
2 votes
2 answers
2k 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> &...
  • 2,255
4 votes
1 answer
374 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
0 answers
934 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 ...
2 votes
0 answers
175 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
1 answer
164 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 ...
  • 113