The HTML canvas tag

Based on the description of the tag ...

A new feature of HTML5, allowing Javascript apps to have a drawing surface in the browser.


...it should be used strictly for HTML5 games using the canvas element. However a lot of questions about Unity also use the same tag, because the drawing surface for unity projects is also called like that. Same for games using the Canvas object in the java.awt package (altough, they come up less frequently).

I think they should be either a separate tag for unity's canvas and java's canvas or the description of the tag should include these 2 options too (which would mess up the "favourite tags" feature on the site though).

• Canvas is a very generic term TBH. I'm pretty sure it's used in a lot of places, not just HTML5/Java/Unity. – DH. Oct 14 '16 at 11:06
• @DH. Those were just the 3 examples I knew of, there is 1 in .NET too – Bálint Oct 14 '16 at 11:14
• While there are alternatives to the canvas, in using Unity, you have to ask how many people would actually use a unity-canvas tag. Using just unitycanvas would make it a metatag, which is also how I would describe the other uses you list. It is worth knowing that the Stack Exchange has moved away from, and now should not use, meta tags. – Gnemlock Oct 14 '16 at 23:24
• I have renamed 'canvas' to 'html-canvas.' I have not gone through the 290-odd questions removing the tag from those where it no longer fits. – Josh Oct 17 '16 at 18:49

The HTML5 instances seem legit and in line with the original intent of the tag. Maybe we should rename it to html-canvas?
• +1 for html-canvas – Alexandre Vaillancourt Oct 15 '16 at 3:15
• @Gnemlock straight from the link: "The reason meta-tags are a problem is that they do not describe the content of the question.". html-canvas describes the content of the question, it's (obviously) about the canvas element. I even have it in my "favourite tags" list so I cab see those questions easily. – Bálint Oct 15 '16 at 5:31