没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
180
Sergey’s
HTML5
& CSS3
Quick Reference
By Sergey Mavrody, MFA
Belisso Corporation
2009-2010
3
Table of Contents
1. Intro to HTML5 ...............................................9
Overview .......................................................................... 9
About this book ...............................................................9
What is HTML? ................................................................10
Major HTML versions ......................................................10
HTML5 ............................................................................10
XHTML5 ...........................................................................11
CSS3 ................................................................................ 11
Why use HTML5? ...........................................................11
Who this book is for .......................................................12
2. HTML Syntax ................................................15
HTML document ............................................................15
Basics .............................................................................. 15
Elements and Tags ........................................................15
Tag nesting ....................................................................15
Void Elements ................................................................16
Attributes .....................................................................16
Boolean attribute ..........................................................16
XHTML5 ...........................................................................17
Polyglot HTML document .............................................17
XHTML5 defi ned ............................................................17
Document Type and Structure ....................................18
MIME Type ......................................................................18
Common MIME Types ...................................................19
Document Object Model (DOM) ...............................20
Semantic page structure .............................................20
4
Syntax Summary ............................................................21
General Syntax Rules ....................................................21
(X)HTML5 void tag syntax .............................................22
HTML5 elements with optional tags ............................22
Browser Compatibility Scripting ...................................26
HTML5 compatibility detection ...................................26
HTML5 enabling scripts .................................................26
3. HTML5 Elements ..........................................29
General Defi nitions .......................................................29
Chapter Legend & Conventions ................................29
Summary of HTML5 Elements .......................................29
HTML5 Forms aka Web Forms 2.0 ................................63
HTML5 <input> types and attributes ...........................63
HTML5 <output> element .............................................65
<Input> element type/attribute matrix ......................66
HTML5 Browser Compatibility ......................................67
Elements .........................................................................67
4. Global Attributes and Events ....................69
Global Attributes ...........................................................69
Summary ........................................................................69
Global Events ................................................................71
HTML Event Handler Attributes ....................................71
Window ..........................................................................71
Form ................................................................................72
Keyboard .......................................................................73
Mouse .............................................................................73
Media .............................................................................74
5. CSS3 .............................................................77
CSS Basics ......................................................................77
Anatomy of a CSS Rule ................................................77
Typical CSS property locations ....................................78
About CSS Properties ....................................................78
CSS Cascading Priority .................................................79
5
Selector Types ...............................................................80
CSS Box Model ..............................................................81
CSS Properties ................................................................82
Section defi nitions & conventions ...............................82
Property model defi nitions & display conventions ....82
Background ................................................................... 83
Border ............................................................................. 86
Border Effects ................................................................88
Font ................................................................................. 91
Box Model ......................................................................92
Marquee ........................................................................95
Text Formatting ..............................................................96
Color ............................................................................. 100
Multi-column and Grid layout ...................................101
Flexible Box Layout......................................................103
Speech ......................................................................... 106
Table ............................................................................. 108
Auto Numbering and Lists ..........................................109
Animation and Transitions * .......................................110
Outline ..........................................................................112
2D and 3D Transforms .................................................113
CSS ‘Transform’ property functions ..........................114
Generated Content ...................................................115
Line Box ........................................................................117
Ruby ..............................................................................122
Hyperlink Presentation ................................................123
Paged Media ..............................................................124
User Interface (UI) .......................................................127
Pseudo-Classes ...........................................................130
Pseudo-Elements .........................................................133
CSS At-Rules .................................................................134
CSS3 Browser Compatibility ......................................135
6. HTML5 APIs ................................................137
Canvas vs. SVG ...........................................................137
Differences and advantages ...................................137
剩余57页未读,继续阅读
u012277336
- 粉丝: 0
- 资源: 20
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页