|
|
|
Basic HTML - Part 1
So now we have the basic structure of a webpage explained, what should you do now. Below are some of the basic codes that you can add to your webpage to improve the look and feel of it. Time to put your copy and paste skills to good use.
Adding Basic Text
Little Tip - move the mouse over a code of html - on the left column in the table above - and click the left mouse button three times. That shall highlight the whole piece of code. If it doesn't work first time move the mouse a little and try again. Practical Test 1 Copy the text below starting from <html> and ending with </html>
<html> Paste the text into Notepad. In Notepad click on "File" and "Save As" Name the document test and ensure you type .html after test - "test.html"
Now go to that html file and open it up. It may not be the best looking webpage ever created but it still a webpage. Alternatively you can use this free HTML editor. Ensure you click on HTML so that you can copy and paste HTML code into it then preview it.
Changing Font Colour
Little Tip - Note that it is color and not colour There are many other colours to choose from but as this is basic HTML I shall just use these three. Take a look at Advanced HTML for more choices.
Changing Font
Click here to see the common fonts used. Little Tip - HTML is not case sensitive which means you can write the tags in CAPITAL LETTERS if you prefer. You can mix it but that is not good practice and can become confusing.
Changing Font Size
Little Tip - For larger text than HTML allows use: <font style ="font-size:100pt" color=red>LARGE TEXT</font> LARGE TEXT
Joining Tags Together Now things get a little tricky but please bare in mind that you do not need to do this everytime you want to to edit or insert something on your webpage. Once you are more familiar with HTML you shall see that it is a lot easier to copy someone else's code than to make up your own everytime. Also, using a web editor such as FrontPage or Dreamweaver makes life a lot easier. In the font tag (<font>) it is possible to put three tags into one, the font style, size and color. For example
You can also include other tags around the font tag to enhance it. For example
Incidently, this is exactly what I mean about you not having to create you own code from scratch. You can copy the code I have written above and change the 3 key commands to whatever you want.
It is important that you close the tags in the same order as they were opened.
In the example above <b> was opened first so must be closed last <font> was the
last opened and first to be closed.
Practical Test 2 Lets go back to the webpage we created earlier. Open up the test.html document in Notepad - right click on the test.html file and then choose "Open With" then "Notepad". Now, if you are feeling confident, make some changes to the document using some of the HTML examples given above, If you are not feeling so confident copy and past the HTML below into the test.html document. No short cuts now. Make sure you understand the HTML code. Compare what you see in Notepad and what you see in your browser and make sure you understand what it is doing. You can replace my text with your own to give it a more personal feel.
<html>
|
|
LEGAL INFO: eBay® is a registered trademark of
eBay®, Inc. eBay®, Inc. is not associated with
OnlineAuctionHelp
in any way, nor is OnlineAuctionHelp |