Web Programming SCV1223: Dr. MD Sah Bin HJ Salam En. Rosely Bin Kumoi
Web Programming SCV1223: Dr. MD Sah Bin HJ Salam En. Rosely Bin Kumoi
Image
<img src=image_file_name ... >
Link
<a href=reference object . . . > linked object </a>
reference object :
Part of text in the same document Other document Image / animation / audio / video Application logic (CGI script) Client script (JavaScript / VBScript)
linked object :
Text Image
Table
Begin table Begin row Column1, Column2, . . . End row ... End table
Table
Begin table = <table . . . > End table = </table> Begin row = <tr . . . > End row = </tr> Column = <td . . . > column content </td>
Table
Table with 2 rows & 3 columns for each row:
<table border cols=3 rows=2 width=100%> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> <tr> <td>4</td> <td>5</td> <td>6</td> </tr> </table>
STEP 1
First row -> two columns Second row -> one column
STEP 2
<table> <tr> <td>. . .</td> <td> . . . </td> </tr> <tr> <td> . . . </td></tr> </table>
Span two columns for the single column in the second row: STEP 3 - end
<table> <tr> <td>. . .</td> <td> . . . </td> </tr> <tr> <td colspan=2> . . . </td></tr> </table>
STEP 1
Column: Column:
is the first column in the first row is the second column in the first row is the second column in the second row STEP 2
Column:
<table> <tr> <td>. . .</td> <td>. . .</td> </tr> <tr> <td>. . .</td> </tr> </table>
Form
Begin form Form object components End form
Form
Begin form = <form . . . > Form object components =
Textfiled, Password, Hidden File Checkbox, Radio Button TextArea, List Box, Combo Box, Submit Button, Reset Button, Buttons
Form
<form method=? action=? > Form object components </form>
Password
<input type=password name=pswd size=15>
Check Box
<input type=checkbox name=C value=C checked>Chicken <input type=checkbox name=F value=F checked>Frog <input type=checkbox name=S value=S checked>Snail