Suite101

Part 2 - Adding some Content - Page 2


© Tracy Ryan
Page 2


or


or


Left alignment is the browser default, so you can leave that tag out if you wish to have left aligned text, or you can include it if you feel it is more "complete" to do so. There is also no need to use the

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
tag. As a side note, this is one tag in HTML that does not need a closing partner. ie, there is no
tag.

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.
This is our second 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...

Go To Page: 1 2 3


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.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo


Here's the follow-up discussion on this article: View all related messages

1.   Dec 17, 2001 5:34 PM
Though haven't read in entirety....looks good; it seems that I am going to be adding content alright....to my brain!

-- posted by beekay





For a complete listing of article comments, questions, and other discussions related to Tracy Ryan's Website Creation topic, please visit the Discussions page.