mirror of
https://github.com/atapas/html-tips-tricks.git
synced 2024-11-16 08:48:26 +01:00
54 lines
No EOL
1.5 KiB
HTML
54 lines
No EOL
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
|
<title>HTML Tips and Tricks - Details Tag</title>
|
|
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
|
<link href="https://fonts.googleapis.com/css2?family=Chilanka&display=swap" rel="stylesheet">
|
|
<link rel='stylesheet' type='text/css' media='screen' href='../main.css'>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="demo">
|
|
<h1>Details Tag</h1>
|
|
<details>
|
|
<summary>Click Here to get the user details</summary>
|
|
<table>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Name</th>
|
|
<th>Location</th>
|
|
<th>Job</th>
|
|
</tr>
|
|
<tr>
|
|
<td>1</td>
|
|
<td>Adam</td>
|
|
<td>Huston</td>
|
|
<td>UI/UX</td>
|
|
</tr>
|
|
<tr>
|
|
<td>2</td>
|
|
<td>Bob</td>
|
|
<td>London</td>
|
|
<td>Machine Learning</td>
|
|
</tr>
|
|
<tr>
|
|
<td>3</td>
|
|
<td>Jack</td>
|
|
<td>Australia</td>
|
|
<td>UI Designer</td>
|
|
</tr>
|
|
<tr>
|
|
<td>4</td>
|
|
<td>Tapas</td>
|
|
<td>India</td>
|
|
<td>Blogger</td>
|
|
</tr>
|
|
</table>
|
|
</details>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |