summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html
diff options
context:
space:
mode:
Diffstat (limited to 'HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html')
-rw-r--r--HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html b/HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html
new file mode 100644
index 0000000..318d34c
--- /dev/null
+++ b/HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>CSS</title>
+ <meta charset="utf-8">
+ <style>
+.div1 {
+ width: 200px;
+ height: 200px;
+ background-color: #D1ECFF;
+ border: 3px dashed #000000;
+ padding: 5px;
+}
+ </style>
+ </head>
+ <body>
+ <div class="div1">
+ This is the first box.
+ </div>
+ <div class="div2">
+ This is the second box.
+ </div>
+
+ </body>
+</html>