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

  • SEARCH
  • Home
  • 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 7055911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:48:18+00:00 2026-05-28T03:48:18+00:00

In CSS3, is there any attribute that takes false or null value? I suppose

  • 0

In CSS3, is there any attribute that takes false or null value? I suppose and expect not, but wanted to make sure.

I am writing a javascript code (related to ajax interaction) that sets or removes an attribute to/from some DOM object. The function takes an attribute name and its value as the arguments, and I am thinking that, if the value turns out to be false or null, then removeAttribute() function should be called, and otherwise, the attribute should be assigned with that value. If there is a style attribute that possibly takes false or null value, then I cannot do that, so I wanted to make sure.

  • 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-05-28T03:48:19+00:00Added an answer on May 28, 2026 at 3:48 am

    No, there is no attribute that takes false or null. However, I am pretty sure you can create your property without any visual impact.

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

Sidebar

Related Questions

Are there any alternatives to the :not css3 selector that are compliant with IE8
Is there any JavaScript or CSS framework that adds CSS3 support to IE6, like
Using current CSS and not CSS3, is there any way of specifying a raised
Are there any cheat mechanisms similar to IE7.js available for browsers that do not
Is there a word-wrap or any other attribute that stops text from wrapping? I
Are there any techniques that allow for expressions in css3 statements? Frequently it is
I understand that Internet Explorer is poor at supporting CSS3 - but is there
The thing I hate most in CSS3 is that there is always two properties
I was wondering if anyone knows of any large sites that use progressive enhancement/CSS3?
is there any css validator with CSS3 and vendor specific extensions support? I only

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.