Writing HTML code, need some advice?

I am constructing a website from scratch, using html code which I am writing in Microsoft Notepad.
I am very much a novice in this area, and I'm trying to keep things as simple as possible.

One thing that would help me is being able to separate elements of code into blocks with line breaks in between, without creating space on the web-page.
For example, I have several separate images each associated with a different hyperlink. I want then to span across the web page with absolutely no space in between them, but I would like to separate the blocks of code for each separate hyperlink/image when working with them in Notepad so I can more easily read and edit the code.

In the example of code I have included below, when editing in Notepad, I hit enter between the two blocks of code to separate them. But when I do that, there is tiny space between the images on the web page. I want to separate the blocks as they are displayed in Notepad without having the space on the web page. How do I do that?

Please remember that I am a self-taught novice in writing html code. I appreciate constructive, helpful answers. If you can provide a helpful answer, I will greatly appreciate it. But if you just want to make yourself feel better by telling me how little I know compared to you, please just skip it.

Thank you!

Example:
<align="center">
<center>
<a href="http://www.hyperlink1.com><img src="http://www.imagesource.com" width="187" height="55" border="0" alt="hyperlink image one"></a>

<a href="http://www.hyperlink2.com><img src="http://www.imagesource.com" width="187" height="55" border="0" alt="hyperlink image two"></a>
Thanks for your help Granddad.......but when I do add space in the Notepad document, little spaces show up between the two images in my browser. I can tell because I can see the background color showing between the images.
Could it have anything to do with the fact that, at this point, my hyperlink references and image sources are all "local" on my computer and not referencing sites on the web? (
Once I am finished constructing the page, I will replace them with the appropriate hyperlinks and sources from the web-server. If that makes sense.)
 
Back
Top