A Pinch of this...
A Pinch of that...
Anchor Tags.
Anchor tags are used to link to a specific place in a page, rather than just the page itself.
<a href="cool.html#kimberly"></a>
This code tells the computer to make a link to a specific spot named, kimberly
in a page called cool.html
<name="kimberly"></a>
Wherever in the document called, cool.html you put this code , is where people will be taken to
when they click on the previous link we just made.
I'm simply informing the computer that this particular point in my cool.html document is called, kimberly.
Now, the previous link we made will know exactly where to take people to.
|
The 3 links next to the computer picture at the top of this page, are all examples of links leading to anchor tags.
Click on any one of them to get transported to a different spot on this same page.
|
|
Preformat <pre></pre>
Text between the preformat tags <pre></pre> appears on your html document
exactly the way you typed it, including carriage returns and spaces.
Look at preformat in action: