How can HTML be used for creating polls?

  • Context: HTML/CSS 
  • Thread starter Thread starter The Grimmus
  • Start date Start date
  • Tags Tags
    Creation Html Poll
Click For Summary

Discussion Overview

The discussion revolves around the creation of polls using HTML, exploring the limitations of HTML for this purpose and the necessity of incorporating scripts for functionality. Participants share their experiences and suggestions regarding poll implementation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in finding the code for a poll in HTML, noting the absence of specific "poll" tags.
  • Another participant suggests that creating polls requires scripts, either client-side or server-side, as HTML alone is not designed for interactive functionality.
  • A participant mentions the availability of poll scripts on hotscripts.com, but raises concerns about potential advertising in those scripts.
  • One contributor offers to create a custom poll script if existing options are unsatisfactory, indicating a willingness to host it if needed.
  • A detailed explanation is provided about the differences between server-side and client-side scripts, emphasizing that server-side scripts execute on the server and return HTML to the client, while client-side scripts run on the user's machine and allow for more interactive features.

Areas of Agreement / Disagreement

Participants generally agree that HTML alone is insufficient for creating polls and that scripts are necessary. However, there is no consensus on the best approach or specific solutions, as various options and concerns are presented.

Contextual Notes

Participants discuss the limitations of HTML in creating interactive elements like polls and the need for additional scripting languages, but the specifics of implementation and preferences for certain scripts remain unresolved.

The Grimmus
Messages
199
Reaction score
0
I decided to mess around with HTML yesterday and now i can't find the code for a poll can anyone help?
 
Technology news on Phys.org
damn i saw soem site that offerd soem round about code for a poll but i was too lazy to desipher which parts i actualy needed well it looks like using google to advance your knowledge has failed agian, Damn i look even more like an idiot
 
Your absolutely not an idiot Grimmus, technology is confusing. You can create polls using or creating scripts made with a client/server side language. Goto hotscripts.com and you'll find all the poll scripts you'll ever want.
 
if at hotscripts there are only polls with advertising stuck all over them gime a bell and ill whip you one up. I could even host it if you don't have a mysql database :) I've been dying for an excuse to screate a poll script :P
 
Well Grimmus, only to give you a bit of light about what you may have been finding confusing ...
HTML is only made for 'layout', HTML is not design to 'do work' (other than linking pages), this is one of the reasons that HTML is not considered a programming language.
When you need to 'do work' (like, save something in a database, load from a database, make a dynamic page, ... etc), you will need 'scripts'.
Scripts are two kinds:
1-Server Side:
In server side scripts, the script is executed on the 'server' (the PC where the page is), and (normally) the page will be returned as HTML to the client (the person viewing the page) after the script has been executed.
This is very usefull in dynamic pages, for example on the top of the forums, there is a line saying "Welcome <UserName>" (for me it is "Welcome STAii" for example), if there was no scripts then the programmer will have to design to different page for EACH and EVERY user (actually, if there was no scripts there wouldn't be forums).
The problem of such scripts is that they don't allow user-interaction, since the execution of the code stops as the page is loaded, and a new page will need to be loaded to make anything new (or maybe reload the same page).
But the advantage is that the user will not need any add-on, since the page is normally returned as HTML.
An example of server side scripts is ASP and PHP.
2-Client Side.
Client side scripts are executed on the client's PC, so they can make anything at anytime (no need for reload).
The disadvantage of those scripts is that they hardly access the server, mainly because of the secuirty policies on the server (i guess ..)
An example of such scripts is JavaScript.


All of those scripts are (normally) written between tags in a page containing tags almost like a normal HTML, in server side scripts, the code will be 'hidden' from the client since only an HTML page will be returned to the client after execution.
In client side scripts the script can be found in somewhere inside the HTML page.

I hope i helped.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 187 ·
7
Replies
187
Views
11K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K