링크: Basic usage of canvas<img>엘리먼트와 비슷하나 src, alt가 없으며 width, height 요소를 가지고 있는것이 특징이다. 기본값으로 300 width, 150px height를 가지며 DOM properties로 설정할 수 있다
다양한 드로잉 방법 [링크: Drawing shapes with canvas ]('https://developer.mozilla.org/en-US/docs/Web/API/CanvasAPI/Tutorial/Drawingshapes')링크: codepen
링크: Basic usage of canvas<body>의 page load event시 draw()가 실행한다.<canvas>를 선택하고 렌더링 컨텍스트에 접근하기 위해 getContext('2d')를 실행한다.fillStyle로 그려질 이미지의 스타일(색