Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 44 additions & 8 deletions lib.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@
<head>
<meta charset="utf-8">
<title>my personal library</title>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}

td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}

tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
Every html have open and closing tag.We use html for stucture of a web page.Every thing in a web page have only one html tag
Expand All @@ -23,14 +40,33 @@ <h2>HTML resources</h2><!-- this is a heading tag -->
<li><a href="https://devdocs.io/">devedocs</a></li>
</ul>
<!-- table element of html -->
<table>
<th>This my table head.</th>
<tr>

<td>table data </td>
<td>2nd table data.</td>
</tr>
</table>
<table style="width:100%">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>manu</td>
<td>roy</td>
<td>53</td>
</tr>
<tr>
<td>ram</td>
<td>kumar</td>
<td>25</td>
</tr>
<tr>
<td>ravi</td>
<td>sharma</td>
<td>21</td>
</tr>
<tr>
<td>sonu</td>
<td>sahu</td>
<td>34</td>
</tr>
</table>



Expand Down