Tutorials 参考 练习 Menu
Paid Courses



谷歌地图 lets you embed maps in HTML.


The HTML <svg> element allows vector based graphics in HTML:


The HTML <canvas> element can be used to draw graphics on a web page:

The graphic below is created with <canvas>:

Your browser does not support the <canvas> element.

It shows four elements: a red rectangle, a gradient rectangle, a multicolor rectangle, and a multicolor text.

W3Schools is optimized for learning and training. 示例 might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2021 by Refsnes Data. All Rights Reserved.
W3Schools is Powered by W3.CSS.