Page 97 - 2633 Trackpad Pro V5.1 Class 7
P. 97

c.  The margin-top property sets the space at the bottom of an element.

                    d.  The font-style property in CSS is used to change the style of text.

                 4.  Answer in one or two words.

                    a.  Which CSS pseudo-class is used for visited hyperlinks?                       _______________

                    b.  Identify the CSS property used to change the face of the font.               _______________
                    c.  Mention the CSS property that includes values such as hidden and dotted.     _______________


                    d.  Write the syntax of the font-family property in CSS.                         _______________

                 5.  Think and answer.

                    a.   How can we use CSS to set the height and width of an <iframe>?

                     _______________________________________________________________________________

                     _______________________________________________________________________________


                    b.   Write the syntax to set border, height and width of an image using CSS.
                     _______________________________________________________________________________

                     _______________________________________________________________________________


                    c.   Where are hyperlink CSS properties defined and what are their uses?

                     _______________________________________________________________________________
                     _______________________________________________________________________________


                     _______________________________________________________________________________


                    d.  What is the use of the margin property?
                     _______________________________________________________________________________

                     _______________________________________________________________________________

                     _______________________________________________________________________________

                                                                                                21 st
                 6.  Competency-based/Application-based questions.                            Century   #Critical Thinking
                                                                                                Skills
                    a.   Aman wants to make the text of his website italic and increase its size to 30px. Which CSS properties
                       will he use? Write the syntax.

                    b.   Karan is designing a webpage and wants different border styles like dashed and solid. Which CSS
                       property will help him achieve this?









                                                                                         Styling Elements using CSS  95
   92   93   94   95   96   97   98   99   100   101   102