HTML tag for comment box

Discussion in 'Web Design and Development' started by John444, Feb 10, 2011.

  1. John444 macrumors member

    Feb 10, 2011
    Hey everyone!
    What is the HTML tag for a comment box, I thought it was this:
    <form action="/html/tags/html_form_tag_action.… method="get">

    <textarea rows="3" cols="20"></textarea>

    <input type="submit" value="Submit" />

    But it does not work when saved as .html. I think I need like a code page or something, but I do not know how to make one, any ideas?
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    That is the correct HTML. Make sure you're saving as plain text. If you happen to be using TextEdit, you can do so from the Format menu.
  3. John444 thread starter macrumors member

    Feb 10, 2011
    Ok I will do that (mine was saved as rich text format, so now I changed it .txt). I knew that was the correct tag, but when I open in in the browser, I cannot submit a comment. Any idea why?
  4. HomeBru Studios macrumors member

    HomeBru Studios

    Jun 4, 2008
    Is the URL correct for where you are posting to? Your sample looked to be an absolute address so you might be missing part of the path?!?
  5. John444 thread starter macrumors member

    Feb 10, 2011
    That looks like the problem, thanks. (P.S I copied this sample from yahoo answers) Sorry I have no idea how to use path or fix it. Any idea how to fix this or what the path tag is that I am missing? (I am just trying to make the website to a local folder at first to test for a comment box).
  6. John444 thread starter macrumors member

    Feb 10, 2011
    I think I figured out my problem. This action tag is an example, I would have to replace it with the URL path that processes the form tag. So I could replace it with a web host website (if I made an account with a web host that allows CGI). For example action="" or something like that.
    I looked it up and I could also fill in the action tag with an email link or a javascript link. The email link would send the comment to my email and the javascript would send it to a processor then back to the site (I think). I know the email tag would be action="".
    Thanks to everyone for your help.

Share This Page