aboutsummaryrefslogtreecommitdiff
path: root/files/ms/web/api
diff options
context:
space:
mode:
Diffstat (limited to 'files/ms/web/api')
-rw-r--r--files/ms/web/api/canvas_api/index.html7
-rw-r--r--files/ms/web/api/canvas_api/tutorial/index.html3
2 files changed, 6 insertions, 4 deletions
diff --git a/files/ms/web/api/canvas_api/index.html b/files/ms/web/api/canvas_api/index.html
index bfd9cd5f2b..4510a6c375 100644
--- a/files/ms/web/api/canvas_api/index.html
+++ b/files/ms/web/api/canvas_api/index.html
@@ -1,14 +1,15 @@
---
title: Canvas
-slug: HTML/Canvas
+slug: Web/API/Canvas_API
tags:
- HTML
- - 'HTML:Canvas'
- - 'HTML:Element'
+ - HTML:Canvas
+ - HTML:Element
- NeedsTranslation
- References
- TopicStub
translation_of: Web/API/Canvas_API
+original_slug: HTML/Canvas
---
<p>Added in <a href="/en-US/docs/HTML/HTML5" title="/en-US/docs/HTML/HTML5">HTML5</a>, the <strong>HTML {{HTMLElement("canvas")}} element</strong> is an element which can be used to draw graphics via scripting (usually <a href="/en-US/docs/JavaScript" title="JavaScript">JavaScript</a>). For example, it can be used to draw graphs, make photo compositions, create animations or even do real-time video processing.</p>
<p>Mozilla applications gained support for <code>&lt;canvas&gt;</code> starting with Gecko 1.8 (i.e. <a href="/en-US/docs/Firefox_1.5_for_developers" title="Firefox_1.5_for_developers">Firefox 1.5</a>). The element was originally introduced by Apple for the OS X <a class="external" href="http://www.apple.com/macosx/features/dashboard/">Dashboard</a> and Safari. Internet Explorer supports <code>&lt;canvas&gt;</code> from version 9 onwards; for earlier versions of IE, a page can effectively add support for <code>&lt;canvas&gt;</code> by including a script from Google's <a class="external" href="http://excanvas.sourceforge.net/">Explorer Canvas</a> project. Google Chrome and Opera 9 also support <code>&lt;canvas&gt;</code>.</p>
diff --git a/files/ms/web/api/canvas_api/tutorial/index.html b/files/ms/web/api/canvas_api/tutorial/index.html
index 2e656a8d46..6ac64a23ed 100644
--- a/files/ms/web/api/canvas_api/tutorial/index.html
+++ b/files/ms/web/api/canvas_api/tutorial/index.html
@@ -1,8 +1,9 @@
---
title: Melukis Grafik dengan Canvas
-slug: HTML/Canvas/Melukis_Grafik_dengan_Canvas
+slug: Web/API/Canvas_API/Tutorial
translation_of: Web/API/Canvas_API/Tutorial
translation_of_original: Web/API/Canvas_API/Drawing_graphics_with_canvas
+original_slug: HTML/Canvas/Melukis_Grafik_dengan_Canvas
---
<div class="note">
<p>Most of this content (but not the documentation on drawWindow) has been rolled into the more expansive <a href="/en/Canvas_tutorial" title="en/Canvas_tutorial">Canvas tutorial</a>, this page should probably be redirected there as it's now redundant.</p>