Is it must to use rel="stylesheet" in html web header section?

Discussion in 'Website Development & Design' started by bmwillsmith, Sep 8, 2014.

  1. bmwillsmith

    bmwillsmith
    uix_expand uix_collapse
    Member

    Joined:
    Jan 23, 2014
    Messages:
    380
    Likes Received:
    10
    Recently one of a beginner stage web designer asked me this question.
    And my answer is yes, we have to use it.
    Rel is means Relationship, it is a html attribute which is used to indicate an external style sheet into that web page.

    Usage sytanx:

    In the above shown way we have to call an external C S S document.

    Here Link tag is also an important one, it defines the relationship between a web page html and an external document which is mostly used to call style sheets.
     
  2. uwanttraffic

    uwanttraffic
    uix_expand uix_collapse
    New Member

    Joined:
    Aug 18, 2014
    Messages:
    13
    Likes Received:
    1
    Yes it is necessary without stylesheet the website look blank without color etc.
     
  3. Grey Brother

    Grey Brother
    uix_expand uix_collapse
    Member

    Joined:
    Jun 24, 2014
    Messages:
    45
    Likes Received:
    0
    Yes its necessary.
     
  4. Gaiacom_LC

    Gaiacom_LC
    uix_expand uix_collapse
    New Member

    Joined:
    Jul 16, 2013
    Messages:
    21
    Likes Received:
    0
    Yes, it's absolutely necessary unless including the CSS directly in the code, right?
     
  5. zeropid

    zeropid
    uix_expand uix_collapse
    Member

    Joined:
    Oct 24, 2011
    Messages:
    392
    Likes Received:
    12
    Sure, nowadays it is really important to properly design your page using css
     
  6. marclewis

    marclewis
    uix_expand uix_collapse
    Member

    Joined:
    Jul 4, 2014
    Messages:
    49
    Likes Received:
    3
    Using external stylesheet helps improve the appearance of their pages.
     
  7. bmwillsmith

    bmwillsmith
    uix_expand uix_collapse
    Member

    Joined:
    Jan 23, 2014
    Messages:
    380
    Likes Received:
    10
    Yeah I agree with you. We will use link option to call external style sheet only. We can write in line and internal styles also.
     
  8. andrewc

    andrewc
    uix_expand uix_collapse
    Member

    Joined:
    Nov 12, 2013
    Messages:
    175
    Likes Received:
    21
    It is best practices to reference a stylesheet, for sure! Although you can put the style right in the header of the page. If you are getting into email marketing and creating pages to send email blasts, be forewarned! Goolge only lets you use inline css when sending html email.
     

Share This Page