Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <p>Here's a link to the <a target="myTab" href="https://www.quackit.com/">Quackit homepage</a>.</p> <p>Here's a link to the <a target="myTab" href="/html/tutorial/">HTML tutorial</a>. Notice that this link will open in the same window/tab as the previous link (because it shares the target name - <code>myTab</code>).</p> <hr> <p>Using a named target (such as <code>target="myTab"</code>) opens the link in the window or tab of that name (e.g. one that has previously been opened under that name). If a window or tab of that name doesn't exist, a new window/tab will be open.</p> <p>More info: HTML <a href="/html/tags/html_a_tag.cfm"><code>a</code></a> element.</p>