include("http://".$_SERVER["SERVER_NAME"]." Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jsmcm/public_html/webtutor/lesson06.php:1) in http://www.softsmart.co.za/includes/PageTop.inc on line 2
Another occasionally useful tag worth mentioning are section headings. While they're a little old fashioned in today's very graphic web, they are still a handy little thing to have in your toolbox. They come in sizes 1-6.
One more thing and we'll wrap up this lesson. The browser has default settings for text color, link color, active link color and visited link color in addition to the background color. The defaults are...
Background is usually white Text is usually black Links are usually blue Visited links are usually purple Active links are often red
You can change these if you need to (notice I said need to). The whole world has gotten used to links being blue. Why confuse us?
FAQ:What is an "active link"?
A: Let's back up a bit and let me give you a complete answer...
A regular link (normally blue) is a link to a page or file that you have not visited yet.
A visited link (normally purple) is a link to a page or file that you have visited recently.
An active link (sometimes red, sometimes purple... depending on the browser) is the color of a link when it has focus, either by clicking on it or tabbing to it.
You can change these defaults for the entire document in the <body> tag.
Something really coolI know that we have not gotten into how to make links, so that information is not shown above (why muddy the water?) This is simply to show you how to make the color changes when you do learn how to make links.You can see that the background is now black and the text is now yellow. Links are now neon green Visited links are darker green And active links are sky blue
I've written a neat little HTML & JavaScript widget called Color Picker that makes it easy (and kind of fun) to experiment with different color settings. With it, you can not only pick colors, but you can choose different fonts and font sizes, switch to bold or italic, and even easily experiment with different background images. The <body> tag is automagically generated for you.
There! You now know just about everything that has to do with manipulating the text in your document. You can now make Big red letters or small bold letters. You can use other Fonts, or monospaced fonts.
(The markup for the roller coaster and the rainbow is here if you'd like to check it out.)
Before we wrap up this lesson, there's one little thing I want to bring to your attention. You can view the HTML code of any page you happen to be viewing by choosing View/Document Source in your browser. Your browser may word this a little differently, but nearly all browsers have this facility. So, as you surf along and you run into a really neat page and you find yourself thinking "How'd they do that?", the answer may be only a couple clicks away.
Tell you what... have some practice viewing source. View the source of this page and find the secret message. (It's the same secret message that Ralphie decoded in A Christmas Story.)