sreda, 02. november 2011

HTML

"<html>
      <body>
            <h1>Vaja 1</h1>
                            <p>Tako lahko določimo odstavek.
                            <hr />
                            <a href="http://www.facebook.com/home.php?">Tekaj se nahaja povezava do Facebooka. </a> </p>
            <h1>Vaja 2</h1>
                            <p>Če v html jeziku pritisnemo tipko Enter, se beseda ne bo začela v isti vrstici.<br /> Za prehod v novo vrstico imamo poseben element.</p>
            <h1>Vaja 3</h1>
                            <p><b>Besedilo </b>
                            <i>lahko</i>
                            <sup>tudi</sup>
                            <sub>poljubno</sub>
                            <big>oblikujemo.</big><br />
                            <font size="3" face="Verdana" color="green">Prav</font>
                            <font size="3" face="Verdana" color="pink">tako lahko spreminjamo</font>
                            <font size="3" face="Verdana" coloer="blue">barvo,</font>
                            <font size="5" face="Verdana" color="green">velikost pisave</font>
                            <font size="5" face="Arial" color="green">in vrsto pisave.</font></p>
                            <p style="background-color:yellow;">Besedilo lahko tudi obarvamo.</p>
            <h1>Vaja 4</h1>
                           <p style="text-align:center;">Besedilo lahko premaknemo na sredino,</p>
                           <p style="text-align:right;">na desno stran,</p>
                           <p style="text-align:left;">ali pa ga pustimo na desni.</p>
            <h1>Vaja 5</h1>
                           <p>Lahko dodamo tudi sliko in ji določimo višino in širino.</p>
                           <img border="0" src="http://www.shrani.si/f/2I/Xh/3bUPktG7/imgnamedealingwithladybu.jpg" alt="Pulpit rock" width="355" height="355" />
            <h1>Vaja 6</h1>
                           <p>Lahko naredimo tudi tabelo</p>
                           <table border="3">
<tr>
<td></td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
<tr>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
</tr>
<tr>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
<tr>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
</tr>
</table>
</body>
</html>"

Ni komentarjev:

Objavite komentar