1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What Is A Canvas? And What Is Its Default Border Size?

Discussion in 'Design & Development' started by Tripath, Sep 4, 2018.

  1. Tripath

    Tripath
    Expand Collapse
    Junior Member

    Joined:
    Dec 18, 2015
    Messages:
    134
    Likes Received:
    3
    What Is A Canvas? And What Is Its Default Border Size?
     
  2. Technosap

    Technosap
    Expand Collapse
    Junior Member

    Joined:
    Dec 18, 2015
    Messages:
    33
    Likes Received:
    0
    Canvas is an HTML5 element which can draw graphics on the fly with the help of JavaScript. The <canvas> element can only contain graphics. It supports a no. of methods for drawing paths, boxes, circles, text, and images.

    By default, It has no border. However, it allows using CSS to change the border style.
     

Share This Page