Page 108 - Viva ICSE Computer Studies 6 : E-book
P. 108

Size Attribute
                    Size attribute changes the size of the font.

                    Syntax: <Font size = “Value”>





















                    Color Attribute

                    Color attribute changes the colour of the text. The colour can be set by specifying the name of
                    the colour or by giving its corresponding hexadecimal value. Let’s understand the use of the
                    Color attribute.





















                    The following table displays the hexadecimal values of various colours.

                            Colour Name          Hexadecimal Value          Colour Name          Hexadecimal Value

                                Black               #000000                    Purple               #800080
                                Aqua                #00FFFF                      Red                #Ff0000

                                Blue                #0000FF                     Silver              #C0C0C0
                                Gray                #808080                     White               #FFFFFF

                                Green               #008000                    Yellow               #FFFF00
                                Lime                #00FF00                    Fuchsia              #FF00FF

                               Maroon               #800000                     Navy                #000080
                                Olive               #808000                      Teal               #008080




                     96
   103   104   105   106   107   108   109   110   111   112   113