From 6b2a180e5d55f296bf29af965c2e74d65f126df8 Mon Sep 17 00:00:00 2001 From: bgamer2023 Date: Thu, 31 Oct 2019 19:43:50 +0530 Subject: [PATCH] Table and Radio buttons added --- index.html | 29 ++++++++++++++++++++++++++++- style.css | 15 +++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 081ccd4..4b3339a 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ - + @@ -19,6 +19,33 @@

Main Heading

sub heading

Hello, World!

+ + + + + + + + + + + + + + + + + + + +
NameInfo
SteveApple
BillMicrosoft
Table footer
+
+ +
Radio Buttons
+
+ Apple
+ Microsoft
+
diff --git a/style.css b/style.css index 8b13789..7218417 100644 --- a/style.css +++ b/style.css @@ -1 +1,16 @@ +th{ + background-color: blueviolet; + color:white; + font-weight: bold; +} +table, th, tr, td, tfoot{ + border-collapse: collapse; + border:1px solid black; + +} +td, th{ + width:300px; + text-align: center; +} +tr:nth-child(even) {background-color: #f2f2f2;}