About Me

Followers

Wednesday, March 28, 2012

Tugas Pemograman Web Kelas E

berikut adalah script html yang terdiri dari 3 halaman / page yang dilink satu sama lain

1. Script untuk Galery photo
Gambar terdapat pada tengah halaman yang terdiri dari 4 gambar


<html>
<head>
<title>tugas pemograman web</title>
</head>

<body>
<table width="100%" border="1" cellpadding="5">
    <tr>
    <td width="158" height="133" bgcolor="#0066CC">
 <ul type="circle">
 <li><a href="berita.html"><font size="-1" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><B>Berita</B></font></a><br>
 <li><a href="galery.html"><b><font color="#00FF00" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Galery photo </font></b></a><br>
 <li><a href="komentar.html"><font size="-1" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><B>Komentar</B></font></a><br>
 </ul>    </td>
    <td width="586" ><table width="616" border="1">
      <tr>
        <td width="285"><div align="center"><img src="gambar1.jpg" width="318" height="284" />       <font size="-1">gambar 1</font></div></td>
        <td width="285"><div align="center"><img src="PIC_0985.jpg" width="318" height="284"/>
   <font size="-1">gambar 2</font></div></td>
      </tr>
      <tr>
        <td width="285"><div align="center" ><img src="PIC_1007.jpg" width="318" height="284"/>
      <font size="-1">gambar 3</font></div></td>
        <td width="285"><div align="center"><img src="PIC_1026.jpg" width="318" height="284"/>
   <font size="-1">gambar 4</font></div></td>
      </tr>
    </table></td>
    <td width="220" bgcolor="#0066CC">&nbsp;</td>
  </tr>
</table>
</body>
</html>

2. Script Untuk paragrap berita
    berisikan tiga paragar dengan disertai link untuk melihat bagian atas dan bawah paragraf


<html>
<head>

<title>latihan web</title>
</head>

<body>
<table width="100%" border="1" cellpadding="5">

  <tr>
    <td width="149" height="133" bgcolor="#0066CC">
 <ul type="circle">

 <li><a href="berita.html"><b><font color="#00FF00" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Paragraf</font></b></a><br>
 <li><a href="galery.html"><font size="-1" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><B>Galery photo</B></font></a><br>
 <li><a href="komentar.html"><font size="-1" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><B>Komentar</B></font></a><br>
 </ul>     </td>
    <td width="607" id="keatas" >
 <a href ="#kebawah">"kebawah"</a>
 <p align="center" size="3"><B>How to use Winrar</B> </p>
 <p>
 When an archive is opened in WinRAR, its contents are displayed. Select files and folders, which should be extracted. You may do this using Shift + arrow keys or Shift + left mouse button as in Windows Explorer and other Windows programs. Also in WinRAR it is possible to select files using Space or Ins keys. "Gray +" and "Gray -" keys on the numeric keypad allow the selection of groups of files using file masks.

Having selected one or more files, click the Extract To button at the top of the WinRAR window or press Alt+E , enter the destination folder in the dialog box and click on OK. This dialog box also offers a few advanced options (see Extraction path and options dialog for more information).

During the extraction process, a window will be displayed showing operation statistics. If you wish to break the extraction process, click on the Cancel button in the command window. You may press the "Background" button in this window to minimize WinRAR to the tray. If the extraction is completed without errors, WinRAR will return to the shell, in case of an error, a Diagnostic message window will be displayed.
 </p>
<p align="center" size="3"><B>How to extract Winrar </B> </p>
 <p>
 If you did not disable the "Integrate WinRAR into shell" option when installing WinRAR, it is possible to extract files directly in a Windows shell. Press the right mouse button on archive icon, select "Extract files…" command, enter the destination folder in the dialog box and click the "OK" button. This dialog box offers a few advanced options (see Extraction path and options dialog for more information).

You may also select the "Extract to <folder name>" command to extract to the proposed folder name without additional requests or "Extract Here" to extract to the current folder.

Note that if option "Cascaded context menus" in Integration settings dialog is switched on, you need to open "WinRAR" submenu to access to described above commands. Otherwise they reside in the top level menu.

Another method is to drag one or several archives using the right mouse button and drop them to the destination folder and then select "Extract Here" in the menu which will appear.

 </p>
 <p align="center" size="3"><B>Extract from comment line </B> </p>
 <p>
 Common command line syntax to extract files with full paths:

WinRAR X [ -switches ] <Archive> [ Files ] [ @File lists ] [ Destination folder\ ]

To extract files, ignoring paths:

WinRAR E [ -switches ] <Archive> [ Files ] [ @File lists ] [ Destination folder\ ]

For example if you wish extract the file LETTER.TXT to the current folder from the archive LETTERS.RAR, use the following command:

WinRAR X LETTERS.RAR LETTER.TXT

Archive extension is optional and may be omitted.

The next command extracts all *.WAV files from the archive Songs to the folder Audio:

WinRAR X Songs *.WAV Audio\

It is also possible to list the files to be extracted in a file, rather than listing them on the command line. In this case the name of the file, containing the list of files to be archived, must be given on the command line. This is indicated by placing the symbol @ before this file name. Thus, if you create a file, Binaries, containing the strings *.exe and *.com, execute the command:

WinRAR X TOOLS @Binaries

all files with EXE and COM extensions from the archive TOOLS will be extracted to the current folder.

During the extraction process, a window containing statistics, will be displayed. If you wish to break the extraction process, click on the Cancel button in the command window. You may press the "Background" button in this window to minimize WinRAR to the tray. If extraction is completed, without problems, WinRAR will terminate, in the case of an error, a Diagnostic message window will be displayed.

See Command-line interface for detailed commands and switches description.

 </p>
 <a id="kebawah"> </a>
 <a href ="#keatas">"keatas"</a>
 &nbsp; </td>
  <td width="134" bgcolor="#0066CC" >&nbsp;</td>
  </tr>

</table>
</body>
</html>


3. Script untuk form komentar
    berisikan form komentar



<html>
<head>
<title>tugas pemograman web</title>
</head>

<body>
<table width="100%" border="1" cellpadding="5">
    <tr>
    <td width="158" height="133" bgcolor="#0066CC">
 <ul type="circle">
 <li><a href="berita.html"><font size="-1" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><B>Berita</B></font></a><br>
 <li><a href="galery.html"><b><font color="#00FF00" size="-1" face="Verdana, Arial, Helvetica, sans-serif">Galery photo </font></b></a><br>
 <li><a href="komentar.html"><font size="-1" color="#00FF00" face="Verdana, Arial, Helvetica, sans-serif"><B>Komentar</B></font></a><br>
 </ul>    </td>
    <td width="586" ><table width="616" border="1">
      <table width="434" border="1">
    <tr>
      <td colspan="2"><div align="center">Komentar</div></td>
    </tr>
    <tr>
      <td width="92">Nama</td>
      <td width="326"><input name="FmNama" type="text" id="FmNama" size="30" maxlength="35" /></td>
    </tr>
 <tr>
      <td width="92">Email</td>
      <td width="400"><input name="FmNama" type="text" id="FmNama" size="30" maxlength="50" /></td>
    </tr>
    <tr>
      <td>Alamat</td>
      <td><label>
      <input name="Fmalamat" type="text" id="Fmalamat" value="" size="45" />
      </label></td>
    </tr>
  <tr>
      <td>Komentar</td>
      <td><label>
        <input name="Fmalamat2" type="text" id="Fmalamat2" value="" size="45" />
        <br />
      </label></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><label>
        <input type="submit" name="Submit" value="simpan" />
      </label></td>
    </tr>
  </table>
    </table></td>
    <td width="220" bgcolor="#0066CC">&nbsp;</td>
  </tr>

</table>
</body>
</html>


0 Komentar Terbaik

Post a Comment