Professional Documents
Culture Documents
Database Driven Web Programming SEM 1 SESSION 2020/2021
Database Driven Web Programming SEM 1 SESSION 2020/2021
Database Driven Web Programming SEM 1 SESSION 2020/2021
1
HTML
2
JC123 #7 & #9
HTML DSKP 4.2.2
A GOOD PRACTICE: Type < > then insert the text. Check the open and
close tags. They come in pairs. To teach, type first then explain.
3
JC123 #7 & #9
HTML DSKP 4.2.2
We save as index.html
OUTPUT
5
Tag Description
1 <h1> to <h6> Defines HTML headings
6
Tag Description Example
2 <br> new line <br> Ini adalah baris berikutnya.
<a> link <a href=“http://www.upsi.edu.my">UPSI</a>
3 comments <!– Ini contoh komen-->
<!-- -->
4 <img> link to an image <img src=“upsi_logo.jpg">
5
A GOOD PRACTICE:
Why we need to use comments?
Where should we save/keep our image file?
7
JC123 #12
HTML
Inserting an image
9
Tag Description Example
<table>
8 <table><tr Create a table with a
><td>..</t single row (<tr>) and a <tr> <td> UPSI</td> </tr>
d></tr></ single column (<td>) </table>
table>
<th> Table header <table>
<tr> <th>Nama Universiti</th> </tr>
<tr> <td> UPSI </td></tr>
<tr> <td> UKM </td></tr>
9 </table>
10
HTML FORM
Example :
12