HTML help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blahman12
    FFR Player
    • May 2007
    • 52

    #1

    HTML help

    What's the code to make a submit button that says "Submit"
    (In HTML)
    A member of T_SOB.
    Contact me at: pm
    Don't worry, it's my FFR contact number

    Wanna go eat?
    1. Mmmmmm
    2.
    3.
    4. *threw up*
    5. my friend -->
    I'll kill you if you don't use this!!!-->
    but not this though, he's too lonely and bad to be used
    I have lost.
    Get a new game for yourself!
  • DDR_Mike
    FFR Player
    • Jun 2006
    • 188

    #2
    Re: HTML help

    Code:
    <input type="submit" value="Submit">
    Would be a submit button, but what are you trying to do?

    Code:
    <button>Submit</button>
    would work as well.

    Comment

    • blahman12
      FFR Player
      • May 2007
      • 52

      #3
      Re: HTML help

      I'm trying to help my friend make a form
      And make a game myself
      Thanks anyway
      A member of T_SOB.
      Contact me at: pm
      Don't worry, it's my FFR contact number

      Wanna go eat?
      1. Mmmmmm
      2.
      3.
      4. *threw up*
      5. my friend -->
      I'll kill you if you don't use this!!!-->
      but not this though, he's too lonely and bad to be used
      I have lost.
      Get a new game for yourself!

      Comment

      • Calcium Deposit
        I am the liquor
        FFR Music Producer
        • May 2007
        • 706

        #4
        Re: HTML help

        You would need more than html knowledge to make the button do anything.
        Javascript would be needed.

        Comment

        • DarkProdigy
          FFR Veteran
          • Aug 2005
          • 893

          #5
          Re: HTML help

          Here, this looks helpful: http://www.cs.tut.fi/~jkorpela/forms/index.html
          Are you a stepartist?

          Comment

          • DDR_Mike
            FFR Player
            • Jun 2006
            • 188

            #6
            Re: HTML help

            Originally posted by Calcium Deposit
            You would need more than html knowledge to make the button do anything.
            Javascript would be needed.
            Actually that's not true at all, you can make a form. Like:
            Code:
            <form name="input" action="whatever.php"
            method="get">
            whatever: 
            <input type="text" name="whatever">
            <input type="submit" value="Submit">
            </form>
            Whatever you need help with, just tell me, I'd be gald to help out.

            Comment

            • blahman12
              FFR Player
              • May 2007
              • 52

              #7
              Re: HTML help

              Originally posted by Calcium Deposit
              You would need more than html knowledge to make the button do anything.
              Javascript would be needed.
              I just barely would do anything to it
              A member of T_SOB.
              Contact me at: pm
              Don't worry, it's my FFR contact number

              Wanna go eat?
              1. Mmmmmm
              2.
              3.
              4. *threw up*
              5. my friend -->
              I'll kill you if you don't use this!!!-->
              but not this though, he's too lonely and bad to be used
              I have lost.
              Get a new game for yourself!

              Comment

              • g4z33b0
                Banned
                • Mar 2006
                • 2618

                #8
                Re: HTML help

                If you don't know the basic, simplest HTML you won't be making any games. Uh and Calcium, PHP works fine. As an example, a basic border creating program:

                Code:
                <!-- within <body>  -->
                
                <form method = "post" 
                action = "borderCreate.php">
                
                <input type = "text"
                name = "size"
                value = ""> <br>
                
                <input type = "radio"
                name = "sizeType"
                value = "px"> pixels 
                
                <input type = "radio"
                name = "sizeType"
                value = "pt"> points
                
                <input type = "radio"
                name = "sizeType"
                value = "cm"> centimeters
                
                <br>
                
                <input type = "submit"
                value = "wtf no javascript">
                
                </form>
                </body>
                </html>
                
                <!-- /////////////borderCreate.php from here down///////////// -->
                <!-- within <body> 
                
                Your border: 
                
                <center>
                
                <?
                $styleIt = <<<HERE
                
                "border-width: $size$sizeType;
                border-style: ridge;
                border-color: green;"
                
                HERE;
                
                print "<div style = $styleIt>";
                print "</span>";
                
                ?>
                
                </center>
                
                </body>
                </html>
                Go learn how to program.
                Last edited by g4z33b0; 06-14-2007, 04:29 PM.

                Comment

                Working...