You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69-37Lines changed: 69 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,47 @@ On a computer. Here.
24
24
25
25
Because this stuff is important. Whether you're a business person formatting your emails, an aspiring web designer wanting to get your feet wet, or just someone who is interested and hasn't tried any sort of coding, scripting, or programming before, **HTML and CSS are an essential part** of your learning curve.
-[And now, the end is near](https://github.com/cassidoo/HTML-CSS-Tutorial)
67
+
27
68
##HTML Time. Let's Go.
28
69
29
70
###Editors
@@ -338,7 +379,7 @@ Let's mix it up a bit with different borders for you to check out. I'm just goi
338
379
339
380
Notice how I added `width` and `height` to a couple of them. We're getting incestuous with our stylings. Aww yeah.
340
381
341
-
####Text styles
382
+
####Text Styles
342
383
343
384
Besides having header tags and colors, there are other text styles that you can use. What if you want bold text, or italics? Different sizes? Once again, the `style` attribute comes to the rescue.
344
385
@@ -906,20 +947,20 @@ There is a way to fix this.
906
947
907
948
So, instead of adding space to margins and padding on all four sides, you can add them just to the top, bottom, left, and/or right. There's a few ways to do this:
908
949
909
-
*`margin: 5px 10px 15px 0px;`
910
-
- top margin is 5px
911
-
- right margin is 10px
912
-
- bottom margin is 15px
913
-
- left margin is 0px
914
-
*`margin: 15px 0px 5px;`
915
-
- top margin is 15px
916
-
- right and left margins are 0px
917
-
- bottom margin is 5px
918
-
*`margin: 5px 10px;`
919
-
- top and bottom margins are 5px
920
-
- right and left margins are 10px
921
-
*`margin: 15px;`
922
-
- all four margins are 15px
950
+
-`margin: 5px 10px 15px 0px;`
951
+
- top margin is 5px
952
+
- right margin is 10px
953
+
- bottom margin is 15px
954
+
- left margin is 0px
955
+
-`margin: 15px 0px 5px;`
956
+
- top margin is 15px
957
+
- right and left margins are 0px
958
+
- bottom margin is 5px
959
+
-`margin: 5px 10px;`
960
+
- top and bottom margins are 5px
961
+
- right and left margins are 10px
962
+
-`margin: 15px;`
963
+
- all four margins are 15px
923
964
924
965
The same goes for `padding`, you can also do `padding: 5px 10px 15px 0px;`, etc. for all of the properties above. We're going to make some changes to both the `.header` and the `.menu` here:
925
966
@@ -989,8 +1030,8 @@ The content would overlap on top of the header (because we just HAD to make our
989
1030
990
1031
So, let's add some `z-index` magic to our page! A couple things to note first:
991
1032
992
-
*`z-index` only works when you have already set the `position` of an element.
993
-
* You can assign any number you want to `z-index`, as long as it is an integer (no decimals), and as long as the highest number is the highest level, and the lowest number is the lowest level.
1033
+
-`z-index` only works when you have already set the `position` of an element.
1034
+
- You can assign any number you want to `z-index`, as long as it is an integer (no decimals), and as long as the highest number is the highest level, and the lowest number is the lowest level.
994
1035
995
1036
Okay, I'm going to add some `z-index` properties to the page, and I'm also going to add some text changes that you have seen before (`text-align`, `font-family`) and one that you haven't seen before (`font-size`... you get one guess to figure out what this does):
996
1037
@@ -1143,10 +1184,10 @@ CSS3 has a bunch of new features too. From new selectors to fancy text effects
1143
1184
1144
1185
If you want to read more about HTML5 and CSS3, check out some of the links below. If you feel like you've mastered the materials you learned here, you're probably ready to start diving in further!
#####How To Meet Ladies/Laddies (Get it? HTML Jokes are the best...)
1152
1193
@@ -1166,7 +1207,7 @@ With all that you've learned so far, make something! I want you to make a websi
1166
1207
1167
1208
You.
1168
1209
1169
-
Put a photo up of yourself, add a biography, talk about your skills and experiences, make it the online version of you.
1210
+
Put a photo up of yourself, add a biography, talk about your skills (be sure to include HTML and CSS among them) and experiences, make it the online version of you.
1170
1211
1171
1212
Use `<div>` tags and CSS to make a really awesome layout. Style everything in the text from `<h1>` to `<p>`.
1172
1213
@@ -1178,27 +1219,18 @@ The best way to learn is by doing. Do as much as you can until you think you ha
1178
1219
1179
1220
And if you need help you can always come back and visit. :)
1180
1221
1181
-
## And now, the end is near
1222
+
##And now, the end is near
1223
+
1224
+
Actually, now the end is here.
1182
1225
1183
-
Okay! You've learned pretty much all that I can teach you. Congratulations, really. I'm not even going to joke around here.
1226
+
You've learned pretty much all that I can teach you. Congratulations, really. I'm not even going to joke around here.
1184
1227
You've accomplished something that will help you for years to come!
1185
1228
1186
1229
Show off your website to your friends, and be proud of what you've done!
1187
1230
1188
-
And with that, I'm signing off. Thanks for reading, you beautiful specimen, you.
0 commit comments