Академический Документы
Профессиональный Документы
Культура Документы
Contents
O What is HTML? O What is HTML5? O How did HTML5 get started? O History of HTML5 O Whats new in HTML5? O Advantages of HTML5 O Difference of HTML5 with HTML4 O Web sites that using HTML5 O Browser Support O HTML5 Tags O References
What is HTML?
O A Web Page is created using a
languag+e
used to define the structure and layout of a Web page. not a programming language, it is a markup language
O HTML is
What is
O HTML 5 is the next version of Hyper Text
Markup Language(HTML4)
O It is developing by World Wide Web
HTML5 Logo
Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).
O WHATWG was working with web forms and applications, and O W3C was working with XHTML 2.0. O In 2006, they decided to cooperate and create a new version of
HTML.
History of
O 1992 O 1993 O 1994 O 1996 O 1997 O 1999 O 2000 O 2001 O 2002 O 2003
HTML is first defined HTML+ (some physical layout, fill-out forms, tables, math) HTML2.0 and HTML 3.0 HTML 3.2 HTML 4.0 (separates structure and presentation with stylesheets) HTML 4.01 (slight modifications only) XHTML 1.0 (XML version of HTML 4.01) XHTML 1.1 XHTML 2.0 HTML 5 (to extend HTML 4's forms to provide many of the features the XForms 1.0 introduced)
What s New in
O New Doctype and Charset O New Structure O New Inline Elements O New Dynamic Pages Support O New Form Types O New Elements O Removes Some Elements
UTF-8 and you define it with just one meta tag: <meta charset="UTF-8">
New Structure
In general, Web pages have navigation, body content, and sidebar content plus headers, footers, and other features. The tags for this are:O <section> O <header> O <footer> O <nav> O <article> O <aside> O <figure>
New Elements
O <canvas> - an element to give
O O O O O O O O O O
5 supports all the standard form input types, but it adds a few more: datetime datetime-local date month week time number range email url
pages
<img src = DSC00624.jpg alt = About image /> OR <img src = DSC00624.jpg alt = About image />
O Make up your own mind on this one. If you prefer a more structured
Email Inputs
<!DOCTYPE html> <html lang="en"> <body> <form action="" method="get"> <label for="email">Email:</label> <input id="email" name="email" type="email" /> <button type="submit"> Submit Form </button> </form> </body> </html>
O Mutuality O Cleaner markup / Improved Code O Improved Semantics O Elegant forms O Consistency O Improved Accessibility O Fulfill the need of Web application O Offline Application cache O Client-side database O Geolocation support
html5 tags.
O Only some of the browser only supports HTML5 features
currently.
Browser Support
O HTML5 is not yet an official standard, and no browsers have full HTML5
support.
O But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer)
References
O http://en.wikipedia.org/wiki/HTML O http://www.w3.org O http://www.whatwg.org O http://www.w3schools.com