NOKIA

pages of blog

Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Thursday, 10 July 2014

HTML , how to create a form

hello .
to create a form in HTML , we must define the action and the method
the action is The value of the page that we're going to 
the method is POST or GET , It is the matrix which is stored inside the values ​​of the variables of the current page , To be sent to the next page

<form action='page2.html' method='POST'>
</form>

ok , here we need an input for put the data , like name , password , image or file uploaded , text befor searching, buttom ...., All of these things called input , We put them inside the form 

<input type="" name="" value=""> 
 all input Must contain
 the type : text , password , submit ,file 
the name : You choose the name, because you need the next page you made ​​commitments for programming.
the value : it is text that is writting at the input . 

<html>
<head>
<title>
page 1 
</title>
</head>
<body bgcolor='red'>

<form action='page2.html' method='POST'>
 <p><input type="text" name="name" value="put the name here"></p>
 <p><input type="password" name="password" value="put the password here"></p>
 <p><input type="submit" name="submit" value="enter"></p>
</form>

</body>
</html> 

the result : 









try it your self . 
the next cour : how to create table by HTML

HTML , The paragraph

the paragraph in html , is easy and sample , how do it ?

 To separate paragraph for paragraph , we use <p>
also , we use <br>  for write Each line alone : <br>
we use <b>  for write a line in Boor : <b>

<html>
<head>
<title>
My first page 
</title>
<body bgcolor='red'>
<p> hello </p>
<p> this is my first page , i learn html with the blog php-followers , it is sample and easy </p>
<br> but ..! you must look at futur 
<br> because the programming is very good with us 
<br> ok <br>
<b> thank you very much ... </b> 
</body>
</html> 

try it your self ....! 

the result  





the next : how to use the form in HTML

HTML , how to set a background image or color to page

hello 

for set a background of image , you must give the source of image that you would like . 
exemple 

this image :





we give the source of this image , in net or in pc
the source is : https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinN0R7drIHl1keR8it2BXk6vATZ4ZJjpcaabDSNpAaM7qsmLAzwXXMVRkPaZmGuunIujESL-uUbYPHty9tnEBDzc-7kn95rhJHodUquaTLapWC1gSmHA3Rq7n2qrmg-QaOrIO4G8QNosXA/s1600/nature.jpg

ok . 


write backgound='source of image '


<html>
<head>
<title>
</title>
</head>
<body background='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinN0R7drIHl1keR8it2BXk6vATZ4ZJjpcaabDSNpAaM7qsmLAzwXXMVRkPaZmGuunIujESL-uUbYPHty9tnEBDzc-7kn95rhJHodUquaTLapWC1gSmHA3Rq7n2qrmg-QaOrIO4G8QNosXA/s1600/nature.jpg'>
</body>
</html>


and  if you would like to set a color then write bgcolor='the color or code color'


<html>
<head>
<title>
</title>
</head>
<body bgcolor='red'>
</body>
</html>

you can give the code of color html from this site : click here


we see you in the next cour : the Paragraph in HTML

learn HTML easily : the body

With HTML you can create your own Web site.

html : Hypertext Markup Language , language simple and easy for create web site 
html is  static language for create page internet

the body of html

<html>
<head>
<title>
YOUR  TITLE PAGE
</title>
</head>
<body>
THE BODY OF YOUR SITE HERE
</body>
</html>

try it your self , by create a file (exemple.html) and put the code source in the file. 

the next : HOW TO SET A BACKGROUND OF YOUR PAGE HTML

Monday, 23 June 2014

cour 1 : how to write scripte of login

hello 
if you are tyro in PHP , i will present the simple scripte for programming login page 



first step : You must learn HTML because you know what i write . ok

for create a form of login . open bloc not or other  editor , and save a file by name : exemple.php
Reminder that you need to download and anstall the compiler of PHP language , its simple and easy for all programmers .from     http://www.appservnetwork.com

ok . we start after you create new file by name : exemple.php 
this code of login form 



the form login in html ,
Contains the begin and the end .ok 

the begin is : 
<form>
and the end is 
</form>
the begin must have an action . ok what is the action

the action is the  Property, which must be equal to the value of the page to send data supplied 
by our login form , like name and password . we use the next page is The same page .ok
the method is 2 
POST and GET 
we prefer POST because we are tyro 
it is the method used befor send data .ok


Between the begin and the end , we must define the INPUT ... 

input of name 
input of password 
input of buttom 

in all input we must define propriety 
name of input -
type of input 
value of input 
hahahah its simple 
in type of input . we choose for the one : text , because its visuel 
the type password is not visuel .

last type of input , for the buttom , so if you need a buttom , its simple and easy 

type ="sumbit "
the result.








thank you befor follow , and this is all

in next cour we set a decoration of our login form by CSS

thank you

yassine