图书馆管理表格制作方法
```html
table {
width: 100%;
bordercollapse: collapse;
}
th, td {
border: 1px solid dddddd;
textalign: left;
padding: 8px;
}
th {
backgroundcolor: f2f2f2;
}
tr:nthchild(even) {
backgroundcolor: f2f2f2;
}
Below is a sample table structure for managing books in a library:
Book ID | Title | Author | Genre | Publication Year | Availability |
---|---|---|---|---|---|
001 | Harry Potter and the Philosopher's Stone | J.K. Rowling | Fantasy | 1997 | Available |
002 | To Kill a Mockingbird | Harper Lee | Classics | 1960 | Available |
003 | The Great Gatsby | F. Scott Fitzgerald | Classics | 1925 | Unavailable |
004 | 1984 | George Orwell | Dystopian | 1949 | Available |
005 | The Catcher in the Rye | J.D. Salinger | Classics | 1951 | Available |