How would you code a FRAME statement
with 4 frames to make one frame
be leftmost for 33% of the width of the screen
another frame be rightmost for 33% of the
width - both running top to bottom.
The remaining 2 frames are 33% wide and
are in the middle stacked atop one another.
Then in the BODY of your HTML, code paragraph as follows:
<p class="RED">
Here is a sample paragraph that contains no
attributes in the <P> tag. Notice that
this paragraph is RED, NORMAL, and RIGHT-ALIGNED.
</p>
Under what circumstances would you have to code the
the font-weight attribute in the case above?
Hint: think cascading=inheritance.
If you had defined the <P> tag ahead
of the P.RED class to have bolded text.
When should you use the ending </P> tag?
If you had defined the <P> tag within
the STYLE tag to do special formatting
and you did not want that formatting to apply
to all text that followed your use of <P>.
How would you code an unordered list such that
if it contain an ordered list, the text of the
order list would be RED
as follows?
Outer list
Inner ordered list
Inner list cont'd
In the STYLE tag, code:
UL OL {color:RED}
How would you code the following list?
Topics to cover:
Bandana waving
Hold the bandana
Wave the bandana
Stomping of feet
Lift right foot
Force foot to ground quickly
Do same for left foot
Check source code!
How would you code the following table for thumbnail
images with a GREEN caption using the STYLE attribute?
Hyperlink each picture to display just the
picture in normal size.
If you copy my HTML from HOMEPAGE and paste it directly
into notepad on your PC and then run it, why can you not
see my pictures?
Hint: Think relative versus absolute.
Because I coded relative references to my pictures.
That is, I did not tell my HTML code that the pictures
reside in
http://guitarzan.homepage.com/pix/.
I simply used ../pix in the IMG tag.
What's the problem with the following HTML code and how should I fix it?
Number one
Subpoints.....
Number two
Subpoints.....
Number three
Subpoints.....
Number four
Subpoints.....
I left off a closing > symbol:
<li>Number three</li>
<ul>
Subpoints.....
</ul <<<see?
Why does the browser generate horizontal scrollbars for
the following 3 cell table even though I told the table
to take up only 60% of the screen and each cell is only
to consume 20%?
Because the data in the 3rd cell definition (TD)
one extends far enough that instead of chopping the
data off, the browser automatically gives you
the scroll bars.
How can you ensure that you always get horizontal scroll bars on
in an HTML document?
Use the <nobr>...</nobr> tags as I mentioned
here.
Put a visitor counter and/or guest book on your WWW site.
Hint: Visit www.beseen.com
Visit the BESEEN site and sign up for the free WWW site options
that you need. Then simply plug in the JAVA script that they
give you and the rest is automatic.