Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 55 - 2625 PortGPt V2.1
P. 55

    ALIGNING TEXT

                     The ‘text-align’ property is used to align the text in desired position. Left, Right, Center, Justify are
                     the types of available text alignment. Syntax to use the 'text-align' property is as follows:

                         <P STYLE = “text-align: value;”>
                         TEXT

                         </P>

                            LIST WITH CSS

                     We can make a list attractive using CSS properties. The default type of the bullet that appears in an
                     unordered list is a disc.

                                Property                        Value                          Description

                      list-style-image                url                         Set a picture or image as a list item

                      list-style-position             inside, outsides            Specify the position of list item

                      list-style-type                 disc, circle, square, none  Specify the style of bullets for list item

                                                                                                  Introduction to CSS3  53

| 50 51 52 53 54 55 56 57 58 59 60 |