THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML图形


谷歌地图

谷歌地图 lets you embed maps in HTML.


SVG

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


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, testing, and training. 示例 might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 1999-2020 by Refsnes Data. All Rights Reserved.
Powered by W3.CSS.

W3Schools.com