+ 15

Is "canvas" an extension of or actually a part of HTML5

I have actually read arguments both ways ~ what's is your opinion ? and why ( your argument ) ?

2nd Jun 2018, 12:29 AM
BroFar
BroFar - avatar
13 Antworten
+ 6
the way i think of it is it's like a script tag with an src or a stylesheet but inside the body. It has a "source" the JS and the js manipulated it. idk if that made too much sense though
2nd Jun 2018, 12:33 AM
Emperor Bob
Emperor Bob - avatar
+ 5
Robert Brown Farley (brofarops) JS itself is a "standard" part of browsers in a similar way. It's the only language a browser understands. Just to complicate the discussion:- On the other hand Web Assembly, is an " extension" as not all browsers have it just yet........but will have at some point at which time it becomes "standard". we can then discuss Defacto Vs Industry standard, and spec Vs implementation...
2nd Jun 2018, 2:38 PM
Mike Choy
Mike Choy - avatar
+ 4
Several articles I read in wwc.org and w3.org leaned toward canvas being much more in application than animation and pictures based on their references in 2011 thru 2014 articles. And given there are numerous canvas and JavaScript libraries this is much deeper than svg.
2nd Jun 2018, 4:11 AM
BroFar
BroFar - avatar
+ 4
Mike Choy Great Article by Jorge and yes he brings to light how js is evolving - and so is the way WE look at SEO forefront. As js develops in design do we continue to say that js is more of a server side programming language only or starting to become both ~ and canvas becomes more prominent as well...
2nd Jun 2018, 4:54 PM
BroFar
BroFar - avatar
+ 3
It is a script that goes with extension .canvas (just like .svg) that enables creation of canvas-like animations and pictures
2nd Jun 2018, 2:15 AM
Scorpia Rising🎩
Scorpia Rising🎩 - avatar
+ 3
I would say it's a standard part of HTML 5 in that you can rely on it being there in a Browser that supports HTML 5. It's an element just like any other element. You can't not have it, and you can't include it .
2nd Jun 2018, 2:22 PM
Mike Choy
Mike Choy - avatar
+ 3
Mike Choy you are on target as such and as search engines begin to read js though they can't render it without some level of html to browser functions.
2nd Jun 2018, 2:44 PM
BroFar
BroFar - avatar
+ 2
Ok here is just one fairly recent article published by ADOBE which agrees that while canvas is utilized for animation has yet a different spin and or direction: https://helpx.adobe.com/animate/using/creating-publishing-html5-canvas-document.html
2nd Jun 2018, 1:14 PM
BroFar
BroFar - avatar
+ 2
Mike Choy that is where they wwc and w3 were basically stating especially as js libs develop ~
2nd Jun 2018, 2:26 PM
BroFar
BroFar - avatar
+ 2
Canvas is part of HTML5 in that you have to start with <Canvas> tags. The rest you fill in with methods. I don't recall having to download external libraries in order to use canvas features. As far as I know, it is built-in vanilla just like JS.
2nd Jun 2018, 3:44 PM
Apple Blossom
Apple Blossom - avatar
+ 2
Robert Brown Farley (brofarops) hmm that is a very interesting point of view. With the wholesale move to web components ala React, Vue, Angular and Polymer, what should one do about SEO? I assume that any single page app with a predominantly Canvas based content needs to consider this in order to stay at the party ( dodgy link to OP 😁). It's made me look into this a bit, and I found this article. https://react-etc.net/entry/web-components-seo
2nd Jun 2018, 4:25 PM
Mike Choy
Mike Choy - avatar
+ 1
The <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript). The <canvas> tag is only a container for graphics, you must use a script to actually draw the graphics.
2nd Jun 2018, 8:56 AM
rahul ranjan
rahul ranjan - avatar
+ 1
The <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript). The <canvas> tag is only a container for graphics, you must use a script to actually draw the graphics.
2nd Jun 2018, 5:47 PM
rahul ranjan
rahul ranjan - avatar