poniedziałek, 3 listopada 2014

Skrypty reszta

Strona czerwona :

<html>
<head>
<title> Moja strona </title>
</head>
<body style="background-color:#FF0000;">
<p> To jest strona czerwona </p>
</body>
</html>

Przykład drugi :

<html>
<head>
<title> Przykład drugi </title>
</head>
<style type="text/css">
body {background-color:#FF0000;}
</style>
</head>
<body>
<p> To jest strona czerwona</p>
</body>
</html>


<link rel="stylesheet"type"text/css"href="style/arkusz.css"/>

<html>
<head>
<title> Moja strona </title>
<link rel="stylesheet"type"text/css"href="style/arkusz.css"/>
</head>
<body>
<p> Strona </p>
</body>


<html>
<head>
<title> Mój dokument </title>
<link rel="stylesheet"type="text/css"href="style.css"/>
</head>
<body>
<h1> Mój pierwszy arkusz </h1>
</body>
</html>

<script type="text/javascript">
//<![CDATA[
for (x=1;x<=9;x++)
document.write(x);
//]]>
// Pętla for
</script>

<script type="text/javascript">
//<![CDATA[
for (x=1;x<=150;x++)
document.write("to jest mmoja strona","");
//]]>
// Pętla for napis 150 razy

</script>

<script type="text/javascript">
//<![CDATA[
x=1;
while (x++<=150)
document.write(x);
//]]>
// While liczby od 2 do 150

</script>

<script type="text/javascript">
//<![CDATA[
x=1;
while (x<=100)
{if(x%5==0)
document.write(x)
x++;
}
//]]>
// Liczy podzielne przez 5!

</script>

<script type="text/javascript">
//<![CDATA[
n=10;
do
{document.write(n);
n++;
}
while(n<10);
//]]>
// Wyświetli 10 kod z do 

</script>




<script type="text/javascript">
do
{
var hasło=prompt ("Podaj hasło","")
}
while(hasło!="JavaScript")
document.write("Witaj na stronie");
// Podanie hasła

</script>

<script type="text/javascript">
//<![CDATA[
for (x=1;x<=100;x++)
{if(x%2==0)
document.write(x)
}
//]]>
// Użycie pętly for do wyświetlenia licz podzieny przez 2 do 100

</script>


h1{
font-family:Verdana;
        font-size: 480%;
        font-weight:bolder;
        color:pink;
        
}
p{
      text-indent:6%;
      text-decoration:line-through;
}


      td{
         text-align:center;}


th{
         text-align:left;
         color:red
         font-family:Verdana;

}
div{
         letter-spacing:6px;
         text-transform:uppercase;
}
body{
background-image:url("tlo.jpg");
background-repeat:repeat-x;
background-position:50%;
}










http://www.fifafanatic.com/fifa-15-best-young-players/  
http://www.fifafanatic.com/fifa-15-older-players-with-potential/
http://www.givemesport.com/505622-top-25-young-players-to-sign-on-fifa-15-career-mode/page/2
http://www.fifagamenews.com/best-strikers-fifa-15-career-mode/
http://www.fifagamenews.com/best-strikers-fifa-15-career-mode/
http://www.goodgamebro.com/2014/10/04/fifa-15-best-youth-squad-career-mode/2/
http://www.fifagamenews.com/best-midfielders-fifa-15-career-mode/
http://www.fifagamenews.com/best-goalkeepers-fifa-15-career-mode/


Brak komentarzy:

Prześlij komentarz