4. HTML5 Canvas [stroke,fill, clear, gradient]
boolean's Canvas Hello Canvas! How to use stroke, fill, clear [SOURCE VIEW] function doFirst1() { var x = document.getElementById('canvas1'); canvas = x.getContext('2d'); canvas.strokeStyle = "red"; //선 Style을 red로 canvas.fillStyle = "blue"; //체우기 Style 을 blue로 canvas.strokeRect(10,10,100,200); //절대경로 x=10,y10 에서 가로130세로50size로 선을 그려라 canvas.fillRect(150,50,100,200); //절대경로 x=150,y50 에서 가로130세로5..
2015. 3. 25.
3. HTML5 구성요소
HTML의 구성요소 요소(element) - 시작태그와 종료태그로 이루어진 모든것들 ex). ,,,,,.......... 태그(Tag) - 요소의 일부로서 시작태그와 종료태그 ex). ,,... 경계가 모호하고 따로 요소랑 태그를 분리해서 말하지 않으셔도 됩니다. 속성(Attribute) - 요소의 시작 태그안에 부여되는 것으로 좀 더 구체화된 명령 체계를 의미 ex). ,,,.......... 변수(Arguments) - 속성에 관련되는 값 ex). ,,,...........
2013. 8. 18.
2. HTML5 Contents Model 설명
웹 표준화 방식에 의해서 작성되었읍니다 (참고 : http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html) category 설명 tag Metadata contents 나머지 Contents 의 Presentation 이나 behavior를 설정하거나 현재문서와 다른 문서와의 관계를 설정. 또는, 기타 "Out Of Band"정보를 전달한다. base, command, link, meta, noscript, script, style, title Flow contents 문서와 Application 의 Body 에서 사용되는 대부분의 Element들은 Flow Content 로 분류된다. a, abbr, address,..
2013. 7. 21.