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.
<h1>Something really cool</h1> <h2>Something really cool</h2> <h3>Something really cool</h3> <h4>Something really cool</h4> <h5>Something really cool</h5> <h6>Something really cool</h6>
A useful heading attribute is align. It's fairly self-explanatory...
<h2 align="left">Something really cool</h2> <h2 align="center">Something really cool</h2> <h2 align="right">Something really cool</h2>
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.
<body bgcolor="#000000" text="#ffff66" link="#00ff33" vlink="#00bb33" alink="#00ddff"> Something really cool </body>
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.
You could even make a rollercoaster!
Or a RAINBOW
(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.)
|So, you want to make a Web Page!|
|Lessons: Intro 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26|
|Index & Quick Reference Upload Your Pages Color Charts ColorPicker|
|HTML 4.0 Reference Barebones HTML Guide|