🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

बाहरी स्टाइल शीट केवल एक फ़ाइल को बदलकर पूरी वेब साइट का स्वरूप बदलने की सुविधा प्रदान करती है।

The external style sheet facilitates one to change the look of the entire web site by changing just one file.

A)
B)

Explanation:

The statement: "The external style sheet facilitates one to change the look of the entire website by changing just one file." is True.

Explanation:

An external style sheet is a separate .css file that contains all the CSS rules for styling a website. This .css file is linked to multiple HTML documents across the website. By using an external style sheet, you can manage and update the styling of the entire website by modifying just one file (the CSS file), rather than updating individual styles in each HTML document.

How it Works:

  1. Create an External CSS File: You create a .css file (e.g., styles.css) and write your CSS rules in that file.

    Example (styles.css):

     
    body { background-color: lightblue; }
    h1 { color: darkblue; }
  2. Link the CSS File to HTML Documents: Each HTML document on your website links to the external .css file using the <link> tag within the <head> section.

    Example (index.html):

     
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Examjila Website</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>Welcome to My Website Examjila.com</h1>
    <p>This is a paragraph styled using an external CSS file.</p>
    </body>
    </html>
  3. Change the Look of the Entire Website: By changing the styles.css file, you can affect the styling of all HTML pages linked to it. For example, if you update the background color or font in the styles.css file, the change will automatically apply to all the HTML pages that reference this external stylesheet.

    Example of changing background color in styles.css:

    body { background-color: lightgreen; /* Changed from lightblue */ }

    This change will instantly apply to all HTML files that include the styles.css file, making it very easy to maintain a consistent design across a website.

Key Benefits of External Style Sheets:

  1. Consistency: One style sheet can control the look of the entire website, ensuring consistency across all pages.
  2. Ease of Maintenance: If you need to change the look of your site, you only need to modify the external CSS file, and the changes will be reflected in all linked pages.
  3. Reduced Redundancy: You don't have to repeat CSS rules in each HTML file, which makes your code more efficient and easier to manage.
  4. Performance: Since the CSS file is cached by browsers, it can improve page load times as the browser only needs to download the CSS file once.
Latest Updates