Web Structure

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

<a href="PageC.html"> Click Here to go to Page C </a>

Don't forget the quote marks (""). HTML syntax requires the quote marks, although most browsers will not insist on them.

Web Structure

Now look at the picture again:

Answer the following questions by checking with the picture.

QuestionTrue or False
A hyperlink only goes in one direction (ie. from one page to another).
Two pages can link to each other using one hyperlink for each direction.
A page may link to many other pages.
A page must have only ONE hyperlink going to it.
If you keep following links from one page to another,
you may end up at the page you started with.
Every page always links to at least one other page.

QUESTION 7:

A cycle is a path made by following links that leads back to where you started (so it is possible to follow endlessly the same set of links.)

Can Web pages be linked into a cycle?