Complete HTML5 Secrets & Tips for Professionals
Total Page:16
File Type:pdf, Size:1020Kb
HTML5 CompleteComplete Tips & Secrets for Professionals HTML5Tips & Secrets for Professionals 80+ pages of professional hints and tricks Disclaimer This is an unocial free book created for educational purposes and is GoalKicker.com not aliated with ocial HTML5 group(s) or company(s). Free Programming Books All trademarks and registered trademarks are the property of their respective owners Contents About ................................................................................................................................................................................... 1 Chapter 1: Getting started with HTML ................................................................................................................ 2 Section 1.1: Hello World ................................................................................................................................................. 2 Chapter 2: Headings .................................................................................................................................................... 3 Section 2.1: Using Headings .......................................................................................................................................... 4 Chapter 3: Anchors and Hyperlinks ..................................................................................................................... 4 Section 3.1: Link to another site .................................................................................................................................... 5 Section 3.2: Link to an anchor ...................................................................................................................................... 5 Section 3.3: Link to a page on the same site .............................................................................................................. 6 Section 3.4: Link that dials a number .......................................................................................................................... 6 Section 3.5: Open link in new tab/window .................................................................................................................. 6 Section 3.6: Link that runs JavaScript ......................................................................................................................... 7 Section 3.7: Link that runs email client ........................................................................................................................ 7 Chapter 4: Tables ......................................................................................................................................................... 8 Section 4.1: Simple Table ............................................................................................................................................... 8 Section 4.2: Spanning columns or rows ...................................................................................................................... 8 Section 4.3: Column Groups ......................................................................................................................................... 9 Section 4.4: Table with thead, tbody, tfoot, and caption ......................................................................................... 10 Section 4.5: Heading scope ........................................................................................................................................ 11 Chapter 5: Input Control Elements .................................................................................................................... 12 Section 5.1: Text ........................................................................................................................................................... 13 Section 5.2: Checkbox and Radio Buttons ................................................................................................................ 13 Section 5.3: Input Validation ....................................................................................................................................... 15 Section 5.4: Color ......................................................................................................................................................... 17 Section 5.5: Password ................................................................................................................................................. 17 Section 5.6: File ............................................................................................................................................................ 18 Section 5.7: Button ....................................................................................................................................................... 18 Section 5.8: Submit ...................................................................................................................................................... 19 Section 5.9: Reset ........................................................................................................................................................ 19 Section 5.10: Hidden .................................................................................................................................................... 19 Section 5.11: Tel ............................................................................................................................................................ 20 Section 5.12: Email ....................................................................................................................................................... 20 Section 5.13: Number ................................................................................................................................................... 20 Section 5.14: Range ..................................................................................................................................................... 20 Section 5.15: Search ..................................................................................................................................................... 20 Section 5.16: Image ...................................................................................................................................................... 20 Section 5.17: Week ....................................................................................................................................................... 21 Section 5.18: Url ............................................................................................................................................................ 21 Section 5.19: DateTime-Local ..................................................................................................................................... 21 Section 5.20: Month ..................................................................................................................................................... 21 Section 5.21: Time ........................................................................................................................................................ 21 Section 5.22: DateTime (Global) ................................................................................................................................ 21 Section 5.23: Date ........................................................................................................................................................ 22 Chapter 6: Sectioning Elements .......................................................................................................................... 22 Section 6.1: Nav Element ............................................................................................................................................. 22 Section 6.2: Article Element ........................................................................................................................................ 23 Section 6.3: Main Element ........................................................................................................................................... 24 Section 6.4: Header Element ...................................................................................................................................... 25 Section 6.5: Footer Element ....................................................................................................................................... 26 Section 6.6: Section Element ...................................................................................................................................... 26 Chapter 7: Lists ............................................................................................................................................................ 26 Section 7.1: Ordered List .............................................................................................................................................. 27 Section 7.2: Unordered List ........................................................................................................................................ 28 Section 7.3: Nested lists .............................................................................................................................................. 29 Section 7.4: Description List .......................................................................................................................................