Page 45 - PortGPT_V2.1_C8_Flipbook
P. 45

4                           Introduction to CSS3

















                     Let’s surf
                          Introducing CSS3                 Background Color                        CSS Border
                          CSS Margins                      CSS Height and Width                    CSS Outline
                          CSS Font                         Aligning Text                           List With CSS
                         Styling tables using CSS



                  Let’s PLug-in


                    What is the role of designing and formatting a web page in HTML?

                    ____________________________________________________________________________________

                    ____________________________________________________________________________________

                    ____________________________________________________________________________________







                 Sometime, you need to use the same formatting in different web pages or different sections of web
                 page. Earlier, you have used HTML attributes to apply formatting in web pages. Now, you can use

                 CSS to apply same formatting easily. In this chapter, you will learn about CSS3 and its properties.


                        INTRODUCING CSS3


                 CSS stands for Cascading Style Sheet. It is a design language which enables to simplify the process
                 of making web pages. It handles and describes how an HTML web page will be presented on a web
                 browser. It helps save lot of time as one design layout can be used to make number of web pages.
                 The latest version of CSS is CSS3. Earlier, CSS2 was used.

                 CSS  comprises  style  rules  that  are  interpreted  by  the  web  browser  and  then  applied  to  the
                 corresponding elements in HTML web page. Syntax to create a style in CSS is:

                 selector{property1:value1; property2:value2; … …}






                                                                                              Introduction to CSS3  43
   40   41   42   43   44   45   46   47   48   49   50