Some Links

On this page, all links that are local to the site (same domain) should open in the current tab, and all remote links should be marked with an icon and open in a new tab.

This is a paragraph that contains a relative link to the previous example. It should be treated like a local link, so no icon and open in this tab.

This paragraph contains an absolute link to the second example in this instalement (will only work if the sample files for this instalment are being served from http://localhost/pbs23/). Assuming you are serving this page from your local web server (localhost), it should also be rendered as a local link, i.e. no icon and open in this tab.

Both of the links in the list below should be marked as external, i.e. they should have an icon appended, and open in a new tab: