SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Downloaden Sie, um offline zu lesen
HTML



WMMKS Lab
 郭至軒
HTML 5

當前版本 HTML 4.01

HTML 5:含 HTML、CSS 以及 Javascript

尚未正式推出,大多數主流瀏覽器支援部份功
能,至於 IE...

HTML5 & CSS3 Support
new tags

section, video, progress, nav, meter,
time, aside, canvas, command, datalist,
details, embed, figcaption, figure,
footer, header, hgroup, keygen, mark,
output, rp, rt, ruby, source, summary,
wbr
new tag

section, video, progress, nav, meter,
time, aside, canvas, command,
datalist, details, embed, figcaption,
figure, footer, header, hgroup,
keygen, mark, output, rp, rt, ruby,
source, summary, wbr
new tag

  標題


  首頁      文章彙整   關於作者   其他




  部落格文章




  版權宣告
new tag

  <div></div>


  <div></div>




  <div></div>




  <div></div>
new tag

  <header></header>


  <nav></nav>




  <section></section>




  <footer></footer>
new tag

  <header></header>


  <div></div>


                 網頁更富有語意!
  <section></section>




  <footer></footer>
removed tags

acronym, applet, basefont, big, center,
dir, font, frame, frameset, isindex,
noframes, strike, tt
removed tags

acronym, applet, basefont, big,
center, dir, font, frame, frameset,
isindex, noframes, strike, tt
媒體播放

<audio>
播放音樂

<video>
播放影片
動畫製作

- Canvas API
- CSS 3
- Javascript

- http://bit.ly/QnNJ14
- http://bit.ly/QnNxyW
- http://bit.ly/TZZ9yd
Powerful CSS 3

圓角、旋轉、變形、移動、漸變...



- http://bit.ly/U002qB
- http://bit.ly/QnP5J3
- http://bit.ly/QnP5sE
- http://bit.ly/U00ULU
- http://bit.ly/U00kh9
More...




HTML5 - Wikipedia

HTML5 - Google 搜尋
something about HTML

 瀏覽器支援不嚴謹的 HTML 語法

<html>
     <head>
     </head>
     <body>
          <ol>
                 <li>資訊週加油阿! </li>
                 <li>傳情品可以幫我打折嗎?
</li>
               <li>不然傳給我也是 OK 的 :)
          </ol>
     </body>
</html>
something about HTML

 瀏覽器支援不嚴謹的 HTML 語法

<html>
     <head>
     </head>
     <body>
          <ol>
                 <li>資訊週加油阿! </li>
                 <li>傳情品可以幫我打折嗎?
</li>
                 <li>不然傳給我也是 OK 的 :)
</li>
          </ol>
     </body>
</html>
something about HTML

      01: <html>
      02:      <head>
      03:      </head>
      04:      <body>
      05:           <table border=1>
      06:                <tr>
      07:                     <td> r1,c1   <td>
      08:                     <td> r1,c2   </td>
      09:                </tr>
      10:                <tr>
      11:                     <td> r2,c1   </td>
      12:                     <td> r2,c2   </td>
      13:                </tr>
      14:           </table>
      15:      </body>
      16: </html>
something about HTML
something about HTML
01: <html>
02:      <head>
03:      </head>
04:      <body>
05:           <table border=1>
06:                <tr>
07:                     <td> r1,c1   <td>
08:                     <td> r1,c2   </td>
09:                </tr>
10:                <tr>
11:                     <td> r2,c1   </td>
12:                     <td> r2,c2   </td>
13:                </tr>
14:           </table>
15:      </body>
16: </html>
something about HTML

    01:   <html>
    02:       <head>
    03:       </head>
    04:       <body>
    05:            <table border=1>
    06:                 <tr>
    07:                     <td> r1,c1   </td><td></td>
    08:                     <td> r1,c2 </td>
    09:                </tr>
    10:                <tr>
    11:                     <td> r2,c1 </td>
    12:                     <td> r2,c2 </td>
    13:                </tr>
    14:           </table>
    15:      </body>
    16: </html>
About browser




How browsers work

[译]How browsers work
Browser
多用不同的瀏覽器測試!




Let's Kill IE6
Browser
IE is magic
看到的都跟別人不一樣!




              資料來源:http://engt.co/SZWheA
IE is magic

IE only!!!

只有 IE 看得到!
WTF...
Debuger

右鍵 → 檢查元素 (inspect element)
Firebug (Firefox addon)

Firebug
Firefox 3D view
a little tips of coding




 縮排
Indentation

01: <html>                                  01:   <html>
02:      <head>                             02:   <head>
03:      </head>                            03:   </head>
04:      <body>                             04:   <body>
05:            <table border=1>             05:   <table border=1>
06:                 <tr>                    06:   <tr>
07:                      <td> r1,c1         07:   <td> r1,c1 </td><td></td>
</td><td></td>                              08:   <td> r1,c2 </td>
08:                      <td> r1,c2 </td>   09:   </tr>
09:                 </tr>                   10:   <tr>
10:                 <tr>                    11:   <td> r2,c1 </td>
11:                      <td> r2,c1 </td>   12:   <td> r2,c2 </td>
12:                      <td> r2,c2 </td>   13:   </tr>
13:                 </tr>                   14:   </table>
14:            </table>                     15:   </body>
15:      </body>                            16:   </html>
16: </html>
a little tips of coding




編輯器
Editor
Notepad++ (Windows Only)

(g)Vim (Cross-platform)

Gedit (Cross-platform)

TextMate (Mac OS X)

Coda (Mac OS X)
a little tips of coding

              行號
  語法高亮標記
           其他...
Syntax Highlight
01: <html>                           01: <html>
02:      <head>                      02:      <head>
03:      </head>                     03:      </head>
04:      <body>                      04:      <body>
05:           <table border=1>       05:           <table border=1>
06:                <tr>              06:                <tr>
07:                     <td> r1,c1   07:                     <td> r1,c1
</td>                                </td>
08:                     <td> r1,c2   08:                     <td> r1,c2
</td>                                </td>
09:                </tr>             09:                </tr>
10:                <tr>              10:                <tr>
11:                     <td> r2,c1   11:                     <td> r2,c1
</td>                                </td>
12:                     <td> r2,c2   12:                     <td> r2,c2
</td>                                </td>
13:                </tr>             13:                </tr>
14:           </table>               14:           </table>
15:      </body>                     15:      </body>
16: </html>                          16: </html>
Zen Coding

zen-coding

- HTML 很冗
- 開了還要關
- 角括號裡面還要塞一些 attribute


    What The F*ck!!!!
Zen Coding

div#page>div.logo+ul#navigation>li*5>a


      <div id="page">
          <div class="logo"></div>
          <ul id="navigation">
               <li><a href=""></a></li>
               <li><a href=""></a></li>
               <li><a href=""></a></li>
               <li><a href=""></a></li>
               <li><a href=""></a></li>
          </ul>
      </div>               影片:http://vimeo.com/7405114
End

Weitere ähnliche Inhalte

Ähnlich wie 20121019-HTML5

Troubleshooting Email Like a Pro
Troubleshooting Email Like a ProTroubleshooting Email Like a Pro
Troubleshooting Email Like a ProLitmus
 
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSWeb Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSRSolutions
 
Create Web Pages by programming of your chice.pdf
Create Web Pages by programming of your chice.pdfCreate Web Pages by programming of your chice.pdf
Create Web Pages by programming of your chice.pdfworkingdev2003
 
Doing More with LESS for CSS
Doing More with LESS for CSSDoing More with LESS for CSS
Doing More with LESS for CSSTodd Anglin
 
Troubleshooting Email Like a Pro
Troubleshooting Email Like a ProTroubleshooting Email Like a Pro
Troubleshooting Email Like a ProLitmus
 
BITM3730 9-13.pptx
BITM3730 9-13.pptxBITM3730 9-13.pptx
BITM3730 9-13.pptxMattMarino13
 
CSS3 Ready for Primetime
CSS3 Ready for PrimetimeCSS3 Ready for Primetime
CSS3 Ready for PrimetimeJeff Bridgforth
 
Full Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversITFull Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversITAchieversITAravind
 
HTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdfHTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdfAchieversITAravind
 
HTML web design_ an introduction to design
HTML web design_ an introduction to designHTML web design_ an introduction to design
HTML web design_ an introduction to designSureshSingh142
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookScottperrone
 
Coding for entrepreneurs
Coding for entrepreneursCoding for entrepreneurs
Coding for entrepreneursAmine Sadry
 

Ähnlich wie 20121019-HTML5 (20)

HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
Troubleshooting Email Like a Pro
Troubleshooting Email Like a ProTroubleshooting Email Like a Pro
Troubleshooting Email Like a Pro
 
Basic html tags
Basic html tagsBasic html tags
Basic html tags
 
RESTful design
RESTful designRESTful design
RESTful design
 
Lectuer html1
Lectuer  html1Lectuer  html1
Lectuer html1
 
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSWeb Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
 
Create Web Pages by programming of your chice.pdf
Create Web Pages by programming of your chice.pdfCreate Web Pages by programming of your chice.pdf
Create Web Pages by programming of your chice.pdf
 
Doing More with LESS for CSS
Doing More with LESS for CSSDoing More with LESS for CSS
Doing More with LESS for CSS
 
Troubleshooting Email Like a Pro
Troubleshooting Email Like a ProTroubleshooting Email Like a Pro
Troubleshooting Email Like a Pro
 
Htmlppt
Htmlppt Htmlppt
Htmlppt
 
BITM3730 9-13.pptx
BITM3730 9-13.pptxBITM3730 9-13.pptx
BITM3730 9-13.pptx
 
AngularJS Basics with Example
AngularJS Basics with ExampleAngularJS Basics with Example
AngularJS Basics with Example
 
CSS3 Ready for Primetime
CSS3 Ready for PrimetimeCSS3 Ready for Primetime
CSS3 Ready for Primetime
 
Slicing the web
Slicing the webSlicing the web
Slicing the web
 
Full Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversITFull Stack Class in Marathahalli| AchieversIT
Full Stack Class in Marathahalli| AchieversIT
 
HTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdfHTML Notes For demo_classes.pdf
HTML Notes For demo_classes.pdf
 
HTML literals, the JSX of the platform
HTML literals, the JSX of the platformHTML literals, the JSX of the platform
HTML literals, the JSX of the platform
 
HTML web design_ an introduction to design
HTML web design_ an introduction to designHTML web design_ an introduction to design
HTML web design_ an introduction to design
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
Coding for entrepreneurs
Coding for entrepreneursCoding for entrepreneurs
Coding for entrepreneurs
 

Mehr von Chih-Hsuan Kuo

[Mozilla] content-select
[Mozilla] content-select[Mozilla] content-select
[Mozilla] content-selectChih-Hsuan Kuo
 
Ownership System in Rust
Ownership System in RustOwnership System in Rust
Ownership System in RustChih-Hsuan Kuo
 
在開始工作以前,我以為我會寫扣。
在開始工作以前,我以為我會寫扣。在開始工作以前,我以為我會寫扣。
在開始工作以前,我以為我會寫扣。Chih-Hsuan Kuo
 
Effective Modern C++ - Item 35 & 36
Effective Modern C++ - Item 35 & 36Effective Modern C++ - Item 35 & 36
Effective Modern C++ - Item 35 & 36Chih-Hsuan Kuo
 
Use C++ to Manipulate mozSettings in Gecko
Use C++ to Manipulate mozSettings in GeckoUse C++ to Manipulate mozSettings in Gecko
Use C++ to Manipulate mozSettings in GeckoChih-Hsuan Kuo
 
Pocket Authentication with OAuth on Firefox OS
Pocket Authentication with OAuth on Firefox OSPocket Authentication with OAuth on Firefox OS
Pocket Authentication with OAuth on Firefox OSChih-Hsuan Kuo
 
Protocol handler in Gecko
Protocol handler in GeckoProtocol handler in Gecko
Protocol handler in GeckoChih-Hsuan Kuo
 
面試面試面試,因為很重要所以要說三次!
面試面試面試,因為很重要所以要說三次!面試面試面試,因為很重要所以要說三次!
面試面試面試,因為很重要所以要說三次!Chih-Hsuan Kuo
 
Windows 真的不好用...
Windows 真的不好用...Windows 真的不好用...
Windows 真的不好用...Chih-Hsuan Kuo
 
[ACM-ICPC] Tree Isomorphism
[ACM-ICPC] Tree Isomorphism[ACM-ICPC] Tree Isomorphism
[ACM-ICPC] Tree IsomorphismChih-Hsuan Kuo
 
[ACM-ICPC] Dinic's Algorithm
[ACM-ICPC] Dinic's Algorithm[ACM-ICPC] Dinic's Algorithm
[ACM-ICPC] Dinic's AlgorithmChih-Hsuan Kuo
 
[ACM-ICPC] Disjoint Set
[ACM-ICPC] Disjoint Set[ACM-ICPC] Disjoint Set
[ACM-ICPC] Disjoint SetChih-Hsuan Kuo
 

Mehr von Chih-Hsuan Kuo (20)

Rust
RustRust
Rust
 
[Mozilla] content-select
[Mozilla] content-select[Mozilla] content-select
[Mozilla] content-select
 
Ownership System in Rust
Ownership System in RustOwnership System in Rust
Ownership System in Rust
 
在開始工作以前,我以為我會寫扣。
在開始工作以前,我以為我會寫扣。在開始工作以前,我以為我會寫扣。
在開始工作以前,我以為我會寫扣。
 
Effective Modern C++ - Item 35 & 36
Effective Modern C++ - Item 35 & 36Effective Modern C++ - Item 35 & 36
Effective Modern C++ - Item 35 & 36
 
Use C++ to Manipulate mozSettings in Gecko
Use C++ to Manipulate mozSettings in GeckoUse C++ to Manipulate mozSettings in Gecko
Use C++ to Manipulate mozSettings in Gecko
 
Pocket Authentication with OAuth on Firefox OS
Pocket Authentication with OAuth on Firefox OSPocket Authentication with OAuth on Firefox OS
Pocket Authentication with OAuth on Firefox OS
 
Necko walkthrough
Necko walkthroughNecko walkthrough
Necko walkthrough
 
Protocol handler in Gecko
Protocol handler in GeckoProtocol handler in Gecko
Protocol handler in Gecko
 
面試面試面試,因為很重要所以要說三次!
面試面試面試,因為很重要所以要說三次!面試面試面試,因為很重要所以要說三次!
面試面試面試,因為很重要所以要說三次!
 
應徵軟體工程師
應徵軟體工程師應徵軟體工程師
應徵軟體工程師
 
面試心得分享
面試心得分享面試心得分享
面試心得分享
 
Windows 真的不好用...
Windows 真的不好用...Windows 真的不好用...
Windows 真的不好用...
 
Python @Wheel Lab
Python @Wheel LabPython @Wheel Lab
Python @Wheel Lab
 
Introduction to VP8
Introduction to VP8Introduction to VP8
Introduction to VP8
 
Python @NCKU CSIE
Python @NCKU CSIEPython @NCKU CSIE
Python @NCKU CSIE
 
[ACM-ICPC] Tree Isomorphism
[ACM-ICPC] Tree Isomorphism[ACM-ICPC] Tree Isomorphism
[ACM-ICPC] Tree Isomorphism
 
[ACM-ICPC] Dinic's Algorithm
[ACM-ICPC] Dinic's Algorithm[ACM-ICPC] Dinic's Algorithm
[ACM-ICPC] Dinic's Algorithm
 
[ACM-ICPC] Disjoint Set
[ACM-ICPC] Disjoint Set[ACM-ICPC] Disjoint Set
[ACM-ICPC] Disjoint Set
 
[ACM-ICPC] Traversal
[ACM-ICPC] Traversal[ACM-ICPC] Traversal
[ACM-ICPC] Traversal
 

Kürzlich hochgeladen

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 

Kürzlich hochgeladen (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

20121019-HTML5

  • 2. HTML 5 當前版本 HTML 4.01 HTML 5:含 HTML、CSS 以及 Javascript 尚未正式推出,大多數主流瀏覽器支援部份功 能,至於 IE... HTML5 & CSS3 Support
  • 3. new tags section, video, progress, nav, meter, time, aside, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, mark, output, rp, rt, ruby, source, summary, wbr
  • 4. new tag section, video, progress, nav, meter, time, aside, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, mark, output, rp, rt, ruby, source, summary, wbr
  • 5. new tag 標題 首頁 文章彙整 關於作者 其他 部落格文章 版權宣告
  • 6. new tag <div></div> <div></div> <div></div> <div></div>
  • 7. new tag <header></header> <nav></nav> <section></section> <footer></footer>
  • 8. new tag <header></header> <div></div> 網頁更富有語意! <section></section> <footer></footer>
  • 9.
  • 10.
  • 11. removed tags acronym, applet, basefont, big, center, dir, font, frame, frameset, isindex, noframes, strike, tt
  • 12. removed tags acronym, applet, basefont, big, center, dir, font, frame, frameset, isindex, noframes, strike, tt
  • 13.
  • 15. 動畫製作 - Canvas API - CSS 3 - Javascript - http://bit.ly/QnNJ14 - http://bit.ly/QnNxyW - http://bit.ly/TZZ9yd
  • 16.
  • 17. Powerful CSS 3 圓角、旋轉、變形、移動、漸變... - http://bit.ly/U002qB - http://bit.ly/QnP5J3 - http://bit.ly/QnP5sE - http://bit.ly/U00ULU - http://bit.ly/U00kh9
  • 19. something about HTML 瀏覽器支援不嚴謹的 HTML 語法 <html> <head> </head> <body> <ol> <li>資訊週加油阿! </li> <li>傳情品可以幫我打折嗎? </li> <li>不然傳給我也是 OK 的 :) </ol> </body> </html>
  • 20. something about HTML 瀏覽器支援不嚴謹的 HTML 語法 <html> <head> </head> <body> <ol> <li>資訊週加油阿! </li> <li>傳情品可以幫我打折嗎? </li> <li>不然傳給我也是 OK 的 :) </li> </ol> </body> </html>
  • 21. something about HTML 01: <html> 02: <head> 03: </head> 04: <body> 05: <table border=1> 06: <tr> 07: <td> r1,c1 <td> 08: <td> r1,c2 </td> 09: </tr> 10: <tr> 11: <td> r2,c1 </td> 12: <td> r2,c2 </td> 13: </tr> 14: </table> 15: </body> 16: </html>
  • 23. something about HTML 01: <html> 02: <head> 03: </head> 04: <body> 05: <table border=1> 06: <tr> 07: <td> r1,c1 <td> 08: <td> r1,c2 </td> 09: </tr> 10: <tr> 11: <td> r2,c1 </td> 12: <td> r2,c2 </td> 13: </tr> 14: </table> 15: </body> 16: </html>
  • 24. something about HTML 01: <html> 02: <head> 03: </head> 04: <body> 05: <table border=1> 06: <tr> 07: <td> r1,c1 </td><td></td> 08: <td> r1,c2 </td> 09: </tr> 10: <tr> 11: <td> r2,c1 </td> 12: <td> r2,c2 </td> 13: </tr> 14: </table> 15: </body> 16: </html>
  • 25. About browser How browsers work [译]How browsers work
  • 28. IE is magic 看到的都跟別人不一樣! 資料來源:http://engt.co/SZWheA
  • 29. IE is magic IE only!!! 只有 IE 看得到! WTF...
  • 30. Debuger 右鍵 → 檢查元素 (inspect element)
  • 33. a little tips of coding 縮排
  • 34. Indentation 01: <html> 01: <html> 02: <head> 02: <head> 03: </head> 03: </head> 04: <body> 04: <body> 05: <table border=1> 05: <table border=1> 06: <tr> 06: <tr> 07: <td> r1,c1 07: <td> r1,c1 </td><td></td> </td><td></td> 08: <td> r1,c2 </td> 08: <td> r1,c2 </td> 09: </tr> 09: </tr> 10: <tr> 10: <tr> 11: <td> r2,c1 </td> 11: <td> r2,c1 </td> 12: <td> r2,c2 </td> 12: <td> r2,c2 </td> 13: </tr> 13: </tr> 14: </table> 14: </table> 15: </body> 15: </body> 16: </html> 16: </html>
  • 35. a little tips of coding 編輯器
  • 36. Editor Notepad++ (Windows Only) (g)Vim (Cross-platform) Gedit (Cross-platform) TextMate (Mac OS X) Coda (Mac OS X)
  • 37. a little tips of coding 行號 語法高亮標記 其他...
  • 38. Syntax Highlight 01: <html> 01: <html> 02: <head> 02: <head> 03: </head> 03: </head> 04: <body> 04: <body> 05: <table border=1> 05: <table border=1> 06: <tr> 06: <tr> 07: <td> r1,c1 07: <td> r1,c1 </td> </td> 08: <td> r1,c2 08: <td> r1,c2 </td> </td> 09: </tr> 09: </tr> 10: <tr> 10: <tr> 11: <td> r2,c1 11: <td> r2,c1 </td> </td> 12: <td> r2,c2 12: <td> r2,c2 </td> </td> 13: </tr> 13: </tr> 14: </table> 14: </table> 15: </body> 15: </body> 16: </html> 16: </html>
  • 39. Zen Coding zen-coding - HTML 很冗 - 開了還要關 - 角括號裡面還要塞一些 attribute What The F*ck!!!!
  • 40. Zen Coding div#page>div.logo+ul#navigation>li*5>a <div id="page"> <div class="logo"></div> <ul id="navigation"> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> <li><a href=""></a></li> </ul> </div> 影片:http://vimeo.com/7405114
  • 41. End