Page 5 - HTML5
P. 5

Drawing two rectangles on a                                                                       28

        Chapter 5: Character Entities                                                                        30


          Examples                                                                                            30

            Common Special Characters                                                                         30

            Character Entities in HTML                                                                        30
        Chapter 6: Classes and IDs                                                                           32


          Introduction                                                                                        32

          Syntax                                                                                              32

          Parameters                                                                                          32

          Remarks                                                                                             32

          Examples                                                                                            32

            Giving an element a class                                                                         32

            Using classes in CSS                                                                              33

            Giving an element an ID                                                                           34

            Problems related to duplicated IDs                                                                34
            Acceptable Values                                                                                 35

            For an ID                                                                                         35

            For a Class                                                                                       36

          Important Note: How ID and Class values are treated outside of HTML                                 36

          W3C References                                                                                      37

        Chapter 7: Comments                                                                                  38

          Introduction                                                                                        38


          Syntax                                                                                              38
          Remarks                                                                                             38


          Examples                                                                                            38

            Creating comments                                                                                 38

            Conditional comments for Internet Explorer                                                        39
            Downlevel-hidden                                                                                  39

            Downlevel-revealed                                                                                39

            Commenting out whitespace between inline elements                                                 40

        Chapter 8: Content Languages                                                                         41

          Syntax                                                                                              41
   1   2   3   4   5   6   7   8   9   10