Section 43. Add Text and Links

43. Add Text and Links

BEFORE YOU BEGIN

6 About Proper HTML Coding

9 Add and Format Text

10 About Creating Hyperlinks


SEE ALSO

1 About HTML

2 Use HTML Tags

26 Create Links to Other Pages


Having set the background color for your page and knowing where you can edit and change the page attributes (such as the title and description), you are ready to add text to the page. At this point, the Composer program works more or less like a word processor.

Now that you have your page filled in with some content and know how to format and edit it, you need to know how to create a link on your page.

1.
Type Some Text on the Page

Click in the main work area of the Composer window and type some text. As you type, press the Enter key at the end of each line to begin a new line. Composer will wrap text like a word processor, but if you press the Return key, you are not creating a new paragraph in Composeryou are adding a line break.

You should get a few lines of text to work with. The lines of text should not have any vertical space between them.

43. Add Text and Links


2.
Delete Some Text

Select some of the text you just entered and then press the Backspace key or the Delete key. Composer works just like a word processor or text editor and deletes the text. If you select across different paragraphs and delete, Composer is going to take care of the beginning and end paragraph tags that it created for you when you entered the text.

3.
Highlight Some Text and Press the Link Button

The Link Properties dialog box comes up and you can either select a file on your machine from the Choose File dialog box or you can type in an address in the text area.

If you select a local file to which to link, you have to be sure to upload the file to the same location as the file on which you are working.

4.
Add a Link Destination

In the Link Location text area, type in http://www.mcmurrayhatchery.com, click OK, and then save the file.

Be sure to add the http:// part to the address. If you don't, the address won't work.

5.
Save Your Page

When Composer saves your page, it saves only the page markup and not whatever graphics you might have added to the page. Your best practice is to keep your pages and their elements in one folder. When you keep your images in the same folder as your page, it makes the paths to your images shorter and easier to debug. When you have more and more graphics and pages, you might want to change that organization, but for now everything in the same folder is a good idea.



Sams Teach Yourself Creating Web Pages All in One
Sams Teach Yourself Creating Web Pages All in One
ISBN: 0672326906
EAN: 2147483647
Year: 2006
Pages: 276

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net