Links "anchors"

< a href=" url " > Content to Click </a>

A website is basically a collection of webpages linked to each other. You create links, whether its to other pages in your website or to external webpages, with the anchor(a) tag. Inside the anchor tag you need to include the href attribute which simply sets the address for where you want the link to go to. Try entering different web addresses into the href attribute. The anchor tag also needs to surround some content for the user to click on. It could be text or it could be an image. For text the default color is that terrible blue color that you see on old websites. And the link is usually underlined as well. You can change that styling by change the text color of the link and remove the underline by setting text-decoration to none.

HTML

<a href=' '> Click Here </a>

CSS

a {

color:
;
text-decoration:
;


}

You can make just about anything into a link simply by "wrapping" it in an anchor tag. You can put an opening anchor tag <a href=" "> before a p, div, or img and then put a closing anchor tag </a> after it. There's another adjustment you can make to links if you want them to open in a new window.