When creating HTML5 tags, such as canvas, etc., you need to first ensure that the browser can support it. If it does not support it, there must be a prompt message. You can test whether the browser supports HTML5 by using the following method: Create a test.html file