Course
What is HTML?<hr> tag<nav> tag<pre> tagAnchor tagArticle tagAttributesAudio tagBlink tagBlock elementsBlockquoteBoldButtonsCenter textCommentData attributeDivEntitiesFont colorFont sizeFooterFormGlobal attributesiFrameImagesInline elementsInline style attributeInput elementItalicLabelLine breakLinking local webpagesLinksMarquee tagMetadataOrdered listsParagraph tagScript tagSelectSemantic elementsSpaceSpan tagStrikethroughStyle tagTableTextareaUnderlineUnordered listsVideo tag
Linking local webpages in HTML
We can access local webpages like trail.html
by adding /
before the file name, just like with local images.
css
<body>
<h5>History of the American Pioneers</h5>
<a href="/trail.html">Follow the <strong>trail</strong> by clicking
here!</a>
</body>
css
<body>
<a href="/index.html">Back</a>
<h3>Oregon Trail</h3>
<p>The Oregon Trail is a 2,170-mile historic East-West, large-wheeled wagon route and emigrant trail in the United States that connected the Missouri River to valleys in Oregon.</p>
</body>