html5 kig 7th markup sg

21
HTML5 Markup의 현재, 주요 스펙 Toby Yun Blog | http://tobyyun.com E-mail | [email protected]

Upload: toby-yun

Post on 06-Nov-2014

1.768 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: HTML5 KIG 7th Markup SG

HTML5 Markup의 현재, 주요 스펙 Toby Yun

Blog | http://tobyyun.com E-mail | [email protected]

Page 2: HTML5 KIG 7th Markup SG

Index

• HTML5의 역사와 지향점

• HTML5 Spec과 Markup

• HTML5 Markup의 설계 원칙

• Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 3: HTML5 KIG 7th Markup SG

HTML5의 역사와 지향점

Web Hypertext Application Technology Working Group

Page 4: HTML5 KIG 7th Markup SG

• HTML5는 다양한 내용을 포괄하는 의미

• 각 기능별 Spec이 나뉘어져 있음

Semantic Offline & Storage

Device Access Connectivity

Multimedia 3D, Graphics, Effects

Performance & integration

CSS3 Styling

HTML5의 역사와 지향점

Page 5: HTML5 KIG 7th Markup SG

HTML5 Spec과 Markup

• Markup 요소와 API를 다루는 HTML5 메인 스펙

http://www.w3.org/TR/html5/

Page 6: HTML5 KIG 7th Markup SG

A vocabulary and associated APIs for HTML and XHTML

HTML5

HTML5 Spec과 Markup

Page 7: HTML5 KIG 7th Markup SG

1.New features for Web App

2.New elements Semantic Mark-up Elements

3.Interoperability Cross browsing Rule (for User Agents)

• Spec 초록(Abstract)에서 밝히고 있는 HTML5의 지향점

HTML5 Spec과 Markup

Page 8: HTML5 KIG 7th Markup SG

• HTML Design Principles

• Support existing content 기존의 컨텐츠를 지원하라

• Degrade gracefully 우아한 낮춤 전략

• Don't reinvent the wheel 바퀴를 다시 만들지 말라

• Pave the cowpaths 비포장 길은 포장하라

• Evolution, not revolution 혁명이 아닌 진화

HTML5 Markup의 설계 원칙

Page 9: HTML5 KIG 7th Markup SG

• 변경해도 기존과 같은 방식의 렌더링

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!DOCTYPE HTML>

• 브라우저는 모르는 코드를 무시함

<figure>

<img src="bubbles-work.jpeg‚ alt="Bubbles works on his latest project intently.">

<figcaption>Bubbles at work</figcaption>

</figure>

HTML5 Markup의 설계 원칙

Page 10: HTML5 KIG 7th Markup SG

• 구 버전의 IE에서 HTML5 Markup을 사용해도 문제 없음

document.createElement(‘section’);

• Remy Sharp의 HTML5 Shiv

<!--[if lt IE 9]>

<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>

<![endif]-->

HTML5 Markup의 설계 원칙

Page 11: HTML5 KIG 7th Markup SG

• Semantic Markup

• Semantics for machine readability

• Accessible for all users

• Development efficiencies

• Syndication

• SEO and findability

• User experience enhancements

HTML5 Markup의 설계 원칙

Page 12: HTML5 KIG 7th Markup SG

• HTML5

http://www.w3.org/TR/html5/

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 14: HTML5 KIG 7th Markup SG

4.1 The root element html

4.2 Document metadata head, title, base, link, meta, style

4.3 Scripting script, noscript

4.4 Sections body, section, nav, article, aside, hgroup, h1~h6, header, footer, address

4.5 Grouping content p, hr, pre, blockquote, ol, ul, li, dl, dt, dd, figure, figcaption, div

4.6 Text-level semantics a, em, strong, small, s, cite, q, abbr, time, code, var, sub, sup

4 The elements of HTML

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 15: HTML5 KIG 7th Markup SG

4.7 Edits ins, del

4.8 Embedded content img, iframe, embed, object, param, video, audio, source, track, Media, canvas, SVG

4.9 Tabular data table, caption, colgroup, col, tbody, thead, tfoot, tr, td, th

4.10 Forms form, fieldset, legend, label, input, button, select, datalist, optgroup, option, textarea, progress, meter

4.11 Interactive elements details, summary, command, menu

4 The elements of HTML

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 16: HTML5 KIG 7th Markup SG

4.12 Links a, area, Link types

4.13 Common idioms without dedicated elements

4.14 Matching HTML elements using selectors

4 The elements of HTML

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 17: HTML5 KIG 7th Markup SG

• HTML5 Edition for Web Authors

http://www.w3.org/TR/html5/author/

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 19: HTML5 KIG 7th Markup SG

• HTML Microdata

http://dev.w3.org/html5/md/

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 20: HTML5 KIG 7th Markup SG

• WAI-ARIA 1.0

http://www.w3.org/TR/wai-aria/

Markup SG에서 주요하게 살펴보아야 할 스펙들

Page 21: HTML5 KIG 7th Markup SG

Thanks

July 11, 2011 Questions, comments or more info: Twitter : @tobyyun [email protected]