Html: Difference between revisions

From wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
[[Category:Webdesign]]
[[Category:Webdesign]]
;<input type="text" name="portfolioname" value="xxx" size=20 readonly disabled>
 
<h1>Redirect</h1>
;<meta http-equiv="Refresh" content="0; url='https://wiki.deridder.it'" />
:Immediate redirect to this wiki.
<h1>Forms</h1>
;<form action="'.htmlspecialchars($_SERVER['REQUEST_URI']).'" method="post">
:Start a form
:;action
::Page to load when submit is done. This loads the same page as making the request
:;method
::Submit method (GET or POST)
<h2>Input boxes</h2>
;<input type="text" name="varname" value="xxx" size=20 readonly disabled>
:An input box to use in forms
:An input box to use in forms
:;name
:;name

Latest revision as of 13:18, 26 April 2026


Redirect

<meta http-equiv="Refresh" content="0; url='https://wiki.deridder.it'" />
Immediate redirect to this wiki.

Forms

<form action="'.htmlspecialchars($_SERVER['REQUEST_URI']).'" method="post">
Start a form
action
Page to load when submit is done. This loads the same page as making the request
method
Submit method (GET or POST)

Input boxes

<input type="text" name="varname" value="xxx" size=20 readonly disabled>
An input box to use in forms
name
Name of the key in $_POST returned
value
Default value
readonly
No input allowed
disabled
Value will not be in $_POST