SlideShare a Scribd company logo
1 of 99
HTML Browser
           zhuowenjun@alipay.com
HTML & Browser
             zhuowenjun@alipay.com
chapter.HTML
HTML Basic
TAGs

Graceful HTML
HTML5




                chapter.HTML
html
HTML Basic
TAGs            html

Graceful HTML   html
HTML5
                html




                       chapter.HTML
HTML.Basic
What is HTML?




                HTML.Basic
What is HTML?

Hyper Text Markup Language —— The basic building-blocks of webpages.




                                                        HTML.Basic
What is HTML?

Hyper Text Markup Language —— The basic building-blocks of webpages.




HTML’s origin




                                                        HTML.Basic
What is HTML?

Hyper Text Markup Language —— The basic building-blocks of webpages.




HTML’s origin
1.0 / 2.0 ... 4.0 / 4.0.1 /xhtml1.0 ... 5




                                                        HTML.Basic
What is HTML?

Hyper Text Markup Language —— The basic building-blocks of webpages.




HTML’s origin




                                                        HTML.Basic
What is HTML?

    Hyper Text Markup Language —— The basic building-blocks of webpages.




HTML’s origin
‣   1991 HTML
‣   1994 HTML 2
‣   1996 CSS 1 + JavaScript
‣   1997 HTML 4
‣   1998 CSS 2
‣   2000 XHTML 1
‣ 2005 AJAX
‣ 2009 HTML 5


                                                            HTML.Basic
What is HTML?

Hyper Text Markup Language —— The basic building-blocks of webpages.




HTML’s origin




                                                        HTML.Basic
What is HTML?

Hyper Text Markup Language —— The basic building-blocks of webpages.




HTML’s origin


ALL u should know is   5   coming




                                                        HTML.Basic
HTML.Basic
The structure of an HTML document




                                    HTML.Basic
The structure of an HTML document




                                    HTML.Basic
HTML.Basic
1.   <!Doctype>




                  HTML.Basic
1.                <!Doctype>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">




                                                                          HTML.Basic
1.                 <!Doctype>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

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




                                                                             HTML.Basic
1.                 <!Doctype>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

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




                                                                             HTML.Basic
1.                 <!Doctype>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

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




                                                                             HTML.Basic
1.                 <!Doctype>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

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




<!Doctype html>




                                                                             HTML.Basic
1.                 <!Doctype>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

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




<!Doctype html>
 No.1             <!Doctype html>?




                                                                             HTML.Basic
2.
            .

                 charset | encoding | content-type

            .


                http://ued.koubei.com/?p=537


                http://imethan.com/?p=105


                http://every-best.iteye.com/blog/970861


                http://arale.alipay.net/wp/?p=295




     No.2                    charset | encoding | content-type
                                                                 HTML.Basic
HTML.Tags
Tags




       HTML.Tags
Tags
Elements are not tags.




                         HTML.Tags
Tags
     Elements are not tags.
-                                   <             “     ”        “     ”……> …… <         >

-                           *

-                     tag




-                       *

-    id

- html entities
    https://docs.google.com/Doc?docid=0AWiI12yCmwaoZGNiemJqOGpfMTVmaHZtOWNkeg&hl=en_US




                                                                     HTML.Tags
Classification in Specification             according to 5


‣Root html
‣Metadata head title meta base link style
‣Scripting script noscript
‣Sections body section nav article aside h1~h6 hgroup header footer address
‣Grouping content p hr pre blockquote ul li ol dl dt dd figure figcaption div
‣Text-level semantic a em strong small s cite q dfn abbr time code var
                       kbd sup sub i b u mark ruby rt rp bdi bdo span br wbr

‣Edits ins del
‣Embedded content img iframe embed object param video audio source track canvas map area
‣Tabular data table caption colgroup col tbody thead tfoot tr td th
‣Forms form fieldset legend label input button select datalist optgroup option textarea
         keygen output progress meter

‣Interactive elements details   summary command menu

‣Links a area
                                                                 HTML.Tags
<head>
•            <title>




                       HTML.Tags
<head>
•            <title>




                       HTML.Tags
<head>
•            <title>




                       HTML.Tags
<head>
•            <title>




    <meta>




                       HTML.Tags
<head>
•             <title>




    <meta>
•       <meta charset="gbk" />   <meta charset="gb2312">

•                          <meta http-equiv="x-ua-compatible" content="ie=7" />




                                                                         HTML.Tags
HTML.Tags
<a>




<img>




        HTML.Tags
<a>
•                   href   a:hover

•       accesskey

•              focus




<img>




                                     HTML.Tags
<a>
•                              href   a:hover

•                 accesskey

•                         focus




<img>
•     alt

•           src

•                  png   jpg    gif

•     width & height




                                                HTML.Tags
<a>
•                                   href   a:hover

•                      accesskey

•                              focus




<img>
•          alt

•                src

•                       png   jpg    gif

•          width & height

    No.3               width & height

                                                     HTML.Tags
HTML.Tags
<ul> <ol> <dl> <li><menu>




<pre> & <code>




                            HTML.Tags
<ul> <ol> <dl> <li><menu>
•

•   ul, ol   li   menu




<pre> & <code>




                            HTML.Tags
<ul> <ol> <dl> <li><menu>
•

•     ul, ol     li          menu




<pre> & <code>
<code>text-align:center</code>
<pre>
{ ( 1 * 102 ) + ( 9 * 101 ) + ( 3 * 100 ) }
</pre>




                                              HTML.Tags
HTML.Tags
<cite> <q> <blockquote>




<em> & <strong>



<small>




                          HTML.Tags
<cite> <q> <blockquote>
• <cite>   </cite> :<q>   ...</q>

•            blockquote



<em> & <strong>



<small>




                                    HTML.Tags
<cite> <q> <blockquote>
• <cite>   </cite> :<q>   ...</q>

•            blockquote



<em> & <strong>
•


<small>




                                    HTML.Tags
<cite> <q> <blockquote>
• <cite>     </cite> :<q>              ...</q>

•                 blockquote



<em> & <strong>
•


<small>
• Small print typically features disclaimers, caveats, legal restrictions, or
    copyrights.




                                                                    HTML.Tags
HTML.Tags
<hr>




<br>




       HTML.Tags
<hr>
•

•      hr   http://sofish.de/1328


<br>




                                    HTML.Tags
<hr>
•

•              hr                 http://sofish.de/1328


<br>
•

•                                                          br


•   css   padding   margin   br




                                                          HTML.Tags
HTML.Tags
<table>




<form>




          HTML.Tags
<table>
• table         table

•           <thead>     <tfoot> <tbody>

•   table     summary

• <th>         scope


<form>




                                          HTML.Tags
<table>
• table          table

•           <thead>      <tfoot> <tbody>

•   table       summary

• <th>           scope


<form>
•     form

•           form > fieldset

•     form                  type=”submit”   input

•           a     onclick



                                                    HTML.Tags
HTML.Tags
<input>




<label>




          HTML.Tags
<input>
•      input       tabindex

•      input       accesskey

•              label

•          input         type


<label>




                                HTML.Tags
<input>
•      input       tabindex

•      input       accesskey

•              label

•          input         type


<label>
•

•          for




                                HTML.Tags
HTML.Tags
<iframe>




< !-- here is comment -->




                            HTML.Tags
<iframe>

•               iframe

• frame iframe img embed    src

• @alipay src       https         <iframe src="javascript:'';"></iframe>



< !-- here is comment -->




                                                 HTML.Tags
<iframe>

•               iframe

• frame iframe img embed                 src

• @alipay src       https                      <iframe src="javascript:'';"></iframe>



< !-- here is comment -->

•                           id   class

•




                                                              HTML.Tags
HTML.Tags
<div>




        HTML.Tags
<div>

• when no other element is suitable. Use of the div element
 instead of more appropriate elements leads to poor
 accessibility for readers and poor maintainability for
 authors.




                                               HTML.Tags
HTML.Tags
HTML.Tags
•   <font> <s> <strike> <tt> <u> <basefont> <big> <center>




                                        HTML.Tags
•   <font> <s> <strike> <tt> <u> <basefont> <big> <center>

•             <frame> <frameset><noframes>




                                        HTML.Tags
•     <font> <s> <strike> <tt> <u> <basefont> <big> <center>

•               <frame> <frameset><noframes>

•   <acronym> <applet> <isindex> <dir>




                                          HTML.Tags
semantic
accessibility
efficiency




                Graceful.HTML
Semantic
   -       divitis
   -          &


                                   <body>
<div id="wrapper">
                                     <header>  
  <div id="header">  
                                       <h1>My super duper page</h1>
    <h1>My super duper page</h1>
                                       <!-- Header content -->
    <!-- Header content -->
                                     </header>
  </div>
                                     <div role="main">
  <div id="main">
                                       <!-- Page content -->
    <!-- Page content -->
                                     </div>
  </div>
                                     <aside role="complementary">
  <div id="secondary">
                                       <!-- Secondary content -->
    <!-- Secondary content -->
                                     </aside>
  </div>
                                     <footer>
  <div id="footer">
                                       <!-- Footer content -->
    <!-- Footer content -->
                                     </footer>
  </div>
                                   </body>
</div>




                                                   Graceful.HTML
accessibility
   -      dom

   -              label

   -      tabindex

   -      input      type

   -   title

   -      alt




                            Graceful.HTML
efficiency
                         <hgroup>  
                             <h1>Big Smile</h1>
      - web
                         </hgroup>
      -
      - ...

      No.3    HTML   3




                                Graceful.HTML
HTML5
Web Development to the next level.



 • What html5
 • Why html5?
 • How html5?
What HTML5?

     HTML5 ~= HTML + CSS + JS

 •


 •


 •       Javascript API

 •   CSS3
Why html5?

    • Better User Experience
    • More Efficient
                               •   Google loves HTML5
    • Strong Support
                               •   Apple loves HTML5

                               •   Mozilla loves HTML5

                               •   Opera loves HTML5

                               •   Microsoft loves HTML5
How html5?

•             Flash

 Google features first HTML 5 canvas doodle
                                             alipay doodle
How html5?
• Form   field types on mobile




• Forms   change Alipay
More about html5

•

    https://docs.google.com/#folders/folder.0.0B2iI12yCmwaoYTBkZWNiMzYtMTIwMC00NTRiLTg1N2QtMWIwYzZiYjI4ZjFm
More about html5

•

    https://docs.google.com/#folders/folder.0.0B2iI12yCmwaoYTBkZWNiMzYtMTIwMC00NTRiLTg1N2QtMWIwYzZiYjI4ZjFm




No.4:
No.5:   html




No.6:   html
Rumors about Browser

Browsers Type In Alipay

Tips for Browser




                          chapter.Browser
2010    1   Internet Explorer   Mozilla   Firefox   Google   Chrome
Safari   Opera   Opera




                                                 chapter.Browser
•     Trident



•     Gecko
    W3C

•     Webkit



                chapter.Browser
•   Internet Explorer

•   360

•   Chrome

•   Firefox

•   Sougou

•   Maxthon
                        chapter.Browser
-


•   IE 9 - unknown/Chakra

•   Chrome - V8

•   Firefox - TraceMonkey/JägerMonkey

•   Safari - Nitro

•   Opera - Carakan

                                  chapter.Browser
•   Alipay
•   Alipay

       Attachment
•   Ctrl+Shift+Delete

    •   Cache, History, Form & Password

    •   Flash Cookies, LocalStorage

    •   Firefox      Firebug                 command-line

    •   IE       F12 Dev toolbar     IE6/7

    •   Chrome       Chrome Dev tool
    No.7:    2                 -.-



                                              chapter.Browser
Above all
Above all
Above all




            http://doc.alipay.net/pages/viewpage.action?pageId=11244965
Thank u~

More Related Content

What's hot

HTML by Telerik Akademy
HTML by Telerik AkademyHTML by Telerik Akademy
HTML by Telerik Akademy
Ognyan Penkov
 

What's hot (17)

Html5
Html5Html5
Html5
 
Critical Rendering Path
Critical Rendering PathCritical Rendering Path
Critical Rendering Path
 
Css, xhtml, javascript
Css, xhtml, javascriptCss, xhtml, javascript
Css, xhtml, javascript
 
Html5 ux london
Html5 ux londonHtml5 ux london
Html5 ux london
 
Progressive Prototyping w/HTML5, CSS3 and jQuery
Progressive Prototyping w/HTML5, CSS3 and jQueryProgressive Prototyping w/HTML5, CSS3 and jQuery
Progressive Prototyping w/HTML5, CSS3 and jQuery
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
 
HTML5
HTML5 HTML5
HTML5
 
Seo cheat sheet 2013
Seo cheat sheet 2013Seo cheat sheet 2013
Seo cheat sheet 2013
 
Seo cheat sheet_2-2013
Seo cheat sheet_2-2013Seo cheat sheet_2-2013
Seo cheat sheet_2-2013
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 
Intro to Web Development
Intro to Web DevelopmentIntro to Web Development
Intro to Web Development
 
HTML by Telerik Akademy
HTML by Telerik AkademyHTML by Telerik Akademy
HTML by Telerik Akademy
 

Viewers also liked (6)

Web encoding 元则
Web encoding 元则Web encoding 元则
Web encoding 元则
 
Javascript 基础
Javascript 基础Javascript 基础
Javascript 基础
 
Css101
Css101Css101
Css101
 
Javascrpt arale
Javascrpt araleJavascrpt arale
Javascrpt arale
 
The Analysis of Alipay
The Analysis of AlipayThe Analysis of Alipay
The Analysis of Alipay
 
Alipay brings mobile wallet to china's stores
Alipay  brings mobile wallet to china's storesAlipay  brings mobile wallet to china's stores
Alipay brings mobile wallet to china's stores
 

Similar to Html&Browser

Similar to Html&Browser (20)

Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
 
Html5
Html5Html5
Html5
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
 
An-Introduction-to-HTML
An-Introduction-to-HTMLAn-Introduction-to-HTML
An-Introduction-to-HTML
 
HTML
HTMLHTML
HTML
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Html basics
Html basicsHtml basics
Html basics
 
HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
HTML5 tags.ppt
HTML5 tags.pptHTML5 tags.ppt
HTML5 tags.ppt
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
 
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML
 
Html intro
Html introHtml intro
Html intro
 
Html 5
Html 5Html 5
Html 5
 
GDSC HTML (Intro to Web Development) @Wagner College.pptx
GDSC HTML (Intro to Web Development) @Wagner College.pptxGDSC HTML (Intro to Web Development) @Wagner College.pptx
GDSC HTML (Intro to Web Development) @Wagner College.pptx
 
HTML5: It goes to ELEVEN
HTML5: It goes to ELEVENHTML5: It goes to ELEVEN
HTML5: It goes to ELEVEN
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 

More from Alipay (11)

学会站在设计的角度做开发
学会站在设计的角度做开发学会站在设计的角度做开发
学会站在设计的角度做开发
 
洞察、创造与想象
洞察、创造与想象洞察、创造与想象
洞察、创造与想象
 
seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器seaJs—不仅仅是脚本加载器
seaJs—不仅仅是脚本加载器
 
从小书签到浏览器扩展的应用
从小书签到浏览器扩展的应用从小书签到浏览器扩展的应用
从小书签到浏览器扩展的应用
 
谈谈Javascript设计
谈谈Javascript设计谈谈Javascript设计
谈谈Javascript设计
 
行为化体验度量
行为化体验度量行为化体验度量
行为化体验度量
 
Html基础
Html基础Html基础
Html基础
 
前端本地环境初探
前端本地环境初探前端本地环境初探
前端本地环境初探
 
前端本地环境初探
前端本地环境初探前端本地环境初探
前端本地环境初探
 
重构用户体验
重构用户体验重构用户体验
重构用户体验
 
Js in js
Js in jsJs in js
Js in js
 

Recently uploaded

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
Safe Software
 
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
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
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
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Html&Browser

  • 1. HTML Browser zhuowenjun@alipay.com
  • 2. HTML & Browser zhuowenjun@alipay.com
  • 5. html HTML Basic TAGs html Graceful HTML html HTML5 html chapter.HTML
  • 7. What is HTML? HTML.Basic
  • 8. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML.Basic
  • 9. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML’s origin HTML.Basic
  • 10. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML’s origin 1.0 / 2.0 ... 4.0 / 4.0.1 /xhtml1.0 ... 5 HTML.Basic
  • 11. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML’s origin HTML.Basic
  • 12. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML’s origin ‣ 1991 HTML ‣ 1994 HTML 2 ‣ 1996 CSS 1 + JavaScript ‣ 1997 HTML 4 ‣ 1998 CSS 2 ‣ 2000 XHTML 1 ‣ 2005 AJAX ‣ 2009 HTML 5 HTML.Basic
  • 13. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML’s origin HTML.Basic
  • 14. What is HTML? Hyper Text Markup Language —— The basic building-blocks of webpages. HTML’s origin ALL u should know is 5 coming HTML.Basic
  • 16. The structure of an HTML document HTML.Basic
  • 17. The structure of an HTML document HTML.Basic
  • 19. 1. <!Doctype> HTML.Basic
  • 20. 1. <!Doctype> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> HTML.Basic
  • 21. 1. <!Doctype> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> HTML.Basic
  • 22. 1. <!Doctype> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> HTML.Basic
  • 23. 1. <!Doctype> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> HTML.Basic
  • 24. 1. <!Doctype> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!Doctype html> HTML.Basic
  • 25. 1. <!Doctype> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!Doctype html> No.1 <!Doctype html>? HTML.Basic
  • 26. 2. . charset | encoding | content-type . http://ued.koubei.com/?p=537 http://imethan.com/?p=105 http://every-best.iteye.com/blog/970861 http://arale.alipay.net/wp/?p=295 No.2 charset | encoding | content-type HTML.Basic
  • 28. Tags HTML.Tags
  • 29. Tags Elements are not tags. HTML.Tags
  • 30. Tags Elements are not tags. - < “ ” “ ”……> …… < > - * - tag - * - id - html entities https://docs.google.com/Doc?docid=0AWiI12yCmwaoZGNiemJqOGpfMTVmaHZtOWNkeg&hl=en_US HTML.Tags
  • 31. Classification in Specification according to 5 ‣Root html ‣Metadata head title meta base link style ‣Scripting script noscript ‣Sections body section nav article aside h1~h6 hgroup header footer address ‣Grouping content p hr pre blockquote ul li ol dl dt dd figure figcaption div ‣Text-level semantic a em strong small s cite q dfn abbr time code var kbd sup sub i b u mark ruby rt rp bdi bdo span br wbr ‣Edits ins del ‣Embedded content img iframe embed object param video audio source track canvas map area ‣Tabular data table caption colgroup col tbody thead tfoot tr td th ‣Forms form fieldset legend label input button select datalist optgroup option textarea keygen output progress meter ‣Interactive elements details summary command menu ‣Links a area HTML.Tags
  • 32. <head> • <title> HTML.Tags
  • 33. <head> • <title> HTML.Tags
  • 34. <head> • <title> HTML.Tags
  • 35. <head> • <title> <meta> HTML.Tags
  • 36. <head> • <title> <meta> • <meta charset="gbk" /> <meta charset="gb2312"> • <meta http-equiv="x-ua-compatible" content="ie=7" /> HTML.Tags
  • 38. <a> <img> HTML.Tags
  • 39. <a> • href a:hover • accesskey • focus <img> HTML.Tags
  • 40. <a> • href a:hover • accesskey • focus <img> • alt • src • png jpg gif • width & height HTML.Tags
  • 41. <a> • href a:hover • accesskey • focus <img> • alt • src • png jpg gif • width & height No.3 width & height HTML.Tags
  • 43. <ul> <ol> <dl> <li><menu> <pre> & <code> HTML.Tags
  • 44. <ul> <ol> <dl> <li><menu> • • ul, ol li menu <pre> & <code> HTML.Tags
  • 45. <ul> <ol> <dl> <li><menu> • • ul, ol li menu <pre> & <code> <code>text-align:center</code> <pre> { ( 1 * 102 ) + ( 9 * 101 ) + ( 3 * 100 ) } </pre> HTML.Tags
  • 47. <cite> <q> <blockquote> <em> & <strong> <small> HTML.Tags
  • 48. <cite> <q> <blockquote> • <cite> </cite> :<q> ...</q> • blockquote <em> & <strong> <small> HTML.Tags
  • 49. <cite> <q> <blockquote> • <cite> </cite> :<q> ...</q> • blockquote <em> & <strong> • <small> HTML.Tags
  • 50. <cite> <q> <blockquote> • <cite> </cite> :<q> ...</q> • blockquote <em> & <strong> • <small> • Small print typically features disclaimers, caveats, legal restrictions, or copyrights. HTML.Tags
  • 52. <hr> <br> HTML.Tags
  • 53. <hr> • • hr http://sofish.de/1328 <br> HTML.Tags
  • 54. <hr> • • hr http://sofish.de/1328 <br> • • br • css padding margin br HTML.Tags
  • 56. <table> <form> HTML.Tags
  • 57. <table> • table table • <thead> <tfoot> <tbody> • table summary • <th> scope <form> HTML.Tags
  • 58. <table> • table table • <thead> <tfoot> <tbody> • table summary • <th> scope <form> • form • form > fieldset • form type=”submit” input • a onclick HTML.Tags
  • 60. <input> <label> HTML.Tags
  • 61. <input> • input tabindex • input accesskey • label • input type <label> HTML.Tags
  • 62. <input> • input tabindex • input accesskey • label • input type <label> • • for HTML.Tags
  • 64. <iframe> < !-- here is comment --> HTML.Tags
  • 65. <iframe> • iframe • frame iframe img embed src • @alipay src https <iframe src="javascript:'';"></iframe> < !-- here is comment --> HTML.Tags
  • 66. <iframe> • iframe • frame iframe img embed src • @alipay src https <iframe src="javascript:'';"></iframe> < !-- here is comment --> • id class • HTML.Tags
  • 68. <div> HTML.Tags
  • 69. <div> • when no other element is suitable. Use of the div element instead of more appropriate elements leads to poor accessibility for readers and poor maintainability for authors. HTML.Tags
  • 72. <font> <s> <strike> <tt> <u> <basefont> <big> <center> HTML.Tags
  • 73. <font> <s> <strike> <tt> <u> <basefont> <big> <center> • <frame> <frameset><noframes> HTML.Tags
  • 74. <font> <s> <strike> <tt> <u> <basefont> <big> <center> • <frame> <frameset><noframes> • <acronym> <applet> <isindex> <dir> HTML.Tags
  • 76. Semantic - divitis - & <body> <div id="wrapper">   <header>     <div id="header">       <h1>My super duper page</h1>     <h1>My super duper page</h1>     <!-- Header content -->     <!-- Header content -->   </header>   </div>   <div role="main">   <div id="main">     <!-- Page content -->     <!-- Page content -->   </div>   </div>   <aside role="complementary">   <div id="secondary">     <!-- Secondary content -->     <!-- Secondary content -->   </aside>   </div>   <footer>   <div id="footer">     <!-- Footer content -->     <!-- Footer content -->   </footer>   </div> </body> </div> Graceful.HTML
  • 77. accessibility - dom - label - tabindex - input type - title - alt Graceful.HTML
  • 78. efficiency <hgroup>       <h1>Big Smile</h1> - web </hgroup> - - ... No.3 HTML 3 Graceful.HTML
  • 79. HTML5 Web Development to the next level. • What html5 • Why html5? • How html5?
  • 80. What HTML5? HTML5 ~= HTML + CSS + JS • • • Javascript API • CSS3
  • 81. Why html5? • Better User Experience • More Efficient • Google loves HTML5 • Strong Support • Apple loves HTML5 • Mozilla loves HTML5 • Opera loves HTML5 • Microsoft loves HTML5
  • 82. How html5? • Flash Google features first HTML 5 canvas doodle alipay doodle
  • 83. How html5? • Form field types on mobile • Forms change Alipay
  • 84. More about html5 • https://docs.google.com/#folders/folder.0.0B2iI12yCmwaoYTBkZWNiMzYtMTIwMC00NTRiLTg1N2QtMWIwYzZiYjI4ZjFm
  • 85. More about html5 • https://docs.google.com/#folders/folder.0.0B2iI12yCmwaoYTBkZWNiMzYtMTIwMC00NTRiLTg1N2QtMWIwYzZiYjI4ZjFm No.4:
  • 86. No.5: html No.6: html
  • 87. Rumors about Browser Browsers Type In Alipay Tips for Browser chapter.Browser
  • 88. 2010 1 Internet Explorer Mozilla Firefox Google Chrome Safari Opera Opera chapter.Browser
  • 89. Trident • Gecko W3C • Webkit chapter.Browser
  • 90. Internet Explorer • 360 • Chrome • Firefox • Sougou • Maxthon chapter.Browser
  • 91. - • IE 9 - unknown/Chakra • Chrome - V8 • Firefox - TraceMonkey/JägerMonkey • Safari - Nitro • Opera - Carakan chapter.Browser
  • 92. Alipay
  • 93. Alipay Attachment
  • 94. Ctrl+Shift+Delete • Cache, History, Form & Password • Flash Cookies, LocalStorage • Firefox Firebug command-line • IE F12 Dev toolbar IE6/7 • Chrome Chrome Dev tool No.7: 2 -.- chapter.Browser
  • 95.
  • 98. Above all http://doc.alipay.net/pages/viewpage.action?pageId=11244965

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n