HTML/CSS/Form Style/Hidden controls — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 11:17, 26 мая 2010
<source lang="html4strict">
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head>
<title>A hidden control - view source to see its content</title>
</head>
<body>
To see the contents of the hidden form control go to the View menu and choose the option to view the source for this page:
<form action="" method="get" name="fromVote">
<input type="hidden" name="hidPageSentFrom" value="home page" /> <input type="submit" value="Click if this is your favorite page of our site." />
</form> </body> </html>
</source>
<source lang="html4strict">
<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head> </head> <body> <form method = "post" action = "/cgi-bin/formmail">
<input type = "hidden" name = "recipient" value = "d@d.ru" /> <input type = "hidden" name = "subject" value = "Feedback Form" /> <input type = "hidden" name = "redirect" value = "main.html" />
</form> </body>
</html>
</source>