SlideShare a Scribd company logo
1 of 15
Download to read offline
Study Wordpress
Joo Dongwoo
- basic html5 -
HTML์˜ ๊ตฌ์„ฑ ์š”์†Œ
์š”์†Œ (Elements): ์‹œ์ž‘ ํƒœ๊ทธ์™€ ์ข…๋ฃŒ ํƒœ๊ทธ๋กœ ์ด๋ฃจ์–ด์ง„ ๋ชจ๋“  ๋ช…๋ น์–ด
ํƒœ๊ทธ (Tag): ์š”์†Œ์˜ ์ผ๋ถ€, ์‹œ์ž‘ ํƒœ๊ทธ(์š”์†Œ๋ฅผ ์‹œ์ž‘)์™€ ์ข…๋ฃŒ ํƒœ๊ทธ(์š”์†Œ๋ฅผ ๋๋ƒ„)๊ฐ€ ์žˆ์Œ.
์†์„ฑ (Attributes): ๋ช…๋ น์„ ๊ตฌ์ฒดํ™” ์‹œํ‚ค๋Š” ๊ฒƒ์œผ๋กœ ์š”์†Œ์˜ ์‹œ์ž‘ํƒœ๊ทธ ์•ˆ์—์„œ ์‚ฌ์šฉ๋จ.
๋ณ€์ˆ˜ (Arguments): ์†์„ฑ๊ณผ ๊ด€๋ จ๋œ ๊ฐ’.
HTML์˜ ๊ธฐ๋ณธ ๊ตฌ์กฐ
<html>
<head>
(ํ•ด๋‹น ํŽ˜์ด์ง€ ๊ธฐ๋ณธ ์ •๋ณด)
</head>
<body>
(ํ•ด๋‹น ํŽ˜์ด์ง€ ๋ณธ๋ฌธ)
</body>
</html>
Filename.html
head๋ž€?
๋‹ค๋ฅธ ๋ฌธ์„œ๋ฅผ ์—ฐ๊ฒฐ
Css, js, php, etc
Example)
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"
rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
๋ฌธ์„œ์˜ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ก
์šฐ๋ฆฌ ๋ˆˆ์—๋Š” ๋ณด์ด์ง€ ์•Š์ง€๋งŒ ๋ธŒ๋ผ์šฐ์ €์™€ ๊ฒ€์ƒ‰์—”์ง„์€ ์ฝ์„ ์ˆ˜ ์žˆ์Œ
Example)
<meta charset="UTF-8">
<meta property="og:image" content="http://news.karts.ac.kr/wp/wp-
content/themes/KNUANEWS/image/logo_thumbnail2.png" />
Body๋ž€?
์‹ค์ œ ๋ˆˆ์— ๋ณด์ด๋Š” ๋‚ด์šฉ์ด ๊ตฌ์„ฑ๋˜๋Š” ์˜์—ญ
๋ณดํ†ต์€ header, main, footer๋กœ ๊ตฌ์„ฑ
๋ฐ˜๋“œ์‹œ ์ง€ํ‚ฌ ํ•„์š”๋Š” ์—†์Œ
Example)
http://www.chairone.co.kr/NEW/
http://www.stevenholl.com/
HTML ๊ธฐ์ดˆ ๋ฌธ๋ฒ• (1)
๋ชจ๋“  ์š”์†Œ๋Š” ์™„๋ฒฝํ•˜๊ฒŒ ์ค‘์ฒฉ๋˜์–ด์•ผ ํ•œ๋‹ค
<p>This is a <strong>bad</p>example</strong> (X)
<p>This is a <strong>good</strong>example</p> (O)
๋ชจ๋“  ์†์„ฑ๊ฐ’์€ ์†์„ฑ์ด ํ•จ๊ป˜ ์„ ์–ธ๋˜์–ด์•ผ ํ•œ๋‹ค.
<option value="wrong" selected>bad example</option> (X)
<option value="right" selected="selected">good example</option> (O)
๋ชจ๋“  ์š”์†Œ์™€ ์†์„ฑ์€ ์†Œ๋ฌธ์ž์—ฌ์•ผ ํ•œ๋‹ค.
<DIV ID="idbox">bad example.</DIV> (X)
<div id="idbox">good example.</div> (O)
๋ชจ๋“  ์†์„ฑ ๊ฐ’์€ ์ธ์šฉ ๋ถ€ํ˜ธ("")์•ˆ์— ํ‘œ๊ธฐํ•œ๋‹ค.
<table border=1 cellpadding=0 cellspacing=0>..bad example..</table> (X)
<table border="1" cellpadding="0" cellspacing="0">..good example..</table> (O)
HTML ๊ธฐ์ดˆ ๋ฌธ๋ฒ• (2)
๋ชจ๋“  ์š”์†Œ๋Š” ๋‹ซ์•„์•ผ ํ•œ๋‹ค.
<img src="good_sample.gif" alt="์ข‹์€ ์˜ˆ์ œ ์ด๋ฏธ์ง€" />
<input type="text" /> <hr /> <br />
text๋‚˜ URL, script์— ํฌํ•จ๋œ ํŠน์ˆ˜ ๋ฌธ์ž๋Š” escape ์‹œํ‚จ๋‹ค.
<, ", &, > ์€ & l t ; , & q u o t ; , & a m p ;, & g t ; ๋กœ escape
<a href="http://tab.search.daum.net/dsa/search?
nil_profile=g&nil_searchtitle=1&w=knowledge&q=">bad example</a> (X)
<a href="http://tab.search.daum.net/dsa/search?nil_profile=g & a m p ; nil_searchtitle=1 &
a m p ; w=knowledge & a m p ; q=">good example</a> (O)
HTML Elements
๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์ฝ˜ํ…์ธ  (Metadata Content)
๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋Š” ๋‚˜๋จธ์ง€ ๋‚ด์šฉ์˜ ํ‘œํ˜„ ๋ฐ ํ–‰๋™์„ ์„ค์ •ํ•จ
๋‹ค๋ฅธ ๋ฌธ์„œ์™€์˜ ๊ด€๊ณ„๋ฅผ ์„ค์ •ํ•˜๊ฑฐ๋‚˜, ๋ฏธ๋ถ„๋ฅ˜ ์ •๋ณด๋“ค์„ ํฌํ•จ
example)
base, command, link, meta, noscript, script, style, title
ํ”Œ๋กœ์šฐ ์ฝ˜ํ…์ธ  (flow content)
๋ฌธ์„œ๋ฐ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ Body์—์„œ ์‚ฌ์šฉ๋˜๋Š” ๋Œ€๋ถ€๋ถ„์˜ ์š”์†Œ๋Š” ํ”Œ๋กœ์šฐ ์ฝ˜ํ…์ธ ๋กœ ๋ถ„๋ฅ˜
example)
a, abbr, address, area (map ์š”์†Œ์˜ ์ž์‹ ์š”์†Œ์ธ ๊ฒฝ์šฐ), article, aside, audio, b, bdi, bdo,
blockquote, br, button, canvas, cite, code, command, datalist, del, details, dfn, div, dl, em,
embed, fieldset, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, i, iframe,
img, input, ins, kbd, keygen, label, map, mark, math, menu, meter, nav, noscript, object, ol,
output, p, pre, progress, q, ruby, s, samp, script, section, select, small, span, strong, style
(scoped ์†์„ฑ์ด ์žˆ์œผ๋ฉด), sub, sup, svg, table, textarea, time, ul, var, video, wbr, text
์„น์…˜ ์ฝ˜ํ…์ธ  (Section Conetnt)
์„น์…˜ ์ฝ˜ํ…์ธ ๋Š” ํ—ค๋”ฉ๊ณผ ํ‘ธํ„ฐ์˜ ์œ ํšจ๋ฒ”์œ„๋ฅผ ์ง€์ •ํ•จ
์ œ๋ชฉ๊ณผ ๊ทธ ๋‚ด์šฉ์„ ํฌํ•จํ•˜๋Š” ๋ฒ”์œ„๋ฅผ ์ง€์ •ํ•จ
Example)
article, aside, nav, section
ํ—ค๋”ฉ ์ฝ˜ํ…์ธ  (Heading Content)
ํ—ค๋”ฉ ์ฝ˜ํ…์ธ ๋Š” ์„น์…˜(์„น์…˜ ์ฝ˜ํ…์ธ ๋‚˜ ๋˜๋Š” ํ—ค๋”ฉ ์ฝ˜ํ…์ธ ์— ์˜ํ•ด ์•”์‹œ์ ์œผ๋กœ ๋งˆํฌ์—… ๋œ ์˜์—ญ)์˜
ํ—ค๋”๋ฅผ ์ •์˜
Example)
h1, h2, h3, h4, h5, h6, hgroup
ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ  (Phrasing Content)
ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋Š” ๋ฌธ์„œ์˜ ํ…์ŠคํŠธ์ด๋ฉฐ, ๊ทธ ํ…์ŠคํŠธ๋ฅผ ๋‹จ๋ฝ ๋‚ด๋ถ€๋ ˆ๋ฒจ์—์„œ ๋งˆํฌ์—…์„ ํ•˜๋Š” ์š”
์†Œ์ž„
ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๊ฐ€ ๋ชจ์—ฌ ๋ฌธ๋‹จ์„ ๊ตฌ์„ฑ
Example)
a (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋งŒ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), abbr, area (map ์š”์†Œ์˜ ์ž์‹์š”์†Œ์ธ ๊ฒฝ์šฐ), audio, b,
bdi, bdo, br, button, canvas, cite, code, command, datalist, del (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ์„ ํฌํ•จํ•˜๋Š”
๊ฒฝ์šฐ), dfn, em, embed, i, iframe, img, input, ins (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋งŒ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), kbd,
keygen, label, map (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋งŒ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), mark, math, meter, noscript, object,
output, progress, q, ruby, s, samp, script, select, small, span, strong, sub, sup, svg,
textarea, time, var, video, wbr, text
์ž„๋ฒ ๋””๋“œ ์ฝ˜ํ…์ธ  (Embedded Content)
์ž„๋ฒ ๋””๋“œ ์ฝ˜ํ…์ธ ๋Š” ๋‹ค๋ฅธ ๋ฆฌ์†Œ์Šค(์Œ์•…, ์˜์ƒ ๋“ฑ)๋ฅผ ๋ฌธ์„œ์— ์‚ฝ์ž…ํ•˜๋Š” ์ฝ˜ํ…์ธ ๋‚˜, ๋ฌธ์„œ์— ์‚ฝ์ž…
๋œ ๋‹ค๋ฅธ ํ˜•ํƒœ์—์„œ ์œ ๋ž˜ํ•œ ์ฝ˜ํ…์ธ 
Example)
audio, canvas, embed, iframe, img, math, object, svg, video
์‹ค์Šต์˜ ์‹œ๊ฐ„
http://c9.io/

More Related Content

Viewers also liked

What 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From FailureWhat 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From FailureReferralCandy
ย 
How People Really Hold and Touch (their Phones)
How People Really Hold and Touch (their Phones)How People Really Hold and Touch (their Phones)
How People Really Hold and Touch (their Phones)Steven Hoober
ย 
Upworthy: 10 Ways To Win The Internets
Upworthy: 10 Ways To Win The InternetsUpworthy: 10 Ways To Win The Internets
Upworthy: 10 Ways To Win The InternetsUpworthy
ย 
The Seven Deadly Social Media Sins
The Seven Deadly Social Media SinsThe Seven Deadly Social Media Sins
The Seven Deadly Social Media SinsXPLAIN
ย 
How To (Really) Get Into Marketing
How To (Really) Get Into MarketingHow To (Really) Get Into Marketing
How To (Really) Get Into MarketingEd Fry
ย 
The What If Technique presented by Motivate Design
The What If Technique presented by Motivate DesignThe What If Technique presented by Motivate Design
The What If Technique presented by Motivate DesignMotivate Design
ย 
Design Your Career 2018
Design Your Career 2018Design Your Career 2018
Design Your Career 2018Slides That Rock
ย 
10 Powerful Body Language Tips for your next Presentation
10 Powerful Body Language Tips for your next Presentation10 Powerful Body Language Tips for your next Presentation
10 Powerful Body Language Tips for your next PresentationSOAP Presentations
ย 
Why Content Marketing Fails
Why Content Marketing FailsWhy Content Marketing Fails
Why Content Marketing FailsRand Fishkin
ย 
Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Velocity Partners
ย 
What Would Steve Do? 10 Lessons from the World's Most Captivating Presenters
What Would Steve Do? 10 Lessons from the World's Most Captivating PresentersWhat Would Steve Do? 10 Lessons from the World's Most Captivating Presenters
What Would Steve Do? 10 Lessons from the World's Most Captivating PresentersHubSpot
ย 
The Search for Meaning in B2B Marketing
The Search for Meaning in B2B MarketingThe Search for Meaning in B2B Marketing
The Search for Meaning in B2B MarketingVelocity Partners
ย 
Digital Strategy 101
Digital Strategy 101Digital Strategy 101
Digital Strategy 101Bud Caddell
ย 
How Google Works
How Google WorksHow Google Works
How Google WorksEric Schmidt
ย 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare pptMandy Suzanne
ย 

Viewers also liked (15)

What 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From FailureWhat 33 Successful Entrepreneurs Learned From Failure
What 33 Successful Entrepreneurs Learned From Failure
ย 
How People Really Hold and Touch (their Phones)
How People Really Hold and Touch (their Phones)How People Really Hold and Touch (their Phones)
How People Really Hold and Touch (their Phones)
ย 
Upworthy: 10 Ways To Win The Internets
Upworthy: 10 Ways To Win The InternetsUpworthy: 10 Ways To Win The Internets
Upworthy: 10 Ways To Win The Internets
ย 
The Seven Deadly Social Media Sins
The Seven Deadly Social Media SinsThe Seven Deadly Social Media Sins
The Seven Deadly Social Media Sins
ย 
How To (Really) Get Into Marketing
How To (Really) Get Into MarketingHow To (Really) Get Into Marketing
How To (Really) Get Into Marketing
ย 
The What If Technique presented by Motivate Design
The What If Technique presented by Motivate DesignThe What If Technique presented by Motivate Design
The What If Technique presented by Motivate Design
ย 
Design Your Career 2018
Design Your Career 2018Design Your Career 2018
Design Your Career 2018
ย 
10 Powerful Body Language Tips for your next Presentation
10 Powerful Body Language Tips for your next Presentation10 Powerful Body Language Tips for your next Presentation
10 Powerful Body Language Tips for your next Presentation
ย 
Why Content Marketing Fails
Why Content Marketing FailsWhy Content Marketing Fails
Why Content Marketing Fails
ย 
Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.
ย 
What Would Steve Do? 10 Lessons from the World's Most Captivating Presenters
What Would Steve Do? 10 Lessons from the World's Most Captivating PresentersWhat Would Steve Do? 10 Lessons from the World's Most Captivating Presenters
What Would Steve Do? 10 Lessons from the World's Most Captivating Presenters
ย 
The Search for Meaning in B2B Marketing
The Search for Meaning in B2B MarketingThe Search for Meaning in B2B Marketing
The Search for Meaning in B2B Marketing
ย 
Digital Strategy 101
Digital Strategy 101Digital Strategy 101
Digital Strategy 101
ย 
How Google Works
How Google WorksHow Google Works
How Google Works
ย 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
ย 

Similar to 01. basic html5

2 1. html4.01
2 1. html4.012 1. html4.01
2 1. html4.01JinKyoungHeo
ย 
Best practice of HTML5 Semantic Markup
Best practice of HTML5 Semantic MarkupBest practice of HTML5 Semantic Markup
Best practice of HTML5 Semantic MarkupToby Yun
ย 
[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ
[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ
[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑLee Sang-Ho
ย 
2-2. html5
2-2. html52-2. html5
2-2. html5JinKyoungHeo
ย 
Django๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ
Django๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐDjango๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ
Django๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐKyoung Up Jung
ย 
[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?Nts Nuli
ย 
์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?Toby Yun
ย 
์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ
์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ
์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ์„ฑ์ฃผ ์ด
ย 
3.web์˜์—ญ์‚ฌ์™€browser
3.web์˜์—ญ์‚ฌ์™€browser3.web์˜์—ญ์‚ฌ์™€browser
3.web์˜์—ญ์‚ฌ์™€browsercheonsu park
ย 
Html5_SYS4U
Html5_SYS4UHtml5_SYS4U
Html5_SYS4Usys4u
ย 
Html5 ์‹œ๋งจํ‹ฑํƒœ๊ทธ
Html5 ์‹œ๋งจํ‹ฑํƒœ๊ทธHtml5 ์‹œ๋งจํ‹ฑํƒœ๊ทธ
Html5 ์‹œ๋งจํ‹ฑํƒœ๊ทธ์€์‹ฌ ๊ฐ•
ย 
Java script ๊ฐ•์˜์ž๋ฃŒ_ed13
Java script ๊ฐ•์˜์ž๋ฃŒ_ed13Java script ๊ฐ•์˜์ž๋ฃŒ_ed13
Java script ๊ฐ•์˜์ž๋ฃŒ_ed13hungrok
ย 
Web Standards HTML5_CSS3
Web Standards HTML5_CSS3Web Standards HTML5_CSS3
Web Standards HTML5_CSS3Eulsoo Jung
ย 
HTML5 & CSS3
HTML5 & CSS3HTML5 & CSS3
HTML5 & CSS3Eulsoo Jung
ย 
แ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animations
แ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animationsแ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animations
แ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web AnimationsChang W. Doh
ย 
แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต
แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต
แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต Yong Joon Moon
ย 
Clearboth Study 14th
Clearboth Study 14thClearboth Study 14th
Clearboth Study 14thJiho Choo
ย 
์›นํ‘œ์ค€ ๊ต์œก
์›นํ‘œ์ค€ ๊ต์œก์›นํ‘œ์ค€ ๊ต์œก
์›นํ‘œ์ค€ ๊ต์œกAria (In Suk) Kim
ย 
Code_The_Web_150524_HTML_CSS
Code_The_Web_150524_HTML_CSSCode_The_Web_150524_HTML_CSS
Code_The_Web_150524_HTML_CSSChangwhan Yea
ย 
Code_The_Web_1
Code_The_Web_1Code_The_Web_1
Code_The_Web_1Changwhan Yea
ย 

Similar to 01. basic html5 (20)

2 1. html4.01
2 1. html4.012 1. html4.01
2 1. html4.01
ย 
Best practice of HTML5 Semantic Markup
Best practice of HTML5 Semantic MarkupBest practice of HTML5 Semantic Markup
Best practice of HTML5 Semantic Markup
ย 
[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ
[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ
[๋ฐฉ์†กํ†ต์‹ ๋Œ€ ์ปดํ“จํ„ฐ๊ณผํ•™๊ณผ] HTML ์›น ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ณผ์ œ๋ฌผ ์ž‘์„ฑ
ย 
2-2. html5
2-2. html52-2. html5
2-2. html5
ย 
Django๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ
Django๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐDjango๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ
Django๋ฅผ Django๋‹ต๊ฒŒ, Django๋กœ ๋‰ด์Šค ์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ
ย 
[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
[2014๋„๋ฆฌ์„ธ๋ฏธ๋‚˜] ์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
ย 
์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
์‹œ๋งจํ‹ฑํ•œ HTML5 ๋งˆํฌ์—… ๊ตฌ์กฐ ์„ค๊ณ„, ์–ด๋–ป๊ฒŒ ํ• ๊นŒ?
ย 
์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ
์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ
์—…๋ฌด์ž๋™ํ™”๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ
ย 
3.web์˜์—ญ์‚ฌ์™€browser
3.web์˜์—ญ์‚ฌ์™€browser3.web์˜์—ญ์‚ฌ์™€browser
3.web์˜์—ญ์‚ฌ์™€browser
ย 
Html5_SYS4U
Html5_SYS4UHtml5_SYS4U
Html5_SYS4U
ย 
Html5 ์‹œ๋งจํ‹ฑํƒœ๊ทธ
Html5 ์‹œ๋งจํ‹ฑํƒœ๊ทธHtml5 ์‹œ๋งจํ‹ฑํƒœ๊ทธ
Html5 ์‹œ๋งจํ‹ฑํƒœ๊ทธ
ย 
Java script ๊ฐ•์˜์ž๋ฃŒ_ed13
Java script ๊ฐ•์˜์ž๋ฃŒ_ed13Java script ๊ฐ•์˜์ž๋ฃŒ_ed13
Java script ๊ฐ•์˜์ž๋ฃŒ_ed13
ย 
Web Standards HTML5_CSS3
Web Standards HTML5_CSS3Web Standards HTML5_CSS3
Web Standards HTML5_CSS3
ย 
HTML5 & CSS3
HTML5 & CSS3HTML5 & CSS3
HTML5 & CSS3
ย 
แ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animations
แ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animationsแ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animations
แ„‹แ…กแ†ฏแ„‹แ…กแ„‡แ…ฉแ†ธแ„‰แ…ตแ„ƒแ…ก, Polymer: Web Components & Web Animations
ย 
แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต
แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต
แ„‘แ…กแ„‹แ…ตแ„Šแ…ฅแ†ซ แ„‘แ…ณแ†ฏแ„…แ…กแ„‰แ…ณแ„แ…ณ แ„‹แ…ตแ„’แ…ขแ„’แ…กแ„€แ…ต
ย 
Clearboth Study 14th
Clearboth Study 14thClearboth Study 14th
Clearboth Study 14th
ย 
์›นํ‘œ์ค€ ๊ต์œก
์›นํ‘œ์ค€ ๊ต์œก์›นํ‘œ์ค€ ๊ต์œก
์›นํ‘œ์ค€ ๊ต์œก
ย 
Code_The_Web_150524_HTML_CSS
Code_The_Web_150524_HTML_CSSCode_The_Web_150524_HTML_CSS
Code_The_Web_150524_HTML_CSS
ย 
Code_The_Web_1
Code_The_Web_1Code_The_Web_1
Code_The_Web_1
ย 

01. basic html5

  • 2. HTML์˜ ๊ตฌ์„ฑ ์š”์†Œ ์š”์†Œ (Elements): ์‹œ์ž‘ ํƒœ๊ทธ์™€ ์ข…๋ฃŒ ํƒœ๊ทธ๋กœ ์ด๋ฃจ์–ด์ง„ ๋ชจ๋“  ๋ช…๋ น์–ด ํƒœ๊ทธ (Tag): ์š”์†Œ์˜ ์ผ๋ถ€, ์‹œ์ž‘ ํƒœ๊ทธ(์š”์†Œ๋ฅผ ์‹œ์ž‘)์™€ ์ข…๋ฃŒ ํƒœ๊ทธ(์š”์†Œ๋ฅผ ๋๋ƒ„)๊ฐ€ ์žˆ์Œ. ์†์„ฑ (Attributes): ๋ช…๋ น์„ ๊ตฌ์ฒดํ™” ์‹œํ‚ค๋Š” ๊ฒƒ์œผ๋กœ ์š”์†Œ์˜ ์‹œ์ž‘ํƒœ๊ทธ ์•ˆ์—์„œ ์‚ฌ์šฉ๋จ. ๋ณ€์ˆ˜ (Arguments): ์†์„ฑ๊ณผ ๊ด€๋ จ๋œ ๊ฐ’.
  • 3. HTML์˜ ๊ธฐ๋ณธ ๊ตฌ์กฐ <html> <head> (ํ•ด๋‹น ํŽ˜์ด์ง€ ๊ธฐ๋ณธ ์ •๋ณด) </head> <body> (ํ•ด๋‹น ํŽ˜์ด์ง€ ๋ณธ๋ฌธ) </body> </html> Filename.html
  • 4. head๋ž€? ๋‹ค๋ฅธ ๋ฌธ์„œ๋ฅผ ์—ฐ๊ฒฐ Css, js, php, etc Example) <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> ๋ฌธ์„œ์˜ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ก ์šฐ๋ฆฌ ๋ˆˆ์—๋Š” ๋ณด์ด์ง€ ์•Š์ง€๋งŒ ๋ธŒ๋ผ์šฐ์ €์™€ ๊ฒ€์ƒ‰์—”์ง„์€ ์ฝ์„ ์ˆ˜ ์žˆ์Œ Example) <meta charset="UTF-8"> <meta property="og:image" content="http://news.karts.ac.kr/wp/wp- content/themes/KNUANEWS/image/logo_thumbnail2.png" />
  • 5. Body๋ž€? ์‹ค์ œ ๋ˆˆ์— ๋ณด์ด๋Š” ๋‚ด์šฉ์ด ๊ตฌ์„ฑ๋˜๋Š” ์˜์—ญ ๋ณดํ†ต์€ header, main, footer๋กœ ๊ตฌ์„ฑ ๋ฐ˜๋“œ์‹œ ์ง€ํ‚ฌ ํ•„์š”๋Š” ์—†์Œ Example) http://www.chairone.co.kr/NEW/ http://www.stevenholl.com/
  • 6. HTML ๊ธฐ์ดˆ ๋ฌธ๋ฒ• (1) ๋ชจ๋“  ์š”์†Œ๋Š” ์™„๋ฒฝํ•˜๊ฒŒ ์ค‘์ฒฉ๋˜์–ด์•ผ ํ•œ๋‹ค <p>This is a <strong>bad</p>example</strong> (X) <p>This is a <strong>good</strong>example</p> (O) ๋ชจ๋“  ์†์„ฑ๊ฐ’์€ ์†์„ฑ์ด ํ•จ๊ป˜ ์„ ์–ธ๋˜์–ด์•ผ ํ•œ๋‹ค. <option value="wrong" selected>bad example</option> (X) <option value="right" selected="selected">good example</option> (O) ๋ชจ๋“  ์š”์†Œ์™€ ์†์„ฑ์€ ์†Œ๋ฌธ์ž์—ฌ์•ผ ํ•œ๋‹ค. <DIV ID="idbox">bad example.</DIV> (X) <div id="idbox">good example.</div> (O) ๋ชจ๋“  ์†์„ฑ ๊ฐ’์€ ์ธ์šฉ ๋ถ€ํ˜ธ("")์•ˆ์— ํ‘œ๊ธฐํ•œ๋‹ค. <table border=1 cellpadding=0 cellspacing=0>..bad example..</table> (X) <table border="1" cellpadding="0" cellspacing="0">..good example..</table> (O)
  • 7. HTML ๊ธฐ์ดˆ ๋ฌธ๋ฒ• (2) ๋ชจ๋“  ์š”์†Œ๋Š” ๋‹ซ์•„์•ผ ํ•œ๋‹ค. <img src="good_sample.gif" alt="์ข‹์€ ์˜ˆ์ œ ์ด๋ฏธ์ง€" /> <input type="text" /> <hr /> <br /> text๋‚˜ URL, script์— ํฌํ•จ๋œ ํŠน์ˆ˜ ๋ฌธ์ž๋Š” escape ์‹œํ‚จ๋‹ค. <, ", &, > ์€ & l t ; , & q u o t ; , & a m p ;, & g t ; ๋กœ escape <a href="http://tab.search.daum.net/dsa/search? nil_profile=g&nil_searchtitle=1&w=knowledge&q=">bad example</a> (X) <a href="http://tab.search.daum.net/dsa/search?nil_profile=g & a m p ; nil_searchtitle=1 & a m p ; w=knowledge & a m p ; q=">good example</a> (O)
  • 9. ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ์ฝ˜ํ…์ธ  (Metadata Content) ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋Š” ๋‚˜๋จธ์ง€ ๋‚ด์šฉ์˜ ํ‘œํ˜„ ๋ฐ ํ–‰๋™์„ ์„ค์ •ํ•จ ๋‹ค๋ฅธ ๋ฌธ์„œ์™€์˜ ๊ด€๊ณ„๋ฅผ ์„ค์ •ํ•˜๊ฑฐ๋‚˜, ๋ฏธ๋ถ„๋ฅ˜ ์ •๋ณด๋“ค์„ ํฌํ•จ example) base, command, link, meta, noscript, script, style, title
  • 10. ํ”Œ๋กœ์šฐ ์ฝ˜ํ…์ธ  (flow content) ๋ฌธ์„œ๋ฐ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ Body์—์„œ ์‚ฌ์šฉ๋˜๋Š” ๋Œ€๋ถ€๋ถ„์˜ ์š”์†Œ๋Š” ํ”Œ๋กœ์šฐ ์ฝ˜ํ…์ธ ๋กœ ๋ถ„๋ฅ˜ example) a, abbr, address, area (map ์š”์†Œ์˜ ์ž์‹ ์š”์†Œ์ธ ๊ฒฝ์šฐ), article, aside, audio, b, bdi, bdo, blockquote, br, button, canvas, cite, code, command, datalist, del, details, dfn, div, dl, em, embed, fieldset, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, i, iframe, img, input, ins, kbd, keygen, label, map, mark, math, menu, meter, nav, noscript, object, ol, output, p, pre, progress, q, ruby, s, samp, script, section, select, small, span, strong, style (scoped ์†์„ฑ์ด ์žˆ์œผ๋ฉด), sub, sup, svg, table, textarea, time, ul, var, video, wbr, text
  • 11. ์„น์…˜ ์ฝ˜ํ…์ธ  (Section Conetnt) ์„น์…˜ ์ฝ˜ํ…์ธ ๋Š” ํ—ค๋”ฉ๊ณผ ํ‘ธํ„ฐ์˜ ์œ ํšจ๋ฒ”์œ„๋ฅผ ์ง€์ •ํ•จ ์ œ๋ชฉ๊ณผ ๊ทธ ๋‚ด์šฉ์„ ํฌํ•จํ•˜๋Š” ๋ฒ”์œ„๋ฅผ ์ง€์ •ํ•จ Example) article, aside, nav, section
  • 12. ํ—ค๋”ฉ ์ฝ˜ํ…์ธ  (Heading Content) ํ—ค๋”ฉ ์ฝ˜ํ…์ธ ๋Š” ์„น์…˜(์„น์…˜ ์ฝ˜ํ…์ธ ๋‚˜ ๋˜๋Š” ํ—ค๋”ฉ ์ฝ˜ํ…์ธ ์— ์˜ํ•ด ์•”์‹œ์ ์œผ๋กœ ๋งˆํฌ์—… ๋œ ์˜์—ญ)์˜ ํ—ค๋”๋ฅผ ์ •์˜ Example) h1, h2, h3, h4, h5, h6, hgroup
  • 13. ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ  (Phrasing Content) ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋Š” ๋ฌธ์„œ์˜ ํ…์ŠคํŠธ์ด๋ฉฐ, ๊ทธ ํ…์ŠคํŠธ๋ฅผ ๋‹จ๋ฝ ๋‚ด๋ถ€๋ ˆ๋ฒจ์—์„œ ๋งˆํฌ์—…์„ ํ•˜๋Š” ์š” ์†Œ์ž„ ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๊ฐ€ ๋ชจ์—ฌ ๋ฌธ๋‹จ์„ ๊ตฌ์„ฑ Example) a (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋งŒ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), abbr, area (map ์š”์†Œ์˜ ์ž์‹์š”์†Œ์ธ ๊ฒฝ์šฐ), audio, b, bdi, bdo, br, button, canvas, cite, code, command, datalist, del (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), dfn, em, embed, i, iframe, img, input, ins (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋งŒ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), kbd, keygen, label, map (ํ”„๋ ˆ์ด์ง• ์ฝ˜ํ…์ธ ๋งŒ์„ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ), mark, math, meter, noscript, object, output, progress, q, ruby, s, samp, script, select, small, span, strong, sub, sup, svg, textarea, time, var, video, wbr, text
  • 14. ์ž„๋ฒ ๋””๋“œ ์ฝ˜ํ…์ธ  (Embedded Content) ์ž„๋ฒ ๋””๋“œ ์ฝ˜ํ…์ธ ๋Š” ๋‹ค๋ฅธ ๋ฆฌ์†Œ์Šค(์Œ์•…, ์˜์ƒ ๋“ฑ)๋ฅผ ๋ฌธ์„œ์— ์‚ฝ์ž…ํ•˜๋Š” ์ฝ˜ํ…์ธ ๋‚˜, ๋ฌธ์„œ์— ์‚ฝ์ž… ๋œ ๋‹ค๋ฅธ ํ˜•ํƒœ์—์„œ ์œ ๋ž˜ํ•œ ์ฝ˜ํ…์ธ  Example) audio, canvas, embed, iframe, img, math, object, svg, video