how many types of css

Discussion in 'CSS' started by leejohn, Oct 28, 2011.

  1. #1
    please tell me friends that how many types CSS and how can it embeded in html with example.
    [TABLE="width: 266"]
    [TR]
    [TD="class: xl65, width: 266"]NH58 Property
    [/TD]
    [/TR]
    [/TABLE]
     
    leejohn, Oct 28, 2011 IP
  2. Toycel

    Toycel Peon

    Messages:
    243
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    0
    #2
    CSS or Cascading StyleSheets are using with HTML to style the pages using divs and other things. This cuts out the use of the table layout and is much easier to change one global element than re-write all the pages individually.
    You can use two types of CSS inline or external. The external version is the one in a separate file. Inline is in the Element of the HTML.

    Try w3schools.com to get a basic knowledge of this.
     
    Toycel, Oct 28, 2011 IP
  3. shiful

    shiful Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    three types of CSS styles is important if you're going to use cascading style sheets effectively.
    here are three types of CSS styles:
    inline styles :
    Inline styles are styles that are written directly in the tag on the document. Inline styles affect only the tag they are
    applied to.

    Example Of inline styles :

    <a href="" style="text-decoration: none;">

    embedded styles :
    Embedded styles are styles that are embedded in the head of the document. Embedded styles affect only the tags
    on the page they are embedded in.

    Example Of embedded styles :

    <style type="text/css">
    p { color: #00f; }
    </style>

    external styles :
    External styles are styles that are written in a separate document and then attached to various Web documents.
    External style sheets can affect any document they are attached to.

    Example Of external styles:

    <link rel="stylesheet" type="text/css" href="styles.css" />

    Take Care
     
    shiful, Oct 28, 2011 IP
  4. seo.geek1

    seo.geek1 Peon

    Messages:
    87
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There are three types of CSS Internal(embedded)types, Inline styles,External Styles. You can learn more about these in details on google.:)
     
    seo.geek1, Oct 28, 2011 IP
  5. blacklizt

    blacklizt Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    based on implementation, there are 3 type of CSS, internenal - inline - external
    based on leves, there are 3 leves CSS 1 - CSS 2 - CSS 3
    based on profiles, there are CSs mobile profile - css print profile - css tv provile

    got this from w3 site
     
    blacklizt, Nov 4, 2011 IP
  6. rocks111

    rocks111 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Css has 3 types

    1. External
    2. Internal and
    3. Inline

    Thanks
    Arun
     
    rocks111, Nov 9, 2011 IP
  7. you-me

    you-me Peon

    Messages:
    67
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    3 types based on level and implementation. external, internal and inline on implementation basis and css1, css2 and css3 on level basis.
     
    you-me, Nov 14, 2011 IP
  8. FusedNetwork

    FusedNetwork Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Agreed, the three types of CSS are:

    1. External
    2. Internal and
    3. Inline
     
    FusedNetwork, Nov 14, 2011 IP
  9. simrankim

    simrankim Member

    Messages:
    143
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #9
    There are three types or level of CSS..
    1.Inline styles 2. External styles 3. embedded styles
    It is also called CSS1, CSS2 and CSS3.

    * Inline Styles..Written directly in tag .
    ex.<a href="" style="text-decoration: none;">

    * External styles..Written in seperate document and then attached to document.
    ex.<link rel="stylesheet" type="text/css" href="styles.css" />

    * Embedded styles...Embedded in the heads of the document.Affect tag and documen.
    ex.<style type="text/css">
    p { color: #00f; }
    </style>
     
    simrankim, Nov 15, 2011 IP
  10. seo.geek1

    seo.geek1 Peon

    Messages:
    87
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Inline styles are styles that are written directly in the tag on the document. Inline styles affect only the tag they are applied to.
    Embedded styles are styles that are embedded in the head of the document. Embedded styles affect only the tags on the page they are embedded in.
    External styles are styles that are written in a separate document and then attached to various Web documents. External style sheets can affect any document they are attached to.
     
    seo.geek1, Nov 15, 2011 IP
  11. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #11
    There are three types of styles. The ones mentioned in all the previous posts and all the ones repeated in the following posts.
     
    drhowarddrfine, Nov 15, 2011 IP
  12. webdesigner1212

    webdesigner1212 Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    yes its good
     
    webdesigner1212, Nov 19, 2011 IP
  13. william333

    william333 Greenhorn

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #13
    Yes its right
     
    william333, Dec 7, 2011 IP
  14. JHONYY1

    JHONYY1 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    There are three types of CSS
    1. Internal
    2. External
    3. Inline
     
    JHONYY1, Dec 8, 2011 IP