Join Bill Weinman for an in-depth discussion in this video Using relative URLs, part of XHTML and HTML Essential Training.
In this lesson, we're going to talk about relative URLs and these are URLs that…don't have all of the different parts and are just relative to the current…location of the file that has the link in it.…In other words, you have a link like this, which does says here.html.…The browser will assume that file exists in the same location as this page here does.…And so this page exists on the web at this location.…And so we'll just take this last part of it, including the host name and the…path all the way up to the file name and I'll just assume that all that part is…the same and the only thing that changes is the file name there.…
So, let's take a look at this page in browser and you'll see this is loaded up…on my website at pw.org and at that path and this is hyperlinks.html.…And this link here is the link we're looking at it and it just has this…here.html in the link and so when I hover my mouse over the link, you'll see…the title bar at the bottom, shows the location of the page that it's going to…
- Understanding the structure of an HTML or XHTML document
- Creating and using templates
- Controlling white space and line breaks
- Making effective use of tables and frames
- Flowing text around an image
- Formatting tables with CSS
- Creating web pages that work properly across platforms and devices
- Reviewing a case study of a complete web site
Skill Level Beginner
1. Introducing XHTML and HTML
2. Text Tags
3. Image Tags
Using inline images3m 17s
4. Link Tags
9. Creating a Simple Web Page from Scratch
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.