Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9229245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:31:27+00:00 2026-06-18T05:31:27+00:00

Should I include ‘default’ styles in my stylesheet for elements, that aren’t even used

  • 0

Should I include ‘default’ styles in my stylesheet for elements, that aren’t even used on my page?

For example, when I only use h1, h2, h3 and h4, do I really need to add styles for h5and h6? Or when I don’t use tables on my webpage, do I need to add basic styles for then?

Of course one could say “just in case…”, but on the other hand it’s all data that has to be transferred.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:31:28+00:00Added an answer on June 18, 2026 at 5:31 am

    I think this is a question of how certain you are that they’ll never be used. Are you working on a site that includes a CMS and markup that you don’t personally control? Can you be sure that no one, ever, under any circumstances might use an h5?

    If it’s a static site that only you will ever edit, they by all means, you know what you’re using and what you’re not, and you’ll presumably carefully preview any changes before publishing, so I don’t see the harm in keeping your CSS a bit leaner by removing things you’re not using at all.

    But if you’re not sure, I think the overhead of adding a couple more lines to cover it just in case is minimal, really.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Should I include/require_once the parent class that I am extending in PHP? for example
I realize that I should include the shebang line only in scripts we want
What are the security topics that you should always include when writing a proposal
I'm developing a game for iOS that should include the multiplayer. It's not a
I'm working on a web site that is only used internally in the company,
I've been reading up on SEO and heard that paths should include full URLs:
A friend told me that I should include the table name in the field
This is for a shared config file that should include another file if it
I found that in C99 you should #include <stdint.h> and that seems to work
I've seen fairly consistent advice that an implementation file (.cc / .cpp) should include

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.