Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Jan 2013
    Location
    Ranchi
    Posts
    206

    What is external style sheet? How can we link it?

    What is external style sheet? How can we link it?

  2. #2
    Registered User
    Join Date
    Sep 2017
    Posts
    80
    An external style sheet is a different record where you can announce every one of the styles that you need to use on your site. You at that point connect to the outer template from all your HTML pages. This implies you just need to set the styles for every component once.

  3. #3
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    1,022
    External stylesheet contains the CSS that is cascading stylesheet. You can change the whole website just by replacing the one file using external stylesheet.

    You have to add the link of external stylesheet, you should add the <link> element. <link> element present in the <head> element. You can write it in any editor. You should save it using .css extension.
    Server Management Company
    India's Leading Managed Service Provider | Skype: techs24x7
    Cpanel Technical Discussions - Lets talk !

  4. #4
    Registered User
    Join Date
    Apr 2014
    Location
    india
    Posts
    384
    External stylesheets are used for styling the whole webpage. We can insert external css sheets with .css as extension to give styling to the elements of our website. Each page must include a reference to the external style sheet file inside the <link> element. The <link> element goes inside the <head> section

    <html>
    <head>
    <title>This is a title</title>
    <!-- reference to external css file -->
    <link rel="stylesheet" type="text/css" href="style.css"/>
    </head>
    <body>
    <h1>Anything that glitters is not <span style = "color: gold;">gold</span> </h1>
    </body>
    </html>

  5. #5
    Registered User
    Join Date
    Sep 2017
    Posts
    1,173
    An external style sheet is a separate file linked to an HTML web page. External style sheets are an important tool from the webmaster’s perspective. Each page must include a reference to the external style sheet file inside the <link> element.

  6. #6
    Member
    Join Date
    Jul 2018
    Location
    Delhi
    Posts
    90
    External Styles is used to formatting the HTML document to decrease the page size and it liked with the page by insert the following code in the webpage head section.
    <link rel="stylesheet" type="text/css" href="style.css"/>

  7. #7
    Junior Member
    Join Date
    Jul 2018
    Posts
    9
    An external style sheet is used to define the style for many HTML pages.

    With an external style sheet, you can change the look of an entire web site, by changing one file!

    To use an external style sheet, add a link to it in the <head> section of the HTML page:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.