HTML/CSS How can HTML be used for creating polls?

AI Thread Summary
HTML does not support native poll functionality, as it is primarily designed for layout rather than interactive features. To create polls, users need to utilize scripts, which can be categorized into server-side and client-side scripts. Server-side scripts, such as ASP and PHP, execute on the server and return HTML to the client, allowing for dynamic content but requiring page reloads for user interaction. Client-side scripts, like JavaScript, run on the user's device, enabling real-time interaction without reloading the page, though they have limitations in accessing server resources due to security policies. Resources like hotscripts.com can provide various poll scripts, and assistance is available for those needing custom solutions or hosting options.
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
9
Views
2K
Replies
10
Views
2K
Replies
7
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
8
Views
3K
Replies
5
Views
2K
Back
Top