슬라이드 1

Similar documents
Week8-Extra

HTML5가 웹 환경에 미치는 영향 고 있어 웹 플랫폼 환경과는 차이가 있다. HTML5는 기존 HTML 기반 웹 브라우저와의 호환성을 유지하면서도, 구조적인 마크업(mark-up) 및 편리한 웹 폼(web form) 기능을 제공하고, 리치웹 애플리케이 션(RIA)을

PowerPoint 프레젠테이션

Lab1

Overall Process

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

PowerPoint 프레젠테이션

SK Telecom Platform NATE

(Microsoft PowerPoint \277\243\305\315\307\301\266\363\300\314\301\356 \260\374\301\241\300\307 HTML5)

Ext JS À¥¾ÖÇø®ÄÉÀ̼ǰ³¹ß-³¹Àå.PDF

Microsoft PowerPoint - aj-lecture1-HTML-CSS-JS.ppt [호환 모드]

PowerPoint Presentation

PowerPoint 프레젠테이션

Ⅰ. 서론 1989년 CERN의 팀 버너스 리에 의해 만들어진 월드 와이드 웹 기술은 HTML(HyperText Markup Language), URL(Unified Resource Locator, HTTP(Hyper- Text Transfer Protocol)이라는

WEB HTML CSS Overview

쉽게 풀어쓴 C 프로그래밍

PowerPoint 프레젠테이션

Building Mobile AR Web Applications in HTML5 - Google IO 2012

3장

PowerPoint 프레젠테이션

Week13

쉽게 풀어쓴 C 프로그래밍

AMP는 어떻게 빠른 성능을 내나.key

PowerPoint 프레젠테이션

<4D F736F F F696E74202D E20C0CEC5CDB3DD20C0C0BFEB20B9D720BCADBAF1BDBA20B1E2BCFA E >

슬라이드 제목 없음

Social Network

HTML5

PowerPoint 프레젠테이션

슬라이드 1

리포트_23.PDF

Microsoft Word - KSR2014S042

SchoolNet튜토리얼.PDF

PowerPoint 프레젠테이션

FMX M JPG 15MB 320x240 30fps, 160Kbps 11MB View operation,, seek seek Random Access Average Read Sequential Read 12 FMX () 2

Javascript

접근성과 웹 The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. Tim Berners-Lee, the inventor

쉽게 풀어쓴 C 프로그래밍

Microsoft PowerPoint - web-part01-ch10-문서객체모델.pptx

이장에서다룰내용 테두리를제어하는스타일시트 외부여백 (Margin) 과내부여백 (Padding) 관련속성 위치관련속성 2

Javascript.pages

untitled

UNIST_교원 홈페이지 관리자_Manual_V1.0

세르게이의 HTML5&CSS3-내지_ indd

슬라이드 1

Microsoft PowerPoint - ch03ysk2012.ppt [호환 모드]

쉽게 풀어쓴 C 프로그래밍

Orcad Capture 9.x

일반인을 위한 전자책 제작 방법

<30352DC0CCC7F6C8F B1B3292DBFACB1B8BCD2B1B3C1A42E687770>

Introduction- 소개 Previous- 이전, Next Chapter- 다음장 JavaScript is the most popular scripting language in the world. It is the standard language used in w

PowerPoint 프레젠테이션

0125_ 워크샵 발표자료_완성.key

38이성식,안상락.hwp


30이지은.hwp

Voice Portal using Oracle 9i AS Wireless

Docker

12Á¶±ÔÈŁ

歯3이화진

about_by5

PowerPoint 프레젠테이션

CD-RW_Advanced.PDF

Journal of Educational Innovation Research 2019, Vol. 29, No. 1, pp DOI: * Suggestions of Ways

HTML5* Web Development to the next level HTML5 ~= HTML + CSS + JS API

2파트-07

"Responsive web design" ( 우리회사웹사이트반응형으로리모델링하기 ) 정찬명

MasoJava4_Dongbin.PDF



예스폼 프리미엄 템플릿

LXR 설치 및 사용법.doc

1989 Tim Berners-Lee invents the Web with HTML 1991 First Web Browser Released HTML Tags Specification Released 1994 First World Wide Web Conference H

2

Lab10

untitled

歯

What Is CSS? Stands for Cascading Style Sheets. Is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents. Styles define h

04_오픈지엘API.key

15_3oracle

서현수

20주년용

XSS Attack - Real-World XSS Attacks, Chaining XSS and Other Attacks, Payloads for XSS Attacks

DocsPin_Korean.pages

XE 스킨 제작 가이드

300 구보학보 12집. 1),,.,,, TV,,.,,,,,,..,...,....,... (recall). 2) 1) 양웅, 김충현, 김태원, 광고표현 수사법에 따른 이해와 선호 효과: 브랜드 인지도와 의미고정의 영향을 중심으로, 광고학연구 18권 2호, 2007 여름

PowerPoint 프레젠테이션

00.1

슬라이드 1

<32382DC3BBB0A2C0E5BED6C0DA2E687770>

PowerPoint 프레젠테이션

NATE CP 가이드 1. WML 페이지에서줄바꿈문제 개요 WML 페이지에서줄바꿈은명시적으로 <br/> 태그를사용하여야한다. 설명그림 2 의의도로제작된페이지에서 Card Styles 텍스트와 Select 박스사이에명시적인 <br/> 태그가없어, 그림 1 과같이줄바꿈이되

쉽게 풀어쓴 C 프로그래밍

±èÇö¿í Ãâ·Â

<BFA9BAD02DB0A1BBF3B1A4B0ED28C0CCBCF6B9FC2920B3BBC1F62E706466>

HTML5 인터넷보충학습자료 (2014) 1 강. HTML5 알아보기 1 강. HTML5 알아보기 1. HTML5 개요 1.1 HTML Ÿ HTML(HyperText Markup Language) 월드와이드웹 (World Wide Web) 에서사용하는마크업언어 인터넷망

학습영역의 Taxonomy에 기초한 CD-ROM Title의 효과분석

Page 2 of 6 Here are the rules for conjugating Whether (or not) and If when using a Descriptive Verb. The only difference here from Action Verbs is wh

PowerPoint 프레젠테이션

Domino Designer Portal Development tools Rational Application Developer WebSphere Portlet Factory Workplace Designer Workplace Forms Designer

Transcription:

웹프로그래밍소개 류관희 충북대학교

강사소개 충북대학교소프트웨어학과 khyoo@chungbuk.ac.kr 컴퓨터그래픽스및콘텐츠연구실 http://cgac.chungbuk.ac.kr

강의교재 한번에배우는 HTML5+ 자바스크립트, 지닌마이어 ( 김지원옮김 ), 한빛미디어, 2011

HyperText 1965, Nelson HyperCard 1987 Apple 4

World Wide Web 1990, CERN Tim Berners-Lee Information Management: A Proposal Tim Berners-Lee, CERN March 1989, May 1990 5

Mosaic Web Browser 1993, Marc Andreessen & Eric Bina NCSA, Univ. of Illinois 6

1994, http://www.w3c.org WWW Consortium 7

Web Browsers 1 st Stage Netscape 1994~1997 1.0~4.8 1998 오픈소스발표 v4.0 2000 Mozilla 기반 2007 AOL v7.0 Microsoft 1995 v1.0 ~ 1997 v4.0 1999 v5.0, 2001 v6.0 2008 v7.0, 2009 v8.0, 2010 v9.0 치열한경쟁 비표준태그 크로스브라우징 반독점금지법, 2000 미대법원 8

1996 Opera, Norway 2002 Mozilla (2007 Netscape 9.0) 2004 Firefox (Phoenix, Firebird) 2003 Safari 2008 Chrome Web Browsers 2 nd Stage 9

Development of Web 10

HTML5 History HTML

HTML versions 1991, HTML 1.0 (Berners-Lee) 1995, HTML 2.0 (IETF) 1997, HTML 3.2 (W3C) 1997, HTML 4.0 (W3C) 1999, HTML 4.01 (W3C) 2000, XHTML 1.0 (W3C)??, XHTML 2.0 Xform, Xframe, DOM 대신 XML event, RDFa, 일부요소추가 12

Why new HTML? Fail of XHTML2 Developer Productivity Browser Compatibility Rich Web functions: Flex, Silverlight, AIR Now, Web is a Platform Web on Everything 13

Web Platform is Accelerating 14

Key Developer Challenges 15

WHATWG WHAT Working Group Web Hypertext Application Technology Open Community, 2004 W3C는유료회원에게만개방 Developing Web Form 2.0, Web Application 1.0 16

New Activities on W3C, 2005 Web Application Format WG Web Form 2.0, Widget, etc. Web API WG XMLHttpRequest, DOM3, File Upload, etc. HTML WG created, 2007 600+ invited experts, open mailing-list 17

HTML 의발전역사 18

Standard & Web Development HTML5 Standard Service Model

HTML Events Source: http://channy.creation.net 20

W3C Standards (in draft) http://www.w3.org/tr/html5/ 21

HTML (HyperText Markup Language) <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>html5</title> </head> <body> <header> <h4>html5 Introduction</h4> </header> <div id="container"> <nav> <h3>nav</h3> <a href="http://www.google.com">google</a> <a href="http://www.facebook.com">facebook</a> </nav> <section> <article> <header> <h1>article Header</h1> </header> <p>we have...</p> <p>for example...</p> <footer> <h2>article Footer</h2> </footer> </article> </section> <footer> <h2>footer</h2> </footer> </div> </body> </html> 22

<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>html5</title> <link rel="stylesheet" href="html5.css"> </head> <body> body { background-color:#6698ff; /* sky blue */ font-family:geneva,arial,helvetica,sans-serif; margin: 0px auto; max-width:900px; border:solid; border-color:#ffffff; } header { background-color:#f88017; /* dark orange */ display:block; color:#ffffff; /* white */ text-align:center; } CSS (Cascading Style Sheet) header h2 { color:#b1fb17; /* green yellow */ } nav { display:block; width:25%; float:left; } 23

Javascript <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>html5</title> <link rel="stylesheet" href="html5.css"> <script type="text/javascript"> function mhandler() { document.getelementbyid("para1").innerhtml = "Most Americans began this week not knowing who Joseph Kony was. That's not surprising: most Americans begin every week not knowing a lot of things, especially about a part of the world as obscured from their vision as Uganda, the country where Kony and his Lord's Resistance Army (LRA) commenced a brutal insurgency in the 1980s that lingers to this day."; } </script> </head> <body> <section> <p id="para1" onmouseover="mhandler()">we have...</p> <p>for example...</p> <footer> <h2>footer</h2> </footer> </div> </body> </html> 24

HTML + CSS + Javascript (+ Ajax) Document Structure + Contents HTML A fast and concise JavaScript Library jquery CSS Appearance Javascript Functionality Ajax Dynamic User Interfaces 25

A Rough History of Web Standards 91-92 93-94 95-96 97-98 99-00 01-02 03-04 05-06 07-08 09-10 11-12 13-14 HTML 1 HTML 2 HTML 4 XHTML1. 0 HTML 5 CSS 1 CSS 2 Web 2.0 CSS3 JavaScript 1.0/1.1 JavaScript 1.2, DOM JavaScript 1.3, DOM 2 JavaScript 1.5 Ajax, JavaScript 1.6 JavaScript 1.7 JavaScrip t1.8 DOM3 W3C WHATWG 1999 년 HTML4.01 권고, 이후 XHTML 에주력 2004 년워크숍에서 HTML 새로운표준화를바라는브라우저제작사의제안을배척 (XHTML2 에주력 ) 2004 년애플, 모질라, 오페라등브라우저제작사들자체표준화단체결성 (WHATWG) 2007 년 HTML5 제정에협력할것을표명 2008 년 HTML5 가 W3C 의초안으로공개 2009-10 HTML5 사양최종심사청구 2009-07 XHTML2 WG 활동을중지하고 HTML5 표준화작업진행 사양의업데이트를진행중 26

What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. HTML5 is still a work in progress. However, most modern browsers have much HTML5 support. HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG). WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML. 27

HTML5 Development Rules The following rules for HTML5 were established: New features should be based on HTML, CSS, DOM, and JavaScript Reduce the need for external plugins (like Flash) More markup to replace scripting HTML5 should be device independent Browser Support HTML5 is not yet an official standard, and no browsers have full HTML5 support. But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer) continue to add new HTML5 features to their latest versions. 28

[HTML 문법기술방법 ] - MIME 타입 : text/html HTML5 퀵스타트 - HTML5 파일확장자 :.html 또는.htm - HTML5 파일의시작부분에 DOCTYPE 선언 : <!DOCTYPE html> - 첫태그인 <html> 태그는다음과같이 : <html lang="en"> : <html lang= kr"> - 문자인코딩지정방법 : <meta charset= UTF-8 > [lang 속성 ] - 문서의언어정보제공. - 주로검색엔진에서활용 - 음성장치 (speech synthesizers) 에서도활용 - 속성값참조사이트 http://ko.wikipedia.org/wiki/iso_639 29

[HTML 문법기술방법 ] - HTML 문법상세몇가지.. HTML5 퀵스타트 1) 종료태그를기술해서는안되는요소 : meta, area, base, br, col, command, embed, hr, img, input, keygen, link, param, source - 틀린예 ) <meta charset= UTF-8 ></meta> - 맞는예 ) <meta charset= UTF-8 > <meta charset= UTF-8 /> 30

[HTML 문법기술방법 ] - HTML 문법상세몇가지.. 2) 속성에관해 HTML5 퀵스타트 - 속성값에인용부호생략가능 - true/false 값을가지는속성속성값생략가능 - 값이 false 인경우는속성지정자체를하지않음. <input id="age" type="number" disabled> <input id=age type=number disabled="true"> <input id=age type=number disabled="disabled"> <input id="age" type="number"> 31

[HTML 문법기술방법 ] - HTML 을이용한마크업예 HTML5 퀵스타트 <!DOCTYPE html> <html lang="kr"> <head> <title> 문서의제목입니다.</title> <meta charset="utf-8"> <style type="text/css">h1 {font-size: 2em;}</style> </head> <body> <h1>html 을이용한마크업예제 </h1> <p> 단락 1</p> <input id="age" type="number"> </body> </html> 32

[HTML5 에서없어진요소 ] HTML5 퀵스타트 - 주로화면표현과관련된요소 - big, blink, marquee, frame관련요소, applet 등 - 후방호환성을위해브라우저에서는제대로표시 - 가능한사용하지않도록주의 [HTML5 문서검증 ] - http://html5.validator.nu [HTML5 Outliner] - http://gsnedders.html5.org/outliner 33

Block element vs. Inline element All HTML elements are naturally displayed in one of the following ways: Block takes up the full width available, with a new line before and after (display:block;) Inline takes up only as much width as it needs, and does not force new lines (display:inline;) Not displayed Some tags, like <meta /> and <style> are not visible (display:none;) 34

Block Element vs. Inline Element Block Elements <div> Your general-purpose box <h1>... <h6> All headings <p> Paragraph <ul>, <ol>, <dl> Lists (unordered, ordered and definition) <li>, <dt>, <dd> List items, definition list terms, and definition list definitions <table> Tables <pre> Indicates a block of preformatted code <form> An input form <blockquote> Like an indented paragraph, meant for quoting passages of text 35

Block Element vs. Inline Element Inline Elements <span> Your all-purpose inline element <a> Anchor, used for links (and also to mark specific targets on a page for direct linking) HTML5 부터다른블록요소를감쌀수있게되었음. <strong> Used to make your content strong, displayed as bold in most browsers, replaces the narrower 시각적으로두꺼운글씨 + 의미적으로도강조 <bold> or <b> bold tag 시각적으로두꺼운글씨 <em> Adds emphasis, but less strong than <strong>. Usually displayed as italic text, and replaces the old <i> (italic) tag 36

Block Element vs. Inline Element Inline Elements <img /> Image alt attribute should be specified. <img src="p.gif" /> <img src="p.gif" alt="p" /> <br> The line-break is an odd case, as it's an inline element that forces a new line. However, as the text carries on the next line, it's not a block-level element. <input> Form input fields like and <abbr> Indicates an abbr. <acronym> Working much like the abbreviation 37