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
324
votes
7answers
146k views

Why are there 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 ...
110
votes
4answers
91k 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 ...
2
votes
1answer
148 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 ...
1
vote
4answers
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,<...
0
votes
3answers
164 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 ...
71
votes
3answers
97k views

Why were frames removed in HTML5, but not iFrames?

Why were frames removed 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 wrong)?...
0
votes
5answers
3k views

Is it a good idea to use width and height properties with the < td > tag?

I am new to HTML and Im working on a self made project and I have to use < table > and < fieldset > tags in my html files. I need to set the width and height properties to the tables like <...
0
votes
0answers
48 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 ...
161
votes
3answers
85k 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?
4
votes
2answers
2k views

Are there any frameworks available for drawing with CSS?

I realize this sounds silly. Let me explain: I just came across this page about using CSS elements to create shapes- square, circle, triangle, star, yin-yang (yin-yang!), etc. using pseudo elements. ...
0
votes
4answers
481 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 ...
13
votes
8answers
4k 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 src="...
0
votes
1answer
217 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
votes
3answers
3k 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
0answers
2k views

How to Implement Complex Form Data?

I'm supposed to implement a relatively complex form that looks like follows, but has at least four more pages requiring the user to fill in all necessary information for the tracks: This data will ...
0
votes
1answer
295 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 ...
1
vote
1answer
81 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 ...
97
votes
4answers
41k 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?
4
votes
2answers
19k views

HTML5 localStorage and encrypted sensitive data

I'm looking for a way to have a website remember sensitive data, but without actually storing it server side. And I was looking at HTML5 localStorage to do it. Here's the plan as I see it. User ...
4
votes
4answers
2k 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
1answer
91 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
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 ...
4
votes
1answer
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 ...
1
vote
4answers
232 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 ...
-2
votes
1answer
161 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 ...
4
votes
3answers
2k 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 ...
1
vote
1answer
88 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
2k 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 ...
9
votes
3answers
992 views

Why shouldn't "responsive" web design be a consideration?

This might seem like more of a graphic design question than a programming question, but I think it has much more technical/programming merit than actual graphic design. The concept of "responsive" ...
-2
votes
2answers
631 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
384 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
1answer
114 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
350 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
400 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 ...
55
votes
8answers
5k 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 able ...
2
votes
2answers
829 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 ...
0
votes
1answer
2k views

Is there a Javascript library for creating vintage photos? [closed]

I'm working on a Canvas object in HTML5, and I am attempting to make some photos look "better". I tried VintageJS, an existing photo-retouching Javascript library, and Picozu, a web application ...
0
votes
1answer
75 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
204 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
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 ...
-3
votes
1answer
49 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
126 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 ...
8
votes
3answers
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 ...
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.Hidden(&...
21
votes
6answers
31k views

Advantages and disadvantages to using XAML/C# or HTML5/JavaScipt for Metro apps? [closed]

I was just wondering if there are any major advantages or disadvantages to using either XAML/C# or HTML5/JavaScript for Metro Apps.
83
votes
22answers
9k 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 ...
0
votes
1answer
77 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
1k 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....
4
votes
2answers
4k views

Is HTML5 usable for syncing data between devices?

I work for an insurance company. They have a contact database that gets pushed to the field agents by Lotus Notes. We're trying to move away from Lotus Notes, but we first have to remove our ...