Thursday, April 10, 2014

base href needs forward slash at the end

HTML document or iframe head section can  have this tag to specify a default URL and a default target for all links on a page:

<base href="URL" />
<base href="" target="_blank" />

href for relative paths
target for click link behavior

The URL needs forward slash (/) at the end, otherwise it will not work as expected.

No comments:

Post a Comment