Thursday, June 6, 2013

Contoh Bahasa Pemrograman untuk Web dan Penggunaan database dan SQL

  1. Write the HTML code to produce the following web page. (see page 300 on text book)

  1. Write the XHTML code to produce the following page: (See page 301 on text book)

  1. Access a shareware site (e.g. www.tucows.com) or a commercial site and download a trial version of HTML editor. Design a simple page using HTML. What attribute of the product did you like and which one, in your opinion, could be improved? What online help was available in the product? What version of the product did you try and when was it released in the market?
Jawaban
1. Write the HTML code to produce the following web page. (see page 300 on text book)
Jawaban :
<html>
<body>
<table border=”1”>
<tr>
<th colspan=”3” align=”center”>Sample table</th>
</tr>
<tr>
<th>book title</th>
<th>book price</th>
<th>rating</th>
</tr>
<tr>
<td>principles of economics</td>
<td>$49.95</td>
<td>***</td>
</tr>
<tr>
<td>Programming java</td>
<td>$60.95</td>
<td>****</td>
</tr>
</table>
</body>
</html>
2 Write the XHTML code to produce the following page: (See page 301 on text book)
Jawaban:
Source Code:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN”
“http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;
<html xmlns=”http://www.w3.org/1999/xhtml&#8221; xml:lang=”en”>
<head>
<title></title>
</head>
<body>
Enter Name <textarea name=”Name” rows=”3&#8243;></textarea> <br />
Enter Grade <textarea name=”Grade” rows=”3&#8243;></textarea> <br /> <br />
<input type=”submit” name=”Submit” value=”Submit query” /> &nbsp;
<input type=”reset” name=”Reset” value=”Reset” />
</body>
</html>

3. Access a shareware site (e.g. www.tucows.com) or a commercial site and download a trial version of HTML editor. Design a simple page using HTML. What attribute of the product did you like and which one, in your opinion, could be improved? What online help was available in the product? What version of the product did you try and when was it released in the market?
Jawaban :
File design page (terlampir)
Page tersebut di buat dengan menggunakan macromedia dreamweaver cs3 trial edition (30 days).
Attribute yang saya suka dari tools ini yaitu kemampuannya dalam mengintegrasikan semua file yang berhubungan dengan web development. Baik itu asp sampai php, sehingga memudahkan bagi web developer dalam membangun sebuah situs atau system berbasis web. Sama seperti tools lainnya macromedia dreamweaver cs3 juga menyediakan online help yang membantu developer web ketika mengalami kesulitan. Versi yang saya gunakan yaitu cs3 . macromedia dreamweaver cs3 release pada bulan april 2007.


No comments:

Post a Comment

Kebahagiaan sejati bukanlah pada saat kita berhasil meraih apa yg kita perjuangkan, melainkan bagaimana kesuksesan kita itu memberi arti atau membahagiakan orang lain.