SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
Django Girls 2015

HTML
Randy Lien
HyperText Markup Language
超⽂文字標注語
聽起來好像很厲害
HTML
結構
<div	
  class='sidebar'>	
  
	
  	
  	
  	
  <ul	
  class='menu-­‐list'>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <li	
  class='menu-­‐item'>Home</li>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <li	
  class='menu-­‐item'>Profile</li>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <li	
  class='menu-­‐item'>Facebook</li>	
  
</ul>	
  
</div>	
  
<div	
  class='content'>	
  
	
  	
  	
  	
  <h1	
  class='article-­‐title'>Title</h1>	
  
	
  	
  	
  	
  <h2>Tagname</h2>	
  
	
  	
  	
  	
  <p>................</p>	
  
</div>	
  
<div	
  class='sidebar'>	
  
	
  	
  	
  	
  <ul	
  class='menu-­‐list'>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <li	
  class='menu-­‐item'>Home</li>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <li	
  class='menu-­‐item'>Profile</li>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <li	
  class='menu-­‐item'>Facebook</li>	
  
</ul>	
  
</div>	
  
<div	
  class='content'>	
  
	
  	
  	
  	
  <h1	
  class='article-­‐title'>Title</h1>	
  
	
  	
  	
  	
  <h2>Tagname</h2>	
  
	
  	
  	
  	
  <p>................</p>	
  
</div>	
  
Tags
HTML
HTML
CSS
JavaScript
JavaScript
CSS
JavaScript
互動⾏行為
HTML
結構
CSS
視覺呈現
<!DOCTYPE	
  html>	
  
<html>	
  
	
  	
  	
  	
  <head>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <title>我的旅⾏行⽇日誌</title>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <style>	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  body	
  {	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  background-­‐color:	
  lightyellow;	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  em	
  {	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  color:	
  LightSeaGreen;	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  }	
  
	
  	
  	
  	
  	
  	
  	
  	
  </style>	
  
	
  	
  	
  	
  </head>	
  
	
  	
  	
  	
  <body>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <h1>Hello	
  World!</h1>	
  
	
  	
  	
  	
  	
  	
  	
  	
  <em>歡迎來到我的旅⾏行⽇日誌</em>	
  
	
  	
  	
  	
  </body>	
  
</html>
<h1>Header	
  1</h1>
<h2>Header	
  2</h2>
<h3>Header	
  3</h3>
<h4>Header	
  4</h4>
<h5>Header	
  5</h5>
<h6>Header	
  6</h6>
<p>Paragraph.</p>	
  
⽂文字類型的標籤
<h1>旅⾏行與我</h1>	
  
<h2>什麼是旅⾏行呢?</h2>	
  
<p>I	
  <em>love</em>	
  traveling!</p>	
  
<p>旅⾏行就像是⼀一段⼈人⽣生的⼩小旅程的縮影,妳不知道	
  
妳會碰⾒見誰,你不知道會往那裡⾛走。</p>	
  
<h2>喜歡那個國家呢?</h2>	
  
<p><strong>⻄西班⽛牙!!!</strong>那裡是⼀一個夢	
  
幻的國度,有美⻝⾷食,午覺,跟藝術。</p>
旅⾏行與我	
  
什麼是旅⾏行呢?	
  
I	
  love	
  traveling!	
  
旅⾏行就像是⼀一段⼈人⽣生的⼩小旅程的縮影,妳不知道妳會碰

⾒見誰,你不知道會往那裡⾛走。	
  
喜歡那個國家呢?	
  
⻄西班⽛牙!!!那裡是⼀一個夢幻的國度,有美⻝⾷食,午覺,跟藝術。
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
• Item 1
• Item 2
• Item 3
1. Item 1
2. Item 2
3. Item 3
<a	
  name='like'	
  href='/like/'	
  rel='like'>	
  
	
  	
  	
  	
  Like	
  
</a>	
  
Like
<h2>⻄西班⽛牙</h2>
<p>⻄西班⽛牙⺠民⾵風奔放熱情,當地⼈人喜愛⾾鬥⽜牛,
並且勢衷跳弗拉明⼽戈舞。同時也是吉他之鄉,
近代古典吉他就發源並興盛⾃自⻄西班⽛牙。</p>
<h2>義⼤大利</h2>
<p>義⼤大利⺫⽬目前擁有 44 處世界遺產,也是世
界上擁有最多世界遺產的國家。義⼤大利全國估
計有 100,000 個任何形式的紀念物。</p>
<div>
<h2>⻄西班⽛牙</h2>
<p>⻄西班⽛牙⺠民⾵風奔放熱情,當地⼈人喜愛⾾鬥⽜牛,
並且勢衷跳弗拉明⼽戈舞。同時也是吉他之鄉,
近代古典吉他就發源並興盛⾃自⻄西班⽛牙。</p>
</div>
<div>
<h2>義⼤大利</h2>
<p>義⼤大利⺫⽬目前擁有 44 處世界遺產,也是世
界上擁有最多世界遺產的國家。義⼤大利全國估
計有 100,000 個任何形式的紀念物。</p>
</div>
<h2>⻄西班⽛牙</h2>
<p>⻄西班⽛牙⺠民⾵風奔放熱情,當地⼈人喜愛⾾鬥⽜牛,
並且勢衷跳弗拉明⼽戈舞。同時也是吉他之鄉,
近代古典吉他就發源並興盛⾃自⻄西班⽛牙。</p>
<p><span>⻄西班⽛牙</span>⺠民⾵風奔放

熱情,當地⼈人喜愛⾾鬥⽜牛,並且熱衷跳
<span>弗拉明⼽戈舞</span>。同時也
是<span>吉他</span>之鄉,近代古
典吉他就發源並興盛⾃自⻄西班⽛牙。</p>
<div class='sidebar'>
<ul class='menu-list'>
<li class='menu-item'>Home</li>
<li class='menu-item'>Profile</li>
<li class='menu-item'>Facebook</li>
</ul>
</div>
<div class='content'>
<h1 class='article-title'>Title</h1>
<h2>Tagname</h2>
<p>................</p>
</div>
fin

Weitere ähnliche Inhalte

Andere mochten auch

0557192 Scam In A Bottle.
0557192 Scam In A Bottle.0557192 Scam In A Bottle.
0557192 Scam In A Bottle.Ali G
 
The monetization hexagon
The monetization hexagonThe monetization hexagon
The monetization hexagonEric Reiss
 
Wooh dance workshop
Wooh dance workshopWooh dance workshop
Wooh dance workshopPeitung Wang
 
Crowdfunding Workshop Kennisfestival Delft
Crowdfunding Workshop Kennisfestival DelftCrowdfunding Workshop Kennisfestival Delft
Crowdfunding Workshop Kennisfestival DelftRonald Kleverlaan
 
Innovation, apps and the monetization hexagon, UX Sofia 2014
Innovation, apps and the monetization hexagon, UX Sofia 2014Innovation, apps and the monetization hexagon, UX Sofia 2014
Innovation, apps and the monetization hexagon, UX Sofia 2014Eric Reiss
 
Carolannduffy revision power point
Carolannduffy revision power pointCarolannduffy revision power point
Carolannduffy revision power pointpierrette
 
TEDxThe HagueLIVE Sponsor Presentation
TEDxThe HagueLIVE Sponsor PresentationTEDxThe HagueLIVE Sponsor Presentation
TEDxThe HagueLIVE Sponsor Presentationearlybird44
 
Keynote at UX Sofia 2013
Keynote at UX Sofia 2013Keynote at UX Sofia 2013
Keynote at UX Sofia 2013Eric Reiss
 
GEF PAKISTAN
GEF PAKISTANGEF PAKISTAN
GEF PAKISTANAli Khan
 
Leveraging A Wiki To Enhance Virtual Collaboration In The Emergency Domain
Leveraging A Wiki To Enhance Virtual Collaboration In The Emergency DomainLeveraging A Wiki To Enhance Virtual Collaboration In The Emergency Domain
Leveraging A Wiki To Enhance Virtual Collaboration In The Emergency DomainConnie White
 
Ppt paragraaf 2.2_klas_3
Ppt paragraaf 2.2_klas_3Ppt paragraaf 2.2_klas_3
Ppt paragraaf 2.2_klas_3Riporter
 

Andere mochten auch (18)

Create a Loyal Following of Customers
Create a Loyal Following of CustomersCreate a Loyal Following of Customers
Create a Loyal Following of Customers
 
0557192 Scam In A Bottle.
0557192 Scam In A Bottle.0557192 Scam In A Bottle.
0557192 Scam In A Bottle.
 
The monetization hexagon
The monetization hexagonThe monetization hexagon
The monetization hexagon
 
Getting A Campaign Job
Getting A Campaign JobGetting A Campaign Job
Getting A Campaign Job
 
Grease Monkey
Grease MonkeyGrease Monkey
Grease Monkey
 
Wooh dance workshop
Wooh dance workshopWooh dance workshop
Wooh dance workshop
 
Presentatie Qmp V01
Presentatie Qmp V01Presentatie Qmp V01
Presentatie Qmp V01
 
Crowdfunding Workshop Kennisfestival Delft
Crowdfunding Workshop Kennisfestival DelftCrowdfunding Workshop Kennisfestival Delft
Crowdfunding Workshop Kennisfestival Delft
 
Innovation, apps and the monetization hexagon, UX Sofia 2014
Innovation, apps and the monetization hexagon, UX Sofia 2014Innovation, apps and the monetization hexagon, UX Sofia 2014
Innovation, apps and the monetization hexagon, UX Sofia 2014
 
Carolannduffy revision power point
Carolannduffy revision power pointCarolannduffy revision power point
Carolannduffy revision power point
 
TEDxThe HagueLIVE Sponsor Presentation
TEDxThe HagueLIVE Sponsor PresentationTEDxThe HagueLIVE Sponsor Presentation
TEDxThe HagueLIVE Sponsor Presentation
 
Keynote at UX Sofia 2013
Keynote at UX Sofia 2013Keynote at UX Sofia 2013
Keynote at UX Sofia 2013
 
His m04t15
His m04t15His m04t15
His m04t15
 
GEF PAKISTAN
GEF PAKISTANGEF PAKISTAN
GEF PAKISTAN
 
Best Practices for Second Life
Best Practices for Second LifeBest Practices for Second Life
Best Practices for Second Life
 
Customs and etiquette in Spain
Customs and etiquette in SpainCustoms and etiquette in Spain
Customs and etiquette in Spain
 
Leveraging A Wiki To Enhance Virtual Collaboration In The Emergency Domain
Leveraging A Wiki To Enhance Virtual Collaboration In The Emergency DomainLeveraging A Wiki To Enhance Virtual Collaboration In The Emergency Domain
Leveraging A Wiki To Enhance Virtual Collaboration In The Emergency Domain
 
Ppt paragraaf 2.2_klas_3
Ppt paragraaf 2.2_klas_3Ppt paragraaf 2.2_klas_3
Ppt paragraaf 2.2_klas_3
 

Mehr von Hsuan Fu Lien

The Ideas of Clojure - Things I learn from Clojure
The Ideas of Clojure - Things I learn from ClojureThe Ideas of Clojure - Things I learn from Clojure
The Ideas of Clojure - Things I learn from ClojureHsuan Fu Lien
 
Django Girls 2015 - CSS
Django Girls 2015 - CSSDjango Girls 2015 - CSS
Django Girls 2015 - CSSHsuan Fu Lien
 
Immutable, performance and components communication
Immutable, performance and components communicationImmutable, performance and components communication
Immutable, performance and components communicationHsuan Fu Lien
 
Introduce Flux & react in practices (KKBOX)
Introduce Flux & react in practices (KKBOX)Introduce Flux & react in practices (KKBOX)
Introduce Flux & react in practices (KKBOX)Hsuan Fu Lien
 
What is the next step for a front end beginner
What is the next step for a front end beginnerWhat is the next step for a front end beginner
What is the next step for a front end beginnerHsuan Fu Lien
 
Understand front end developer
Understand front end developerUnderstand front end developer
Understand front end developerHsuan Fu Lien
 
Introduce flux & react in practice
Introduce flux & react in practiceIntroduce flux & react in practice
Introduce flux & react in practiceHsuan Fu Lien
 
UI Engineering Introduction
UI Engineering IntroductionUI Engineering Introduction
UI Engineering IntroductionHsuan Fu Lien
 
Using Yeoman to develop Web App
Using Yeoman to develop Web AppUsing Yeoman to develop Web App
Using Yeoman to develop Web AppHsuan Fu Lien
 

Mehr von Hsuan Fu Lien (10)

The Ideas of Clojure - Things I learn from Clojure
The Ideas of Clojure - Things I learn from ClojureThe Ideas of Clojure - Things I learn from Clojure
The Ideas of Clojure - Things I learn from Clojure
 
Django Girls 2015 - CSS
Django Girls 2015 - CSSDjango Girls 2015 - CSS
Django Girls 2015 - CSS
 
React.JS Conf & F8
React.JS Conf & F8React.JS Conf & F8
React.JS Conf & F8
 
Immutable, performance and components communication
Immutable, performance and components communicationImmutable, performance and components communication
Immutable, performance and components communication
 
Introduce Flux & react in practices (KKBOX)
Introduce Flux & react in practices (KKBOX)Introduce Flux & react in practices (KKBOX)
Introduce Flux & react in practices (KKBOX)
 
What is the next step for a front end beginner
What is the next step for a front end beginnerWhat is the next step for a front end beginner
What is the next step for a front end beginner
 
Understand front end developer
Understand front end developerUnderstand front end developer
Understand front end developer
 
Introduce flux & react in practice
Introduce flux & react in practiceIntroduce flux & react in practice
Introduce flux & react in practice
 
UI Engineering Introduction
UI Engineering IntroductionUI Engineering Introduction
UI Engineering Introduction
 
Using Yeoman to develop Web App
Using Yeoman to develop Web AppUsing Yeoman to develop Web App
Using Yeoman to develop Web App
 

Django Girls 2015 - HTML