Headline, lists and image tips


Previous columns have discussed how to change the size of text by using the FONT command. For example:

<FONT size="5"> Text here </FONT>

You can achieve the same result using 'heading' tags while also reducing the amount you need to type. There are six heading tags - <H1> to <H6> - the first being the largest. It is used as follows:

<H3> Text here </H3>

The text contained by the opening and closing heading tag will take on the size associated with the tag. Additionally, the browser will incorporate a paragraph space before and after your tagged text. Using heading tags is not only a lot quicker than the FONT command, but it is also easier to maintain uniformity because of the ease of recalling previous settings.

Lists allow you to replicate the familiar look of bullets and numbering as used in word processors. There are two types of lists in HTML: ordered and unordered. In ordered lists, the items are automatically preceded with a number; unordered lists replace the digit with a bullet point. An example of an ordered list and its coding is as follows:


So far you have learned:

   1. Formatting
   2. Images
   3. Links


So far you have learned:

<OL> tells the browser that an ordered list has begun, and that every list item is to be sequentially numbered. The browser automatically places a space equivalent to a <P> before the list begins. Additionally, the list is indented to the <BLOCKQUOTE> position, and a routine space is inserted between the number and the item.

<LI> indicates each separate List Item. These are individually closed off, as is the <OL> once the list is completed. If you replace the <OL> with a <UL>, indicating unordered list, then the numbers will be replaced with a bullet point •.


In previous columns we have looked at inserting images into your Web pages. We shall now expand upon that and discuss some trade secrets with regards to images and how to enhance them on your site.

Images on the Internet

If you want to work with a graphic that is already on the Internet, hover your mouse over the image and right-click your mouse. You will then see a menu that allows you to do several things, the most popular being to save the image onto your own computer with the "Save Picture As" option. By selecting this, you can place the image anywhere on your PC for future use. You must be careful to save only images that are legally available.

When right-clicking on an image, you can also access information about the image such as width, height, file size and type: simply choose the Properties option.

Image Properties

You can insert an image into your Web page with the following code (assuming the graphic is in the same folder as your HTML file):

<IMG src="picture.gif" alt="This is a picture">

There are additional properties you should always include: width and height. By attaching these attributes to your image, you can force the browser to change the graphic to specified dimensions. Although this can be handy, if you really want an image to be a different size you should instead recreate it in a graphics program; every time the browser remasters a graphic, it takes more time for the page to load.

Even if you want to insert the graphic with its default size, you need to specify in your coding what this is. Graphics are generally slower to load than text, therefore if you don't reserve this space for your image to occupy, you may find that your text and images overlap upon loading.

Supplementary properties that may be included are hspace and vspace. By using these, you can insert horizontal and vertical buffer space around your images. Lastly, you can also align your image by including the appropriate code. An example of how to apply these tags follows:

<IMG src="picture.gif" alt="Picture here" width="200" height="150" vspace="5" hspace="5" align="right">

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Heidi Woof

PC World
Show Comments



Victorinox Werks Professional Executive 17 Laptop Case

Learn more >



Back To Business Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Walid Mikhael

Brother QL-820NWB Professional Label Printer

It’s easy to set up, it’s compact and quiet when printing and to top if off, the print quality is excellent. This is hands down the best printer I’ve used for printing labels.

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?