Complex tags
They really aren't that bad, they are just more then one thing happening at a time. The first one is the "anchor" tag
<a
notice that I didn't close the beginning tag. This is because the anchor tag ALWAYS precedes something.
a really good examples of what comes after the "<a" is a text link.
Text links
This is a link. This is VERY important to HTML.
<a href="http://google.com"> Google! </a>
- "a" is the anchor
- "href=" is saying it's going to be a link
- "http://google.com" is the address for Google
- after that you need text to click on, it helps to be descriptive
- then close the anchor tag with a </a>
when the browser sees it, it will auto turn it blue or whatever and make it look like a link.
**as a helpful note: when linking to pages outside of your site, put the whole web address in the quotes... http:// and all. When you are linking to a page on your site, just use the filename, like "something.html"
<a href="http://seanbaby.com">seanbaby. baby. </a> will take you out to seanbaby.com
<a href="index.html">my main page</a> will take you to the main page of your site.
a few other things can follow the anchor tag, but I never use them, and won’t get into them here.
Onto images in HTML