This is a self-explanatory introduction to the q4w tool for specifying questionnaires on the web. The questions and answers can be translated to valid HTML code, yielding a Web page with input fields, buttons, etc. By clicking the "submit" button in this Web page, a program (CGI script) interprets the answers and stores them in a database. Another program (CGI script) displays statistics about the answers obtained so far.
Here are a few examples demonstrating the various types of answers that can be used with the q4w tool: