diff options
Diffstat (limited to 'usth/ICT3.2/prac/1/task9.html')
-rw-r--r-- | usth/ICT3.2/prac/1/task9.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/usth/ICT3.2/prac/1/task9.html b/usth/ICT3.2/prac/1/task9.html new file mode 100644 index 0000000..22ec14f --- /dev/null +++ b/usth/ICT3.2/prac/1/task9.html @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html> +<style> +table, th, td { + border: 2px solid white; + border-collapse: collapse; +} +th, td { padding: 1em } +th { + font-weight: bold; + background-color: #1f497d; +} +tr { text-align: center } +tr:nth-child(odd) { background-color: #d0d8e8 } +tr:nth-child(even) { background-color: #e9edf4 } +</style> + +<body> + <table> + <thead> + <tr> + <th style='width: 21em'>Subject</th> + <th style='width: 12em'>ECTS</th> + </tr> + </thead> + <tbody> + <tr> + <td>Math</td> + <td>3</td> + </tr> + <tr> + <td>Physics</td> + <td>5</td> + </tr> + <tr> + <td>Chemistry</td> + <td>4</td> + </tr> + <tr> + <td>English</td> + <td>3</td> + </tr> + </tbody> +</body> +</html> |