html5 and css 3
DESCRIPTION
Talk to Staffordshire University students 28 October 2010TRANSCRIPT
HTML5: how did we get here?
Bruce Lawson, Opera Software
11/01/10
2004 W3C focus on XHTML 2.0 and beyond...
http://www.flickr.com/photos/craiga/17071467/
11/01/10
XHTML 2: This is not my beautiful wife!
<img />
11/01/10
11/01/10
11/01/10
Paper to W3C, 2004
We consider Web Applications to be an important area that has not been adequately served by existing technologies… There is a rising threat of single-vendor solutions addressing this problem before jointly-developed specifications.
http://www.w3.org/2004/04/webapps-cdf-ws/papers/opera.html
11/01/10
Paper to W3C, 2004● 1. Backwards compatibility, and a clear migration path.● 2. Well-defined error handling.● 3. Users should not be exposed to authoring errors.● 4. Practical use: every feature that goes into the Web-
applications specifications must be justified by a practical use case. The reverse is not necessarily true.
● 5. Scripting is here to stay (but should be avoided where more convenient declarative mark-up can be used).
● 6. Avoid device-specific profiling.● 7. Make the process open.
11/01/10
© Copyright 2004-2010 Apple Computer, Inc., Mozilla Foundation, and Opera Software ASA.
You are granted a license to use, reproduce and create derivative works of this document.
11/01/10
11/01/10
11/01/10
Design Principles - Compatibility
• Support Existing Content• Do not Reinvent the Wheel• Pave the Cowpaths• Evolution Not Revolution
www.w3.org/TR/html-design-principles/
11/01/10
Design Principles - Utility
• Solve Real Problems• Secure By Design• Separation of Concerns• DOM Consistency
11/01/10
Design Principles -Priority of Constituencies
Consider users over authors over implementors over specifiers over theoretical purity.
11/01/10
Design Principles - Interoperability
• Well-defined Behavior• Avoid Needless Complexity• Handle Errors
11/01/10
Design Principles - Universal Access
• Media Independence• Support World Languages• Accessibility
11/01/10
HTML5<!DOCTYPE html>
11/01/10
Geo
SVG
11/01/10
SVG
11/01/10
CSS
11/01/10
New Exciting Web Technology
11/01/10
HTML5 does not replace HTML 4.01
11/01/10
HTML5 has more bling!
11/01/10
HTML5 is umbrella term:markup elements and JavaScript APIs
11/01/10
11/01/10
Top 20 class names1. footer 11. button2. menu 12. main3. style1 13. style3
4. msonormal 14. small5. text 15. nav
6. content 16. clear7. title 17. search
8. style2 18. style49. header 19. logo
10. copyright 20. bodyhttp://devfiles.myopera.com/articles/572/classlist-url.htm
11/01/10
Top 20 id names1. footer 11. search
2. content 12. nav3. header 13. wrapper
4. logo 14. top5. container 15. table2
6. main 16. layer27. table1 17. sidebar8. menu 18. image19. layer1 19. banner
10. autonumber1 20. navigationhttp://devfiles.myopera.com/articles/572/idlist-url.htm
Where does that highway go to?● Build an HTML5 page● See that HTML5 is real world – document what browsers do
now and extend that● Use some new structural elements and style them with CSS● Chuck in an intelligent form
[email protected], http://dev.opera.com
www.brucelawson.co.uk twitter.com/brucel