HTML bumpf: part II |
a bit more COLOR
Before we go on to "more COLOR", you'll notice that HTML Part I
is available above (just in case you forget something). Just move
the dividing line to get more (or less) of it.
and finally there's
Okay, using the digits 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F to specify increasing amounts of, say, RED, we have:
and finally there's
where FF is the mostest RED you can get (and 00 is the leastest ... meaning no red at all!). To get WHITE, you specify as much RED, GREEN and BLUE as you can get: To get BLACK, you specify no RED or GREEN or BLUE: To get YELLOW, you specify RED and GREEN (in equal proportion) but no BLUE:
(I could have used #FFFF00 but I thought I'd give you a taste of
a less intense YELLOW. To get MAGENTA, you specify RED and BLUE (in equal proportion)
but no GREEN: and there's
Here's a range of BackGround Colours (BGCOLOR) in a TABLE (with BORDER="0"):
Of course, each browser (and monitor!) may present these colours differently. Pale YELLOW may appear BROWN or perhaps OLIVE GREEN! Anyway, it's been a colourful lesson ... but we've had enuff of colours. |
a WEB PAGENow we consider setting up a web page (as opposed to the Bits & Pieces that go into that page, like IMAGES and HotLinks etc. etc.):
You start with: In between <HTML> and </HTML> goes your Bits & Pieces ... but the first thing after <HTML> is your TITLE: <HEAD><TITLE> Your TITLE goes Here </TITLE></HEAD> (For example, the TITLE for this HTML Tutorial is: HTML Stuff ) So it now looks like:
Now you may want to provide a Heading to be displayed at the top of your Web Page and, altho' you could use <FONT SIZE="+2"> to get big letters, HTML provides some standard Headings called <H1> (ending with </H1>) and H2 (ending with </H2>) etc. etc.
You get the picture.
You may also want a classy background color, say "cyan" (is that classy?)
and maybe "black" text and maybe you want "links" in "blue" with "visited links"
in, say, "green" and when you click, the link flashes "white"
(like this ... try it!)
... so you add:
We now have:
|
calling Names ...At any point in your HTML document (that's one with the .htm ending) you may place an invisible NAME (or "magic marker"), using |
Frames
If you have TWO HTML files (each having the above
<HTML> and </HTML> format) you can display them both ... using
FRAMES.
Now type up a simple HTML file called, say, Pietro_Home.htm
which looks like:
It's this simple HTML file that becomes your Home Page (and visitors to your site can choose to gaze admiringly at either of your two HTML files, First.htm or Second.htm 'cause they're separated only by a skinny line (as y'all kin see in this Tutorial, where the skinny line separates my HTML Tutorial files: Part I and Part II).
Oh ... that funny HTML tag <FRAMESET ROWS="100,*"> just means that the browser should allocate 100 rows of pixels to First.htm and the rest of the rows to Second.htm ... but, of course, the visitor to your site will change that anyway by dragging the skinny line.
One last thing: Mamma mia! Keeps y'all busy jest thinkin' up names! |
continue ... to Part III |