Simple html code |
Simple html code |
suvadip |
Jul 3 2013, 12:19 AM
Post
#1
|
Group: Members Posts: 1 Joined: 2-July 13 Member No.: 19,374 |
First of all I am very very new to HTML. My questions may appear very silly. I used to write HTML code in notepad and save it with .html extension and then run it in google chrome browser.
I want to write a html code. The code should be so that in the input field there is only a dropdown menu with entries like 'good' and 'bad'. But the output should be like: ----Ram is a good boy ------ if we choose 'good' from the dropdown menu. There should be only a partition between the input and output in the same page. Please give me a sample code. |
Brian Chandler |
Jul 3 2013, 10:57 PM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
What does this have to do with databases?
There is no "HTML code" for what you want to do: it looks like a very simple server program to provide a response to a form. You need to learn: (1) How to create a form in HTML (2) How to write a server program in PHP or similar Try reading tutorials on HTML, PHP, and basic programming. There is no "sample code", unless you mean "Please write it for me." in which case the answer is "No." |
Lo-Fi Version | Time is now: 8th June 2024 - 12:50 AM |