Image,Table,List
Mon May 27 2024 21:01:39 GMT+0000 (Coordinated Universal Time)
Saved by
@AYWEB
#html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Images</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<img height="230" src="image.png" alt="Train image">
<br>
<table>
<caption>Employee Details</caption>
<thead>
<tr>
<th>Name</th>
<th>Designation</th>
<th>Fav Language</th>
</tr>
</thead>
<tbody>
<tr>
<td>Harry</td>
<td>Programmer</td>
<td>JavaScript</td>
</tr>
<tr>
<td colspan="2">Sam</td>//colspan means how many column a data will span
<td rowspan="2">Java</td>
</tr>
<tr>
<td colspan="2">Sam</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2">Sam</td>
<td rowspan="2">foot</td>
</tr>
</tfoot>
</table>
<ul type="square">
<li>Harry</li>
<li>Rohan</li>
<li>Shubham</li>
</ul>
<ol type="A">
<li>Harry</li>
<li>Rohan</li>
<li>Shubham</li>
</ol>
</body>
</html>
content_copyCOPY
<tr> table Row
<th> table heading
<td> table data
colspan means how many column a data will span
<ul> unordered list: the list wont be printed with numbers
<ol> ordered list: list will be numbered
default type =point
type = "square"
type = "A" for ABCD....
type = "I" for Roman numerals
Comments