aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/lec
diff options
context:
space:
mode:
Diffstat (limited to 'csci4131/lec')
-rw-r--r--csci4131/lec/Lec4Ex1.html4
-rw-r--r--csci4131/lec/Lec5Ex1.html23
-rw-r--r--csci4131/lec/mystyle8.css41
3 files changed, 66 insertions, 2 deletions
diff --git a/csci4131/lec/Lec4Ex1.html b/csci4131/lec/Lec4Ex1.html
index dce9a34..9433abd 100644
--- a/csci4131/lec/Lec4Ex1.html
+++ b/csci4131/lec/Lec4Ex1.html
@@ -12,10 +12,10 @@
<input name="name" type="text" size="25" maxlength="30"><br><br>
</label>
<label>Email:
- <input name="email" Type="email" size="25" maxlength="30"> (name@test.dom)</input><br><br>
+ <input name="email" Type="email" size="25" maxlength="30"> (name@test.dom)<br><br>
</label>
<label> URL
- <input name="URL" Type="url" size="25" maxlength="30">(/https?/g://web.site)</input><br>
+ <input name="URL" Type="url" size="25" maxlength="30">(/https?/g://web.site)<br>
</label>
diff --git a/csci4131/lec/Lec5Ex1.html b/csci4131/lec/Lec5Ex1.html
new file mode 100644
index 0000000..18f98ec
--- /dev/null
+++ b/csci4131/lec/Lec5Ex1.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+
+
+<!-- External style sheets. -->
+<html>
+ <head>
+ <meta charset = "utf-8">
+ <title>Box Model Example</title>
+
+ <!-- this begins the style sheet section -->
+ <link rel="stylesheet" type="text/css" href="mystyle8.css">
+
+ </head>
+ <body>
+ <section>
+ <h1>The University of Minnesota</h1>
+ <p>Educating the Leaders of Tomorrow for over 100 years.
+ There is always something happening at the U!</p>
+ </section>
+
+ </body>
+</html>
+
diff --git a/csci4131/lec/mystyle8.css b/csci4131/lec/mystyle8.css
new file mode 100644
index 0000000..5b2546d
--- /dev/null
+++ b/csci4131/lec/mystyle8.css
@@ -0,0 +1,41 @@
+ /* A CSS Style file for formatting "the box" around some block elements */
+
+
+body {
+ border: .1875em dotted black;
+ margin: .625em;
+ max-width: 90%;
+ }
+
+section{
+ border: .125em solid black;
+ max-width: 80%;
+ margin: 1.25em; /* all four sides */
+ padding: .625em; /* all four sides */
+ }
+h1,p {
+ border: .0625em dashed black;
+ padding: .625em;
+ max-width: 80%;
+ }
+h1{
+ margin: .5em 0 .25em; /* .5em top,0 right and left, .25em bottom */
+ padding-left: .9375em;
+}
+p{
+ margin: 0; /* all four sides */
+ padding-left: .9375em;
+}
+div {
+border: .1875em dotted black;
+color: red;
+margin: .625em;
+}
+
+
+
+
+
+
+
+ \ No newline at end of file