|
|
|||
|
|
Part 2 - Adding some Content - Page 2© Tracy Ryan
for the first paragraph on your page. So if you wished to have two paragraphs of text on your page that were left aligned, your BODY would look like this: This is our first paragraph. This is our second paragraph The text on our page would appear as: This is our first paragraph. This is our second paragraph. This will leave a full line space between each sentence. To have no line space between sentences you would use the So we could have our body as: This is our first sentence. This is our second sentence. And our text would look appear as follows: This is our first sentence. We'll tackle some more advanced text formatting in the next article, including hyperlinks. For now let's move on to adding a picture to our page, just to make it more interesting to look at! The basic tag for adding a picture to your web page is as follows: So if you had a photo of yourself to add to your page, it might be called "myphoto.jpg" and your tag would look like: One thing to remember when adding pictures to your site is that you need to have the image in the same directory as your html file OR you need to specify where it is. Some people choose to create a sub-directory called IMAGES or something similar. If you do this, you must specify that in your image tag. Or if the image is stored on another website somewhere you must specify the full URL. Please note that it's bad net etiquette to link to images on another person's server without first gaining their permission, so if you see a picture you'd like to use on your site you should save it to your own space to use from there. You should also make sure the picture is available for use as many are copyrighted. Putting together everything we've learned in this lesson, you could have a basic page with your photo and some information about yourself. It might look something like the following...
The copyright of the article Part 2 - Adding some Content - Page 2 in Website Creation is owned by Tracy Ryan. Permission to republish Part 2 - Adding some Content - Page 2 in print or online must be granted by the author in writing.
For a complete listing of article comments, questions, and other discussions related to Tracy Ryan's Website Creation topic, please visit the Discussions page. |
||
|
|
|||