GeezerVison is showing github.com — Added XHTML and CSS tutorial source code files 19-28 · ToJen/Source-Code-from-Tutorials@98325d7
File tree
Expand file treeCollapse file tree
Open diff view settings
Tut-19_text-align and Changing Background Color Tut-27_Styling Unordered Lists Tut-28_Style more than one elements and span
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +17Lines changed: 17 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + body { |
| 6 | + background-color:blue; |
| 7 | + color:white; |
| 8 | + } |
| 9 | + h3 {text-align:center;} <!-- Other Options: left, right, and justified --> |
| 10 | + p {text-indent:25px;} |
| 11 | + </style> |
| 12 | +</head> |
| 13 | +<body> |
| 14 | + <h3>Bucky's Blog</h3> |
| 15 | + <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> |
| 16 | +</body> |
| 17 | +</html> |
Collapse file
Copy file name to clipboard +15Lines changed: 15 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + body { |
| 6 | + background-image:url(myface.png); |
| 7 | + background-repeat:no-repeat; |
| 8 | + background-position: 50% 60px; |
| 9 | + } |
| 10 | + </style> |
| 11 | +</head> |
| 12 | +<body> |
| 13 | + |
| 14 | +</body> |
| 15 | +</html> |
Collapse file
Copy file name to clipboard 111 KB
- Display the source diff
- Display the rich diff
Collapse file
Copy file name to clipboard +13Lines changed: 13 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + h2 {background-color:yellow; |
| 6 | + padding-top:30px; |
| 7 | + padding-bottom:20px;} |
| 8 | + </style> |
| 9 | +</head> |
| 10 | +<body> |
| 11 | +<h2>I love bucky</h2> |
| 12 | +</body> |
| 13 | +</html> |
Collapse file
Copy file name to clipboard +20Lines changed: 20 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + h2 {background-color:yellow; |
| 6 | + padding:15px; |
| 7 | + border-color:red; |
| 8 | + border-width:3px; |
| 9 | + border-style:dashed; |
| 10 | + |
| 11 | + border-top-color:green; |
| 12 | + border-top-style:dotted; |
| 13 | + border-top-width:4px; |
| 14 | + } |
| 15 | + </style> |
| 16 | +</head> |
| 17 | +<body> |
| 18 | +<h2>I love bucky</h2> |
| 19 | +</body> |
| 20 | +</html> |
Collapse file
Copy file name to clipboard +13Lines changed: 13 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + p {background-color:orange; |
| 6 | + margin:40px;} |
| 7 | + </style> |
| 8 | +</head> |
| 9 | +<body> |
| 10 | +<p>This is a apragarhaphd</p> |
| 11 | +<p>This is a apragarhaphd</p> |
| 12 | +</body> |
| 13 | +</html> |
Collapse file
Copy file name to clipboard +15Lines changed: 15 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + h4 {background-color:red; |
| 6 | + color: white; |
| 7 | + width:350px; |
| 8 | + height:100px; |
| 9 | + border:3px solid black;} |
| 10 | + </style> |
| 11 | +</head> |
| 12 | +<body> |
| 13 | +<h4>My anmes ofrest forest gump</h4> |
| 14 | +</body> |
| 15 | +</html> |
Collapse file
Copy file name to clipboard +19Lines changed: 19 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + a:link{color:red; |
| 6 | + text-decoration:none;} |
| 7 | + a:visited{color:greed;} |
| 8 | + a:hover{background-color:blue; |
| 9 | + color:white; |
| 10 | + text-decoration:underline; |
| 11 | + font-weight:bold;} |
| 12 | + a:active{background-color:orange;} |
| 13 | + </style> |
| 14 | +</head> |
| 15 | +<body> |
| 16 | +<a href="http://thenewboston.com">TheNewBoston</a> |
| 17 | +this is just normal text |
| 18 | +</body> |
| 19 | +</html> |
Collapse file
Copy file name to clipboard +24Lines changed: 24 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <style type="text/css"> |
| 5 | + table {border: 3px solid blue;} |
| 6 | + tr {background-color:yellow;} |
| 7 | + td {border: 2px dashed red;} |
| 8 | + </style> |
| 9 | +</head> |
| 10 | +<body> |
| 11 | +<table> |
| 12 | + <tr> |
| 13 | + <td>I love bucky</td> |
| 14 | + <td>I love bucky</td> |
| 15 | + <td>I love bucky</td> |
| 16 | + </tr> |
| 17 | + <tr> |
| 18 | + <td>I love bucky</td> |
| 19 | + <td>I love bucky</td> |
| 20 | + <td>I love bucky</td> |
| 21 | + </tr> |
| 22 | +</table> |
| 23 | +</body> |
| 24 | +</html> |
Collapse file
Copy file name to clipboard 8.09 KB
- Display the source diff
- Display the rich diff