By default, the linked page will be displayed in the current browser window. To change this, you must specify another target for the link.
The
target
attribute specifies where to open the linked document.
The
target
attribute can have one of the following values:
_self
- Default. Opens the document in the same window/tab as it was clicked
_blank
- Opens the document in a new window or tab
_parent
- Opens the document in the parent frame
_top
- Opens the document in the full body of the window
Example:
HTML
<a href="https://horje.com" target="_blank">Visit Horje!</a>
Example of HTML Links | HTML Basic |
Definition of HTML Text Link | HTML Basic |
HTML Links - The target Attribute | HTML Basic |
Absolute URLs vs. Relative URLs | HTML Basic |
HTML Links - Use an Image as a Link | HTML Basic |
HTML Link to an Email Address | HTML Basic |
HTML Button as a Link | HTML Basic |
HTML Link Titles | HTML Basic |
HTML Absolute URLs | HTML Basic |
HTML Relative URLs | HTML Basic |
Chapter Summary of HTML Links | HTML Basic |
HTML Documents | HTML Basic |
HTML <!DOCTYPE> Declaration | HTML Basic |
HTML Headings | HTML Basic |
HTML Paragraphs | HTML Basic |
HTML Text Links | HTML Basic |
HTML Images | HTML Basic |
How to View HTML Source | HTML Basic |
Type
: |
html |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Basic |
Uploaded by
: |
Admin |