Welcome to my Website!

This is the syntax link text Visit W3Schools.com!

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 specified 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 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. Visit W3schools

A local link (a link to a page within the same website) is specified with a relative URL (without the "https://www" part):

Absolute URL

W3C

Google

Relative URLS

HTML Images

CSS Tutorial

IMAGE AS A LINK

To use an image as a link, just put the tag inside the tag HTML tutorial

LINK TO AN EMAIL ADDRESS Send email

BUTTON AS A LINK

LINK TITLES Visit our HTML Tutorial

Use a ful URL to link to a web page HTML tutorial Link to a page located in the html folder on the current web site HTML tutorial Link to a page located in the same folder as the current page: HTML tutorial By default, a link will appear like this (in all browsers): - An unvisited link is underlined and blue - A visited link is underlined and purple - An active link is underlined and red You can change the link state colors, by using CSS Below is an example: an unvisited link will be green with no underline, a visited link will be pink with no underline and an active link will be yellow and underlined. In addition, when mousing over a link (a:hover) it will become red and underlined. LINK BUTTONS Alink can also be styled as a button by using CSS CREATE A BOOKMARK IN HTML Bookmarks can be useful if a web page is very long To create a bookmark-first create the bookmark, then add a link to it. When the link is clicked the page will scroll down or up the location with the bookmark.

Chapter 4

Jump to chapter 4 You can also add a link to a bookmark on another page