Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

Linking to Specific Places Within Documents 107

6


In the last line (the See Also), linking the composer names to their respective sections
elsewhere in the reference would be useful. If you use the procedure you learned earlier
today, you can create a link here around the word Byrd to the page b.html. When your
readers select the link to b.html, the browser drops them at the top of the Bs. Those hap-
less readers then have to scroll down through all the composers whose names start with B
(and there are many of them: Bach, Beethoven, Brahms, Bruckner) to get to Byrd—a lot
of work for a system that claims to link information so that you can find what you want
quickly and easily.


What you want is to be able to link the word Byrd in m.html directly to the section for
Byrd in b.html. Here’s the relevant part of b.html you want to link. (I’ve deleted all the
Bs before Byrd to make the file shorter for this example. Pretend they’re still there.)


<!DOCTYPE html>



Classical Music: B


B



Byrd, William, 1543-1623



  • Madrigals

    • This Sweet and Merry Month of May

    • Though Amaryllis Dance

    • Lullabye, My Sweet Little Baby



  • Masses

    • Mass for Five Voices

    • Mass for Four Voices

    • Mass for Three Voices



  • Motets

    • Ave verum corpus a 4




See Also
Byrd, Gibbons, Lassus, Monteverdi, Morley, Weelkes, Wilbye





Free download pdf