Page 133 - DCAP408_WEB_PROGRAMMING
P. 133

Unit 4: Cascading Style Sheets




          p.test1{  color:  blue;  }                                                            Notes
          p.test2{  font-size:  12px;  }
          HTML  Code:
          <html>
          <body>
          <p>This  is  a  normal  paragraph.</p>
          <p  class=”test1">This  is  a  paragraph  that  uses  the  p.test1  CSS  code!</p>
          <p  class=”test2">This  is  a  paragraph  that  uses  the  p.test2  CSS  code!</p>
          ...
          Display:
          This is a normal paragraph.
          This is a paragraph that uses the p.test1 CSS code! The p.test1 paragraph remained the same size,
          but it’s color changed.
          This is a paragraph that uses the p.test2 CSS code! The p.test2 paragraph remained the same
          color, but it’s size changed.

          Self Assessment


          Fill in the blanks:
          17.  If the CSS class uses a CSS ………………… already defined by the default CSS, then the
               formatting defined by the class will be the value that is used.


             

             Caselet     CSS will Come out with IPO in India

                   SS Corp, the US-based IT company, will consider coming out with an initial public
                   offer (IPO) in India but has not fixed any time frame for it. “We can list anywhere,
             Cincluding the US, London and India. But at this stage it will be in India,” according
             to Mr Nick Sharma, CEO, CSS Corp.
             Backed by  financial institutions, including SAIF  Partners, Goldman Sachs and  Sierra
             Ventures, CSS Corp has revenue of around $135 million. Anything over $100 million is
             enough to go for IPO, Mr Sharma told newspersons while announcing the company’s new
             brand identity and inaugurating a new centre in Chennai. “We have not set any target for
             the IPO but it can be any time,” he said.
             Financial investors together hold over 50 per cent stake in the company, he said.

             Revenue Growth
             According to Mr Sharma, CSS hopes to add nearly $100 million in revenue in the next two
             years to become a $250-million company by 2012-end. Nearly 25 per cent of the revenue
             has come from acquisitions and this inorganic strategy will continue, he said.
             “We are confident of achieving revenue of $250 million with the global economy picking
             up,” he said. At present nearly 85 per cent of the company’s revenue comes from the US.
                                                                                Contd...




                                           LOVELY PROFESSIONAL UNIVERSITY                                   127
   128   129   130   131   132   133   134   135   136   137   138