Skip to content

XHTML and CSS source code #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions XHTML and CSS/Tut-10_Resizing Images/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!doctype html>
<html>
<head>
</head>
<body>

<img src="madden1.jpg" height="150"/>

</body>
</html>
Binary file added XHTML and CSS/Tut-10_Resizing Images/madden1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions XHTML and CSS/Tut-11_Tables/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!doctype html>
<html>
<head>
</head>
<body>

<table border="1">
<tr>
<td>FISH</td>
<td>apples</td>
<td>tuna</td>
</tr>
<tr>
<td>tuba</td>
<td>ham chops</td>
<td>corn?</td>
</tr>
</table>

</body>
</html>
26 changes: 26 additions & 0 deletions XHTML and CSS/Tut-12_Table Headers and Movie Stars!/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!doctype html>
<html>
<head>
</head>
<body>

<table border="1">
<tr>
<th>Name</th>
<th>Movie</th>
<th>Who they love</th>
</tr>
<tr>
<td>Natalie Portman</td>
<td>Garden State</td>
<td>Bucky</td>
</tr>
<tr>
<td>Rachael McAdams</td>
<td>Mean Girls</td>
<td>Bucky</td>
</tr>
</table>

</body>
</html>
26 changes: 26 additions & 0 deletions XHTML and CSS/Tut-13_Colspan and Annoying People/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!doctype html>
<html>
<head>
</head>
<body>

<table border="1">
<tr>
<th colspan="2"><h3>Odd People</h3></th>
</tr>
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr>
<td>Cat People</td>
<td>17 cats is just too many</td>
</tr>
<tr>
<td>Loud People</td>
<td>Sure turn that muusic up, its only 3 am</td>
</tr>
</table>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!doctype html>
<html>
<head>
</head>
<body>

<table border="1" cellspacing="10"> <!-- Other options include: cellpadding, and width -->
<tr>
<th>Type</th>
<th>Reason</th>
</tr>
<tr>
<td>Cat People</td>
<td>17 cats is just too many</td>
</tr>
<tr>
<td>Loud People</td>
<td>Sure turn that muusic up, its only 3 am</td>
</tr>
</table>

</body>
</html>
22 changes: 22 additions & 0 deletions XHTML and CSS/Tut-15_Lists/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!doctype html>
<html>
<head>
</head>
<body>

<ul>
<li>New sunglasses</li>
<li>computer</li>
<li>paintgs for my walls</li>
<li>hot pockter</li>
</ul>

<ol>
<li>go to youtube</li>
<li>type in "thenewboston"</li>
<li>watch all the videos</li>
<li>eat a hot pocket</li>
</ol>

</body>
</html>
15 changes: 15 additions & 0 deletions XHTML and CSS/Tut-16_Intro to CSS/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<style type="text/css">
p {
color:blue;
font-family:arial;
}
</style>
</head>
<body>
this is normal text
<p>this is paragrpah text</p>
</body>
</html>
14 changes: 14 additions & 0 deletions XHTML and CSS/Tut-17_RGB Color and Line Spacing/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html>
<head>
<style type="text/css">
h1 {color:#330000;}
p {line-height:150%;}
</style>
</head>
<body>
<h1>Buckys Bacon Wagon</h1>
<p>Bets abcon on this side of the mississippi! Bets abcon on this side of the mississippi! Bets abcon on this side of the mississippi! Bets abcon on this side of the mississippi! </p>

</body>
</html>
17 changes: 17 additions & 0 deletions XHTML and CSS/Tut-18_font-weight and font-style/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html>
<head>
<style type="text/css">
ul {font-weight:bold;}
ol {font-style:italic;}
</style>
</head>
<body>
<ul>
<li>unordered list</li>
</ul>
<ol>
<li>ordered list</li>
</ol>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html>
<head>
<style type="text/css">
body {
background-color:blue;
color:white;
}
h3 {text-align:center;} <!-- Other Options: left, right, and justified -->
p {text-indent:25px;}
</style>
</head>
<body>
<h3>Bucky's Blog</h3>
<p>This is the best day ever. This is the best day ever. This is the best day ever. This is the best day ever. This is the best day ever. This is the best day ever. This is the best day ever. This is the best day ever.This is the best day ever.This is the best day ever. This is the best day ever. This is the best day ever.</p>
</body>
</html>
15 changes: 15 additions & 0 deletions XHTML and CSS/Tut-20_Background Images/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<style type="text/css">
body {
background-image:url(myface.png);
background-repeat:no-repeat;
background-position: 50% 60px;
}
</style>
</head>
<body>

</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions XHTML and CSS/Tut-21_Padding/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<style type="text/css">
h2 {background-color:yellow;
padding-top:30px;
padding-bottom:20px;}
</style>
</head>
<body>
<h2>I love bucky</h2>
</body>
</html>
20 changes: 20 additions & 0 deletions XHTML and CSS/Tut-22_Border/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!doctype html>
<html>
<head>
<style type="text/css">
h2 {background-color:yellow;
padding:15px;
border-color:red;
border-width:3px;
border-style:dashed;

border-top-color:green;
border-top-style:dotted;
border-top-width:4px;
}
</style>
</head>
<body>
<h2>I love bucky</h2>
</body>
</html>
13 changes: 13 additions & 0 deletions XHTML and CSS/Tut-23_Margin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<style type="text/css">
p {background-color:orange;
margin:40px;}
</style>
</head>
<body>
<p>This is a apragarhaphd</p>
<p>This is a apragarhaphd</p>
</body>
</html>
15 changes: 15 additions & 0 deletions XHTML and CSS/Tut-24_Width and Height/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<style type="text/css">
h4 {background-color:red;
color: white;
width:350px;
height:100px;
border:3px solid black;}
</style>
</head>
<body>
<h4>My anmes ofrest forest gump</h4>
</body>
</html>
19 changes: 19 additions & 0 deletions XHTML and CSS/Tut-25_Styling Links/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html>
<head>
<style type="text/css">
a:link{color:red;
text-decoration:none;}
a:visited{color:greed;}
a:hover{background-color:blue;
color:white;
text-decoration:underline;
font-weight:bold;}
a:active{background-color:orange;}
</style>
</head>
<body>
<a href="http://thenewboston.com">TheNewBoston</a>
this is just normal text
</body>
</html>
24 changes: 24 additions & 0 deletions XHTML and CSS/Tut-26_Styling Tables/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<style type="text/css">
table {border: 3px solid blue;}
tr {background-color:yellow;}
td {border: 2px dashed red;}
</style>
</head>
<body>
<table>
<tr>
<td>I love bucky</td>
<td>I love bucky</td>
<td>I love bucky</td>
</tr>
<tr>
<td>I love bucky</td>
<td>I love bucky</td>
<td>I love bucky</td>
</tr>
</table>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions XHTML and CSS/Tut-27_Styling Unordered Lists/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<style type="text/css">
ul {list-style-image:url(check.png);
border: 1px solid red}
</style>
</head>
<body>
<ul>
<li>apple</li>
<li>pie</li>
<li>dumplings</li>
</ul>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<style type="text/css">
span{font-weight:bold;
color:green;}
</style>
</head>
<body>
<p>this is my first para and <span>i love carrots</span> and apple pie</p>
</body>
</html>
16 changes: 16 additions & 0 deletions XHTML and CSS/Tut-29_div/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>

<html>
<head>
<style type="text/css">
div {border:2px solid red;
position:absolute;
width:300px;
top:40px;
left:35px;}
</style>
</head>
<body>
<div>my name is bucky</div>
</body>
</html>
Loading