Urmatorul Anterior Continut

Tutorial de html - Lectia6

Introducerea unui form

 

Se deschide notepad , se scrie in el urmatorul cod sursa si se saveaza pagina cu extensia *.html.

test.html

 

<html>
<head>
<title>Pagina de test</title>

</head>

<body bgcolor="red">
<font color="yellow">
<font size = "7">
<p align = "center">
Pagina de test
</p>
</font>
</font>
<form name="user_field" method="post" action="test.php">
<input type="text" name="user" size="32">
<input type="submit" name="ok_buton" value="Ok">
</form>
</body>
</html>

 


Apoi se testeaza(se ruleaza..).

 

Va rezulta o pagina care va avea background- ul rosu si textul galben de dimensiunea 7 ,va centra textul si va introduce un form.

 

 


Urmatorul Anterior Continut