Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-2
votes
0answers
15 views

An approach to hide image in Javascript [on hold]

I'm responsible for developing an approach/algorithm to hide image on trigger. But hiding should be in such way that it would be hard for developers to do "inspect code" and change certain javascript ...
1
vote
0answers
36 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 ...
3
votes
3answers
170 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, ...
1
vote
1answer
78 views

What are the points of apps like Sketch and Photosbhop 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
3answers
77 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
1answer
81 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 ...
-1
votes
1answer
557 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
1answer
158 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
1answer
74 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 ...
0
votes
1answer
851 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 ...
0
votes
1answer
143 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
2answers
181 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
1answer
250 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 ...
4
votes
1answer
107 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
vote
0answers
381 views

Pre-rendering a lot of images in HTML5 canvas, good idea?

A lot of things on the internet are very conflicting on how to deal with things. Here's my situation: I'll be building a client in javascript, using the HTML5 canvas, the canvas will contain ...
1
vote
0answers
299 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, ...
0
votes
1answer
333 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 ...
2
votes
2answers
381 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 ...
2
votes
1answer
722 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 ...
0
votes
1answer
68 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
1answer
177 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 ...
2
votes
1answer
53 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 ...
-3
votes
1answer
47 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 ...
1
vote
1answer
83 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
0answers
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....
1
vote
4answers
227 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
1answer
66 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 ...
0
votes
1answer
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 ...
-7
votes
2answers
150 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
1answer
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 ...
0
votes
2answers
89 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 ...
2
votes
2answers
776 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
0answers
95 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 (...
7
votes
3answers
1k 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
1answer
492 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
1answer
648 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 ...
1
vote
0answers
128 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 ...
1
vote
3answers
2k 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
97 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
999 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 ...
2
votes
1answer
1k 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
147 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
537 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 ...
2
votes
2answers
1k 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 ...
2
votes
2answers
1k 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
362 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
833 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
122 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
142 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
564 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 ...