1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

CSS CSS help about ID selector

Discussion in 'Web Development' started by andlosek, Nov 17, 2012.

  1. andlosek

    andlosek New Member

    We know that in CSS id selector is used to specify a style for a single, unique element.Like below
    #para1
    {
    text-align:center;
    color:red;
    }
    Here Paral is a ID selector. My question is that Can I use any word as ID selector.
     
  2. Mimoun

    Mimoun Administrator Staff Member Director Verified Member

    Yes you can use any word as an ID selector.
     
  3. andlosek

    andlosek New Member

    Thanks mimoun for your effective response.Keep it up