Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to render a checkbox as "unchecked"

Posted on 2006-03-27
Medium Priority
Last Modified: 2010-04-09
Hi.  This is probably a simple question, but it's driving me nuts.

I have this HTML code in my page:

      <td class="TitleColor"><label for="label5a"><font color="#000033">&nbsp;<br>Inactive?
        <input type="checkbox" name="Inactive" checked="False">

...but the rendered checkbox displays "checked".

Why does this happen, and how can I get the checkbox to display unchecked, as it should?
Question by:Mckenzma
LVL 28

Accepted Solution

gamebits earned 1000 total points
ID: 16305748
<input type="checkbox" name="Inactive">


Author Comment

ID: 16306131
Thanks.  I figured out that the presence / absence of the "checked" keyword is the driver.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question