Minggu, 09 Oktober 2011

pert 3

HTML lanjutan

1.list:
-ordered list <ol> = "1","A","a","I"
-unordered list <ul>= "disc","circle","square"
definition list <dl></dl>=

contoh
ordered list
1. nama
2. no
3.alamat

unordered list
*nama
*no

definition list

makanan
 -nasi goreng

2.table <table border = "2" cellspacing untuk jarak dalam keluar , cellpadding dari jarak tulisan ke kolom.>
3.frameset
<frameset cols="30%","70%"
<frame>
<frame src="list.html" bordercolor="blue">
<frame>
</frameset>
4.meta --> open source

table
tag:
-caption : text directly,above the table
-thead:header info
-tbody:table content
-tfoot:table footer
-tr:row element
-td: data cell for content
-th:data cell for column headings
-colgroup:used for group and format columns
-col:format columns

<table border= "1" cellspacing= "0", cellpadding = "2">
<thead>
<tr><th>column1 </th> <th column 2</th><th column 3</th></tr>
</thead>
<tbody>
<tr><td rowspan = "2" > data cel 1</td>
<td colspan ="2" align = "center"> data cel 2 </td>
</tr>
<tr> <td> data cel 2</td><td>data cel 3</td></tr>
</tbody>
</table>

tag form,elements:
-attribute = method (post, get) ,action
-input
*type = hidden text, password, submit,reset,button,checkbox,radio,email
*name= identification,group in checkbox&radio
*value
*size :width of text input
*max length = maximum number of characters
*checked = in checkbox &radio
-textarea
-select