In the Introduction to HTML exercise we learned what the main components are that make up a website. We will now take that same code and expand on it even more by adding website links.
To create a link:
If you take a look at the code above notice how the URL you want to link to (in this example http://howtoawebsite.com) is in quotes. You need to be inside the quotes in order to make the link work.
Here is another example:
Let's put it all together:
<html>
<head>
<title>Make up a title here</title>
</head>
<body>
This is my first test
<a href="http://howtoawebsite.com">How To a Website</a>
</body>
</html>
When you create your website remember to keep everything clean. Start by creating a "new folder" on your desktop. Give it a name. In that folder you will have sub folders such as Images, etc. The images folder will contain images that will be used in your website.
(screenshot on the left).
Still having trouble? Download the exercise files here and follow along.
SBI (Site Build It) | Build Quality Sites With Simple Tools
Godaddy | Buy a Domain Name
My Top 3 Website Hosting Companies
Host Gator | Affordable Website Hosting
Blue Host | Website Hosting
Fat Cow | Eco Friendly Hosting