PDA

View Full Version : A question about Writing HTML


bushlady
February 7th, 2007, 03:27 AM
I am trying to write the following HTML Notepad. The picture that I want at the bottom is not showing up. Any help please.....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Recipes</title>
</head>
<body BGCOLOR="00FF00">
<head>
<center><h1>Egg Nog<h1></center>
</head>
</body>
</html>
<html>
<body><pre>
<table>
<tr>
<td>6 beaten</td>
<td>egg yolks</td>
</tr>
<tr>
<td>2 cups</td>
<td>Milk</td>
</tr>
<tr>
<td>1/3 cup</td>
<td>sugar</td>
</tr>
<tr>
<td>1 to 3 tablespoons</td>
<td>light rum</td>
</tr>
<tr><td>1 to 3 tablespoons</td><td>bourbon</td></tr>
<tr><td>1 teaspoon</td><td>vanilla</td></tr>
<tr><td>1 cup</td><td>whipping cream</td></tr>
<tr><td>2 tablespoons</td><td>sugar</td></tr>
<tr><td>ground nutmeg</td></tr>
</table>
<table>
<table></table>

<tr><td>1. In a large heave saucepan mix the egg yolk, milk,
and the 1/3 cup sugar. Cook and stir overmedium heat until
mixture coats a metal spoon. Remove for heat. Place the
pan in a sink or bowl of ice water and stir for 2 minutes.
Stir in rum, bourbon, and vanilla. Cover and chill for at
least 4 or up to 24 hours.</td></tr>
<p>
<tr><td>2. Just before serving, in a medium bowl beat the
cream and the 2 tablespoons sugar untilsoft peaks form
Transfer chilled egg mixture to a punch bowl. Fold in the
whipped cream mixture. Serve at once. Sprinkle each serving
with nutmeg. Makes 10 (4ounce) servings.</td></tr></table
</p>
<p><img src="Eggnog.jpeg"></p>
</pre></body>
</html>

Buzz
February 7th, 2007, 04:26 AM
is the file "Eggnog.jpeg" located right next to the html file? In the same directory?

Murf
February 7th, 2007, 04:27 AM
<p><img src="Eggnog.jpeg"></p>
Thats the JPEG you want to show, but where are you getting it from, need a path to the source???

bushlady
February 7th, 2007, 02:19 PM
I had the "Eggnog.jpeg" in "my Pictures". I put a copy of it in a file in "C-Drive", "Program Files", "Chami", "HTML-Kit" And tried to use it from there. I don't know why it isn't working?

Buzz
February 7th, 2007, 02:39 PM
Are you putting this web page on the web somewhere?

bushlady
February 7th, 2007, 02:41 PM
Are you putting this web page on the web somewhere?

No I am just trying it out to see what I can do.

Buzz
February 7th, 2007, 03:21 PM
Based on your code. you must have the web page and the image in the exact same directory.

bushlady
February 7th, 2007, 06:05 PM
This is what I put
<p><img src="C:\Documents and Settings\Owner\My Documents\My Pictures\Eggnog.jpg</p>

The picture is on the page now:D