/    Sign up×
Community /Pin to ProfileBookmark

Need help using HTML

i am an amature at using html. i am designing a web site and would like a drop down list where, when u select an option from the list, it opens the corresponding page.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@CharlesDec 30.2002 — [font=monospace]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

"http://www.w3.org/TR/html4/strict.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Example</title>

<form action="link.pl">

<div>

<select name="url">

<option value="http://www.w3.org/TR/REC-html32">HTML 3.2</option>

<option value="http://www.w3.org/TR/html4/">HTML 4.01</option>

</select>

<input type="submit" value="Darling, you send me.">

</div>

</form>[/font]

[font=georgia]And then get something like the following named 'link.pl' and up and running on the server:[/font]

[font=monospace]#!usr/local/bin/perl

use CGI qw(redirect param);

print redirect param 'url';[/font]
Copy linkTweet thisAlerts:
@CharlesDec 30.2002 — [i]Originally posted by Dave Clark [/i]

[B][K]eeping in mind that JavaScript may not work ...

[/B]
[/QUOTE]
[font=georgia]It's not that it [i]may not[/i] work, it [i]will not[/i] work for at least one in ten users. That will make you seem an awfully bad web author and may run you afoul of certain disability laws.[/font]
×

Success!

Help @Brigitte spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...