HTML5 Notes for Professionals - 2018-01-31آ  HTML5 HTML5 Notes for Professionals Notes for Professionals

  • View
    0

  • Download
    0

Embed Size (px)

Text of HTML5 Notes for Professionals - 2018-01-31آ  HTML5 HTML5 Notes for Professionals Notes for...

  • HTML5 Notes for ProfessionalsHTML5

    Notes for Professionals

    GoalKicker.com Free Programming Books

    Disclaimer This is an unocial free book created for educational purposes and is

    not aliated with ocial HTML5 group(s) or company(s). All trademarks and registered trademarks are

    the property of their respective owners

    100+ pages of professional hints and tricks

    http://goalkicker.com http://goalkicker.com

  • Contents About 1 ................................................................................................................................................................................... Chapter 1: Getting started with HTML 2 ................................................................................................................

    Section 1.1: Hello World 2 .................................................................................................................................................

    Chapter 2: Doctypes 4 .................................................................................................................................................... Section 2.1: Adding the Doctype 4 .................................................................................................................................. Section 2.2: HTML 5 Doctype 4 ....................................................................................................................................... Section 2.3: HTML 4.01 Doctypes 5 ................................................................................................................................. Section 2.4: Old Doctypes 5 .............................................................................................................................................

    Chapter 3: Headings 6 .................................................................................................................................................... Section 3.1: Using Headings 6 ..........................................................................................................................................

    Chapter 4: Anchors and Hyperlinks 7 .................................................................................................................... Section 4.1: Link to another site 7 .................................................................................................................................... Section 4.2: Link to an anchor 8 ...................................................................................................................................... Section 4.3: Link to a page on the same site 8 .............................................................................................................. Section 4.4: Link that dials a number 8 .......................................................................................................................... Section 4.5: Open link in new tab/window 9 .................................................................................................................. Section 4.6: Link that runs JavaScript 9 ......................................................................................................................... Section 4.7: Link that runs email client 10 ......................................................................................................................

    Chapter 5: Tables 11 ....................................................................................................................................................... Section 5.1: Simple Table 11 ............................................................................................................................................ Section 5.2: Spanning columns or rows 11 .................................................................................................................... Section 5.3: Column Groups 12 ....................................................................................................................................... Section 5.4: Table with thead, tbody, tfoot, and caption 13 ......................................................................................... Section 5.5: Heading scope 14 ........................................................................................................................................

    Chapter 6: Lists 16 ............................................................................................................................................................ Section 6.1: Ordered List 16 ............................................................................................................................................. Section 6.2: Unordered List 17 ........................................................................................................................................ Section 6.3: Nested lists 18 .............................................................................................................................................. Section 6.4: Description List 18 ........................................................................................................................................

    Chapter 7: Text Formatting 20 ................................................................................................................................... Section 7.1: Highlighting 20 .............................................................................................................................................. Section 7.2: Bold, Italic, and Underline 20 ...................................................................................................................... Section 7.3: Abbreviation 21 ............................................................................................................................................ Section 7.4: Inserted, Deleted, or Stricken 21 ................................................................................................................. Section 7.5: Superscript and Subscript 21 ......................................................................................................................

    Chapter 8: Paragraphs 23 ............................................................................................................................................ Section 8.1: HTML Paragraphs 23 ...................................................................................................................................

    Chapter 9: Comments 24 ............................................................................................................................................... Section 9.1: Creating comments 24 ................................................................................................................................. Section 9.2: Conditional comments for Internet Explorer 24 ....................................................................................... Section 9.3: Commenting out whitespace between inline elements 25 ......................................................................

    Chapter 10: Classes and IDs 27 .................................................................................................................................. Section 10.1: Giving an element a class 27 ..................................................................................................................... Section 10.2: Giving an element an ID 28 ....................................................................................................................... Section 10.3: Acceptable Values 28 ................................................................................................................................. Section 10.4: Problems related to duplicated IDs 30 .....................................................................................................

  • Chapter 11: Data Attributes 31 ................................................................................................................................... Section 11.1: Older browsers support 31 ......................................................................................................................... Section 11.2: Data Attribute Use 31 .................................................................................................................................

    Chapter 12: Linking Resources 32 ............................................................................................................................. Section 12.1: JavaScript 32 ............................................................................................................................................... Section 12.2: External CSS Stylesheet 33 ........................................................................................................................ Section 12.3: Favicon 33 ................................................................................................................................................... Section 12.4: Alternative CSS 33 ...................................................................................................................................... Section 12.5: Resource Hint: dns-prefetch, prefetch, prerender 34 ............................................................................. Section 12.6: Link 'media' attribute 34 ............................................................................................................................ Section 12.7: Prev and Next 34 ........................................................................................