Establishing a base
By default, a relative URL is based on the current document. You can change that by placing the base
element in the document header (head
) to state explicitly the base URL for all relative pathnames in the document.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.