HTML Links
HTML Links
HTML links are called hyperlinks.
The HTML <a> tag defines a hyperlink.
The href attribute specifies the address of the link.
The target attribute specifies to the browser where to open the linked page.
The HTML target attribute can have the following values:
_blank – Opens the linked page in a new window.
_self – Opens the linked page in the same window.
_parent – Opens the linked page in the parent frame.
_top – Opens the linked page in the current window.
HTML Links
<!DOCTYPE html> <html> <head>HTML Links </head> <body> </body> </html>
Result: