HTML: Setting a target window

This entry is part 24 of 34 in the series HTML

By default, a hyperlink opens the referenced page in the same browser tab.

But in some cases you might want the hyperlink to open in a new tab for window.

<!DOCTYPE html>
<head lang='en'>
    <meta charset='UTF-8'>
    <title>Link paths</title>

<a href='' target='_blank'><h2>Ushuaia, South America (blank)</h2></a>

<a href=''><h2>Ushuaia, South America (default)</h2></a>


Series Navigation<< HTML: Relative and absolute paths
HTML: Hyperlinks to anchors >>