HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Recent content by buzzersdad

  1. B

    basic if statement dow not work

    The problem then becomes how to represent a boolean value in the HTML value="...." statement.
  2. B

    basic if statement dow not work

    What I was trying to achieve was more complicated, I just reduced the code bit by bit to the smallest number of statements to isolate where my code was failing. It started as an attempt to set up a toggle switch (using the "value" fiield as a 1 or a 0) to change a background image back and forth...
  3. B

    basic if statement dow not work

    I put in the > as suggested, but it still doesn't work!
  4. B

    basic if statement dow not work

    This works as shown, but if you include the "if" statement, it doesn't work. (I'm new at this, and have searched everywhere I know of to find what's wrong - it must be simple) <!DOCTYPE html> <html> <body> <style> .box { width: 80px; height: 80px; margin: 0px; padding:0px; border: 1px solid...
Back
Top