Internet Programing

Perintah Dasar HTML

  • <table> :fungsi untuk membuat table
<html>
<body>
     <table border=1  width=100 height=60 >
            <tr>
            <td >ratih</td>
            </tr>
            <tr>
            <td> gilang</td>                      
            </tr>
     </table>
</body>
</html>

table

  • <border color=”jenis warna”>  : memberikan warna pada border table
<html>
<head>
</head>
<body>
<table border=1 bordercolor="green"  width=100 height=60 >
     <tr>   <td >ratih</td>   </tr>
       <tr> <td>gilang</td>  </tr>
            </table>
</body>
</html>

hasilnya:

border clr

  • <input type=”checkbox” >: membuat teks berupa chekbox
<html>
<body>
            <br>
      <input type="checkbox" name="c1"> Ratih</br>
       <input type="checkbox" name="c2"> Gilang <br>
            </br>
</body>
</html>

chek box

  • <bgcolor=warna> : Merubah warna Background
<html>
<head>
<title> Letakkan judul situs di sini </title>
</head>
<body bgcolor=green>
<font color=white>Ratih Siswanto </ font color=white >
</body>
</html>

green
  • <cite> :   Mendefinisikan kutipan
<html>
<head>
<title> Letakkan judul situs di sini </title>
</head>
Hengky<cite>Ratih</cite> Gilang
</html>

cite

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s