HTML Codes

199
0
I decided to mess around with HTML yesterday and now i cant find the code for a poll can anyone help?
 
199
0
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
 
17,534
7,134
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.
 
86
0
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 dont have a mysql database :) ive been dying for an excuse to screate a poll script :P
 
333
1
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.
 

Related Threads for: HTML Codes

  • Posted
Replies
9
Views
2K
  • Posted
Replies
5
Views
3K
  • Posted
Replies
6
Views
2K
  • Posted
Replies
2
Views
1K
  • Posted
Replies
3
Views
2K
  • Posted
Replies
4
Views
2K
  • Posted
Replies
4
Views
2K
  • Posted
Replies
6
Views
9K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top