Home > Affiliate Marketing > Building a basic web page

Building a basic web page

January 12th, 2009

Building basic not as think. lesson a with header, some text, image link. We’ll show to using web tools, so decide is you. …

In lesson I’m to how a webpage title, header, a an image. that’s all… we’re create page using web softwares! The this to you, firstly, it to webpages. it’s to a three environments, can one for you.

Here’s page we’re to create:

(IMAGE)

Dreamweaver (note: This created MX (2004))

Once you’ve fired Dreamweaver, we create document.

File > New > "basic page" "HTML" > "Create "

The thing with the in top-left of page, called "Code", "Split", and "Design". are different views: is HTML, Design WYSIWYG editor, Split and half.

For this want click "Design". don’t look code things yet.

Our first to page title. This doesn’t appear page – it the of window. This very of for optimization, we’ll cover lessons.

In bar top page, the "Code, split, design" buttons, you’ll see with "Title" beside it. the says "Untitled ". and page title: Since is be pie page, I’m write "Apple recipe" there.

The next to page title the actually see!

  1. Click the part screen
  2. Type "Apple pie recipe" (or whatever fancy)
  3. Select text you’ve written
  4. Down the "properties" at of screen, locate list "format" next it. Select "Heading 1" from list.

Don’t this big ugly. That’s default style, we it a CSS wizardry.

Add some to page, just "return" something. size back size. doesn’t, text you’ve written "paragraph" dropdown "format" box, just did the heading.

We’re to page that preview your you it.

  1. File > As
  2. Navigate your your (just so find later)
  3. Create folder site (right-click select > Folder). I’m to "testsite-dreamweaver".
  4. Double-click new get it, and page "index.htm" or "index.html"
  5. Minimize Dreamweaver that the you’ve just created. Double-click the open your browser.
  6. You should page pretty familiar!

The reason we’ve the early we’re insert image. Since write of file document, to the and file relation other. can’t know you haven’t your yet!

So now insert image.

  1. Copy or image it’s "testsite-dreamweaver" folder. is important.
  2. Go Insert >
  3. You your appear big the that opens. your image.
  4. Make sure at where "Relative to:" set "Document ".
  5. Click "Ok"

The image (or you’ve chosen!) now your window. Congratulations! You’ve an image.

The last we’re going is link page.

  1. Click your page. your still the image, hit "return" your move to line.
  2. Type some text. about you’d make link.
  3. Select words mouse.
  4. Go >
  5. You should text you’ve appear "text" the that up.
  6. Enter "http://www.affilorama.com" (minus the quotes) the "link" box. When you’re to (ie, in site) it’s to "http://" the address.
  7. Click "Ok"

Save page (ctrl-s).

Now click "refresh" button browser (or as kids do, go ctrl-f5) page complete! a masterpiece, everyone start somewhere!

Create the tag:
  1. Go Format > title
  2. Enter into "title" box
  3. Click "Ok"

You your the tab.

Enter your heading
  1. Type heading the
  2. Select the
  3. Using the drop-down at top-left of (under "New" icon) "heading 1"
Enter body text

Press "return" after heading, and regular text. in Dreamweaver, doesn’t this "paragraph" tags, we highlight we’ve and "Paragraph" from drop-down used our heading.

Save file

Again, for to we have file first. I’m going a the "testsite-dreamweaver" and "testsite-nvu". I’ll delete "index.html" file that’s there, we’re creating one now!

Return and > As. Choose "testsite-nvu" folder your "index". Nvu to as ".xhtml" file, can issues webservers, delete "x" from save a ".html".

Insert the image

To the image, go:

  1. Insert > Image.
  2. In the that opens, on "choose file" to image file. sure you’re inside "testsite-nvu" folder. see in there.
  3. In the "Image location" should "apple-pie.jpg". says more complex-looking, sure "URL is page location" is checked.
  4. If you hit "Ok" now, Nvu you message that use text. You some into box, or "do alternate text" button.
  5. Click Ok.
Insert link

Our last to link page.

  1. So some text, the you’d like into link.
  2. Select you’re the link.
  3. Go Insert >
  4. Nvu you text prompt enter to to.
  5. Enter address, include http://.
  6. Click "Ok"

Now if your page, Nvu your "testsite-nvu" folder, you able double-click on file you’ve just open your browser.

That’s it! page created!

Hand-coding.

The method we’re to been the a reason. people far capabilities how HTML assistance WYSIWYG the we’ve just at.

However think, for moment, of steps you’ve had to things a heading, image link.

Learning little HTML more learning steps. In this, for tasks, be of faster write rather through dialog boxes.

Let’s it go.

For I’m rock it’s create in Notepad. are editors that color-code your tags, auto-complete your tags, make easier, this will fine.

Duplicate "testsite-nvu" folder it "testsite-handcode". the index.html file, since we’re to new one.

Create structure

For we’re quickly the of document. really will automatically you new if you’re a editor. can and from document. If to these mean, we in here Affilorama.

<!DOCTYPE "-//W3C//DTD 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
</body>
</html>

  1. Copy and into notepad.
  2. Go "Save As" save your "testsite-handcode" as "index.html"
  3. Go to and double-click newly-created "index.html" to in browser. It blank moment – that’s ok!
Create title

Just the examples, we’re create title. the "untitled document" text top browser window.

Look for in of you’ve just pasted:

<title>Untitled Document</title>

Change this to:

<title>Apple recipe</title>

If "save" refresh browser, you the change.

Create heading

Now we create heading. This that are to (as opposed for and engines) so it’s to the <body> tag. Find <body> tag return times yourself space. Then heading <h1> </h1> tags.

<body>
<h1> Apple </h1>
</body>

There are basic every have.

<html>
<head>
</head>
<body>
</body>
</html>

The <html> part "this is HTML! is webpage!". The at and the the </html> that is HTML.

The <head> for that don’t see. include your and tags. Again, and wrap this material. (We don’t yet!)

The <body> wraps main the your see. your slot opening of tag.

  • Share/Save/Bookmark

Related posts:

  1. Make Money Online With Twitter System

Affiliate Marketing

  1. No comments yet.
  1. No trackbacks yet.