Thursday, November 18, 2010

HTML Lessons (Basics): 16-20

The LAST five sections!

(16) Frames...
* Frames are interesting...it's all about displaying more than one HTML document in the same browser window
* The frameset element holds two or more frame elements ... and each one holds a separate document ... the frameset element states only how many columns or rows in the frameset
* The *frame* tag defines the particular window in the frameset
* Here's how a frameset with two columns would look like (remember we have to replace the bracket with *)
*frameset cols="25%,75%"*
*frame src="frame_a.htm" /*
*frame src="frame_b.htm" /*
*/frameset*

The frameset can also be set in pixels, and if you set the percentage for the first column, you can just put an * for the second
* Frames with visible borders...if you don't want the user to be able to resize or drag it, add noresize="noresize" to the *frame* tag
* IMPORTANT! You can't use the *body**/body* tags with the *frameset**/frameset* tags
* *iframe* defines an inline sub window (frame)

(17) Colors...
* Colors are all a combo of RED, GREEN and BLUE values (RGB)
* The lowers light source is 0 (HEX: 00)...the highest is 255 (HEX: FF)
* HEX values are specified as 3 pairs of 2-digit numbers - oh, and they start with a # sign
* These combos create more than 16 million different colors (256 x 256 x 256)
* Gray colors are made when you write the same power for all three light sources (i.e. 13 13 13)

(18) Colornames...
* There are 147 color names (17 standard and 130 extra)
* The 17 standard colors, according to www.w3schools.com, are: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white and yellow.
I sure hope I don't need to know these by heart to execute HTML.

(19) Colorvalues...
* This chapter lists the 147 colors by name...again, hoping I don't need to memorize this list!

(20) THE Quick List...
This is a great "cheat sheet" that covers the main points of the 19 previous chapters!

No comments:

Post a Comment