A InfoWiki wikiből
(Változatok közti eltérés)
(uploaded) |
Aktuális változat (2009. június 27., 18:52) (lapforrás) (uploaded) |
||
15. sor: | 15. sor: | ||
Táblázatos formában: | Táblázatos formában: | ||
+ | <code lang="html"> | ||
<form action="http://localhost/proba.php" method="post"> | <form action="http://localhost/proba.php" method="post"> | ||
<table> | <table> | ||
37. sor: | 38. sor: | ||
</table> | </table> | ||
</form> | </form> | ||
- | + | </code> | |
DIV-ek segítségével: | DIV-ek segítségével: | ||
+ | <code lang="html"> | ||
<form action="http://localhost/proba.php" method="post"> | <form action="http://localhost/proba.php" method="post"> | ||
<div style="width:310px;"> | <div style="width:310px;"> | ||
61. sor: | 63. sor: | ||
</div> | </div> | ||
</form> | </form> | ||
+ | </code> |
Aktuális változat
Komplex form
Táblázatos formában:
<form action="http://localhost/proba.php" method="post"> <table> <tr> <td>Belépő név:</td> <td>*</td> <td><input type="text" name="login_nev"/></td> </tr> <tr> <td>Jelszó:</td> <td>*</td> <td><input type="password" name="login_jelszo"/></td> </tr> <tr> <td>Életkor:</td> <td>*</td> <td><input type="checkbox" name="elmult_18" value="igen"/></td> </tr> <tr> <td colspan="3"><input type="submit" name="submit" value="Feltöltés"/></td> </tr> </table> </form>
DIV-ek segítségével:
<form action="http://localhost/proba.php" method="post"> <div style="width:310px;"> <div style="float:left;width:100px;">Belépő név:</div> <div style="float:left;width:10px;">*</div> <div style="float:left;width:200px;"><input type="text" name="login_nev"/></div> <div style="clear:both;"/> <div style="float:left;width:100px;">Jelszó:</div> <div style="float:left;width:10px;">*</div> <div style="float:left;width:200px;"><input type="password" name="login_jelszo"/></div> <div style="clear:both;"/> <div style="float:left;width:100px;">Életkor:</div> <div style="float:left;width:10px;">*</div> <div style="float:left;width:200px;"><input type="checkbox" name="elmult_18" value="igen"/></div> <div style="clear:both;"/> <div style="width:310px;"><input type="submit" name="submit" value="Feltöltés"/></div> </div> </form>