Week8-Extra

Similar documents
Lab1

쉽게 풀어쓴 C 프로그래밍

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

PowerPoint 프레젠테이션

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

Overall Process

PowerPoint Presentation

쉽게 풀어쓴 C 프로그래밍

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

예스폼 프리미엄 템플릿

WEB HTML CSS Overview

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

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션

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

Front-Side 웹개발의이해 (CSS Basic) 1. CSS 란?

Week13

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

PowerPoint 프레젠테이션

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

SK Telecom Platform NATE

e-비즈니스 전략 수립

쉽게 풀어쓴 C 프로그래밍

리포트_23.PDF

02 장. 글꼴문단지정하기 이번장에서는스타일시트속성중에서글꼴과관련한속성과문단에관련된속성을살펴보도록하자.

PowerPoint Presentation

Lab10

슬라이드 1

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

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

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

슬라이드 1

Orcad Capture 9.x

<3036B0AD D4C5F584D4C5FC0CEC5CDB3DDBAB8C3E6C7D0BDC0C0DAB7E12E687770>

PowerPoint 프레젠테이션

Building Mobile AR Web Applications in HTML5 - Google IO 2012

SASS FOR WEB DESIGNERS By A Book Apart Copyright 2014 Dan Cederholm Korean Translation Edition 2014 Webactually Korea, Inc. All rights reserved. 이 책의

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

쉽게 풀어쓴 C 프로그래밍

PowerPoint 프레젠테이션

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

쉽게 풀어쓴 C 프로그래밍

<3035B0AD D4C5F584D4C5FC0CEC5CDB3DDBAB8C3E6C7D0BDC0C0DAB7E12E687770>

Week3

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

PowerPoint 프레젠테이션

3장

<4D F736F F D20284B B8F0B9D9C0CF20BED6C7C3B8AEC4C9C0CCBCC720C4DCC5D9C3F720C1A2B1D9BCBA2020C1F6C4A720322E302E646F6378>

슬라이드 1

Docker

Microsoft PowerPoint - SCLURYPCHTYJ

Grouping Selectors To minimize the code, you can group selectors.

<4D F736F F F696E74202D E20C0CEC5CDB3DD20C0C0BFEB20B9D720BCADBAF1BDBA20B1E2BCFA E >

untitled

쉽게 풀어쓴 C 프로그래밍

PowerPoint 프레젠테이션

Syrup Store O2O Marketing Platform/Solution

LCD Display

C H A P T E R 2

슬라이드 1

PowerPoint 프레젠테이션

Intra_DW_Ch4.PDF

Dialog Box 실행파일을 Web에 포함시키는 방법

2005CG01.PDF

슬라이드 1

PowerPoint 프레젠테이션

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

Javascript

Microsoft PowerPoint - mwac10-hollobit-r5

Macaron Cooker Manual 1.0.key

00-CourseSyllabus

MasoJava4_Dongbin.PDF

YSU_App_2.0-2

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

DocsPin_Korean.pages

인켈(국문)pdf.pdf

Microsoft PowerPoint - HTML5-교육컨설팅.ppt

Microsoft PowerPoint PMS-r2.pptx

Ÿ column-rule 속성은단사이의구분선을표현하기위한속성으로 column-rule-color, column-rule-style, column-rule-width 속성을한번에지정할수있다. 1.4 단의확장 Ÿ column-span 속성은다단을구성할때해당요소가얼마나많은단

초보자를 위한 크리스탈 리포트 9 - 대화형 리포트의 작성과 디자인

슬라이드 1

PowerPoint 프레젠테이션

ENEX PRODUCT CONTENTS Designed to resemble a nature Prime Series Standard Series Classy (White & Indigo) New Classy (White & Kha

Analyst Briefing

PowerPoint 프레젠테이션

CAD 화면상에 동그란 원형 도형이 생성되었습니다. 화면상에 나타난 원형은 반지름 500인 도형입니다. 하지만 반지름이 500이라는 것은 작도자만 알고 있는 사실입니다. 반지름이 500이라는 것을 클라이언트와 작업자들에게 알려주기 위 해서는 반드시 치수가 필요하겠죠?

00.1

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

NCS : ERP(SAP) ERP(SAP) SW IT,. SW IT 01., 05., 06., 08., 15., , 05. SW IT,,,, SAP HR,,, 4,,, SAP ABAP HR SCHEMA, BSP,

02.전체교육과정안내서 (김종혁)

Model Investor MANDO Portal Site People Customer BIS Supplier C R M PLM ERP MES HRIS S C M KMS Web -Based

BSC Discussion 1

IPAK 윤리강령 나는 _ 한국IT전문가협회 회원으로서 긍지와 보람을 느끼며 정보시스템 활용하 자. 나는 _동료, 단체 및 국가 나아가 인류사회에 대하여 철저한 책임 의식을 가진 다. 나는 _ 활용자에 대하여 그 편익을 증진시키는데 최선을 다한다. 나는 _ 동료에 대해

歯튜토리얼-이헌중.PDF

한국학 온라인 디지털 자원 소개

Microsoft PowerPoint - ch02_인터넷 이해와 활용.ppt

XE 스킨 제작 가이드

Jwplayer 요즘 웹에서 동영상 재생을 목적으로 많이 쓰이는 jwplayer의 설치와 사용하기 입니다. jwplayer홈페이지 : 위의 홈페이지에 가시면 JWplayer를 다운 받으실 수 있습니다. 현재 5.1버전

con_using-admin

Javascript.pages

Transcription:

Week 08 Extra HTML & CSS Joonhwan Lee human-computer interaction + design lab.

HTML CSS HTML, HTML 5

1. HTML

HTML HTML HTML (elements) (attributes), (arguments). HTML (tag), DTD (Document Type Definition).!4

HTML (Elements) HTML (tag) <p>html. </p> <img src= http://www.joonhwan.com/images/test.jpg > <div> <p> </p> </div>!5

HTML (Tag) (Elements) <p>html. </p> <img src= http://www.joonhwan.com/images/test.jpg > <div> <p> </p> </div>!6

HTML (Attributes) (Elements) <p align= center > </p> (Arguments) <p align= center > </p>!7

HTML HTML HTML, DB (PC), Coda (Mac), TextMate (Mac)!8

HTML HTML / drag & drop HTML,,!9

HTML <html> <head> <title>hello HTML!</title> </head> <body> My First HTML Page! </html> </body>!10

HTML <html> HTML <head> <title>hello HTML!</title> </head> <body> My First HTML Page! </html> </body>!10

HTML <html> HTML <head>, </head> <title>hello HTML!</title> <body> My First HTML Page! </html> </body>!10

HTML <html> HTML <head>, </head> <title>hello HTML!</title> <body> My First HTML Page! </html> </body>!10

HTML <p>... </p> paragraph <br> (line break) <hn>... </hn> (heading). <h1> </h1>, <h4> </h4>!11

HTML <img> HTML : width, height, border <img src= width= height= > <a>... </a>, : target, : _blank, _top <a href= target= _blank > </a>!12

HTML <font>, : color, size, face : red, blue, #123456, #FFFFFF, <img src= width= height= > <font color="red"> </font>!13

HTML DOCTYPE HTML 4.01 Strict 4.01 doctype. <font> deprecated. Frameset X <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01// EN" "http://www.w3.org/tr/html4/strict.dtd"> HTML 4.01 Transitional 4.01 deprecated. Frameset X <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/tr/html4/ loose.dtd">!14

HTML DOCTYPE HTML 4.01 Frameset 4.01 Transitional. Frameset content <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/tr/html4/ frameset.dtd"> XHTML 1.0 Strict 4.01 HTML. deprecated X. Frameset X XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/ xhtml1-strict.dtd">!15

HTML DOCTYPE XHTML 1.0 Transitional 4.01 HTML. deprecated. Frameset X XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/ xhtml1-transitional.dtd"> XHTML 1.0 Frameset XHTML 1.0 Transitional Frameset XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/tr/xhtml1/dtd/ xhtml1-frameset.dtd">!16

HTML DOCTYPE XHTML 1.1 XHTML 1.0 Strict ( : ruby support for East-Asian language) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1// EN" "http://www.w3.org/tr/xhtml11/dtd/ xhtml11.dtd">!17

HTML HTML 4.0 : http://www.w3schools.com/html/ HTML Examples: http://www.w3schools.com/ html/html_examples.asp HTML Entity Names: http://www.w3schools.com/ tags/ref_entities.asp!18

2. CSS

Appearance of CSS

CSS (Cascading Style Sheets) Style Sheets 1970 SGML. HTML HTML W3C CSS (2 were chosen from 9 proposals) W3C (1997) HTML Working Group DOM Working Group CSS Working Group!21

CSS (Cascading Style Sheets) CSS 1 (12/1996) Font properties (typeface, emphasis...) Color (text, backgrounds, line...) Text attributes (spacing: word, letter, text line) Alignment (text, image, table, etc..) Margin, border, padding, positioning!22

CSS (Cascading Style Sheets) CSS 2 (5/1998), W3C ( 2.1) CSS 1 absolute, relate, fixed positioning of elements new font properties (e.g., shadow) CSS 3 12/2005 border style (round, image border), transparency, font embedding!23

CSS (Cascading Style Sheets) Browser 1996 CSS1 IE3 CSS Macintosh IE5 CSS1 MS Netscape Version 5 CSS IE Version 7 CSS CSS2 CSS3 IE9, Safari 4, FireFox 4 ( ) CSS3!24

CSS CSS (Cascading Style Sheet) HTML, XHTML HTML HTML CSS!25

CSS CSS, table 50% (DivLayout.html vs. TableLayout.html) ( ) HTML http://www.csszengarden.com (w3c.org )!26

CSS CSS. selector { property: value; } : body { color: black; } body { color: black; font-size: 12pt; } body { color: black; background-color: white; font-size: large; line-height: 140%; }!27

CSS HTML CSS <head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head>!28

CSS HTML CSS HTML <head> <style type="text/css"> <!-- body {font-size:9pt;} //--> </style> </head>!29

CSS HTML CSS HTML (inline styles) <p style="color:gray;">text color is gray.</p>!30

CSS (selector): (class) (id) (class). ( :.red,.italic...) <style type="text/css"> <!-- //--> </style>.red {color:red} <h3 class="red">color of heading3 set to red.</h3> <p class="red">paragraph is also red.</p>!31

CSS (selector): (class) (id) (id) # ( : #navigation, #footer...) <style type="text/css"> <!-- //--> </style> #navbar {... } #footer {... } <div id= navbar >... </div> <div id= footer >... </div>!32

CSS Text CSS color red, #FF0000 direction ltr, rtl line-height 150%, 10px letter-spacing -0.1px text-align left, right, center, justify text-decoration none, underline, overline, line-through, blink text-indent 20px text-transform none, capitalize, uppercase, lowercase word-spacing 1px!33

CSS Font CSS font-family "Lucida Grande", Lucida, Verdana, sansserif font-size 10pt, 10em font-weight bold, normal font-variant small-caps, none Small Caps font-style italic, none ( )!34

CSS pt (, 1pt= 1/72 in) in (, 1in = 25.4 mm) % ( ) em ( ) mm ( ) cm( ) pc (, 1pc=12pt) px (,1px= 1 )!35

CSS CSS background-color #FFFF80, Ivory background-image url(bg.gif) background-repeat repeat, repeat-x, repeat-y, norepeat backgroundposition top left, top center, top right, center left, center center, center right, bottom left, bottom center, bottom right backgroundattachment scroll, fixed!36

CSS CSS border-style none, solid, dotted, hidden, dashed, double, groove, ridge, inset, outset border-width 1px, thin, medium, thick border-color #000000, silver border-top border-bottom border-left border-right border e.g.) border-top: 2px dotted silver; border-right: 4px double red; border-left: 4px groove green; (style, width, color ) / / /!37

CSS Box Model: Content, Margin, Padding, Border content padding: (border) border: margin margin: padding box : content block margin-left: 10px; padding-top: 5px; margin: 20px;!38

CSS Sample HTML/CSS TextExample.html / TextStyle.css BackgroundExample.html / BackgroundExample.css BoxExample.html / BoxExample.css property : http://www.w3.org/tr/css21/!39

Positioning p, h1, div: block element strong, span: inline element display block inline display: none, display: block block inline!40

Positioning Positioning 3 (relative):. (absolute): (0, 0). (floating):.!41

Positioning (relative positioning). (position). Lab2/w8-flow-01.html!42

Positioning (absolute positioning) (0,0) position ( ) Lab2/w8-flow-02.html!43

Positioning (floating).. clear clear: both; Lab2/w8-flow-03.html!44

3. HTML 5

HTML 5

HTML HTML /!47

WHATWG HTML XHTML 1998 W3C, HTML XHTML XHTML XHTML XHTML (HTML 4.01 ) XHTML MIME ( XHTML HTML ) Ajax, Web 2.0 HTML HTML...!48

WHATWG XHTML HTML W3C (XHTML ) 2004, Apple, Mozilla, Opera WHATWG (Web Hypertext Application Technology Working Group) HTML HTML ( )!49

W3C HTML5 2007, W3C WHATWG HTML5 2008 1, W3C HTML5 2009 Google I/O, 2009 Apple Steve Jobs,. HTML5 HTML5!50

HTML5 is not one big thing HTML5 ~= HTML + CSS + Native JS APIs Text

HTML5? Rich Internet Application Support Semantic Markup Better Accessibility Better Compatibility!52

Rich Internet Application HTML:. HTML5: API, (video/audio ) 2D (canvas ) (, e.g. Google Gears) (Cross Document Messaging )!53

Rich Internet Application (Web Storage, Web SQL Database) (Web Worker) (Web Sockets) (File API) HTML+JavaScript Java FLEX HTML!54

Semantic Markup HTML5 : <head> <footer> <section>!55

Semantic Markup <html> <body> <div id= header > </div> <div id= nav > </div> <div id= article > </div> <div id= sidebar > </div> <div id= footer > </div> </body> </html> <div id="header"> <div id = "article"> <div id="nav"> <div id = "sidebar"> <div id="footer">!56

Semantic Markup <html> <body> <header> </header> <nav> </nav> <section> <article> </article> </section> <footer> </footer> </body> </html> <header> <nav> <section> <aside> <article> <footer>!57

Semantic Markup Ordinary HTML markup vs. semantic markup <div id="header"> <header> <div id="nav"> <nav> <section> <div id = "article"> <div id = "sidebar"> <article> <aside> <div id="footer"> <footer>!58

Semantic Markup HTML class id HTML5 <head>, <footer>, <section> ( : <div> ) HTML!59

Better Accessibility Accessibility ( ) ( ) : / ( ) : (Section 508. http://www.section508.gov/ ) : Navigation Bar,,!60

Better Accessibility HTML5 (<head>, <footer>, <section>) (, ) WAI-ARIA (WAI Accessible Rich Internet Application) W3C,!61

Better Compatibility HTML : HTML ( )!62

Better Compatibility HTML HTML5 HTML5 : <progress value= 80 max= 100 >80%</progress> 80%!63

Better Compatibility HTML5 IE, FireFox, Safari : IE ruby, Safari Canvas!64

Questions?