Basic Webpage 2 - Adam's HTML Planet - Tutorials and Tips on how to create webpages and websites using HTML
Basic Web Page Part 2
This site equipped with Key Launcher!
The following launcher keys are available:
Press the letter 'H' for: Home Page
Press the letter 'S' for: Site Map
Press the letter 'T' for: List of Tutorials
list of tutorials
next tutorial
This tutorial assumes that you have followed tutorial one
Open up Notepad [or whichever text editor you're using] and your browser.
Open [in your text editor] the file you created in tutorial 1.
Look at the text below and make the necessary additions to your file .
Save the file [suggested name basic2.htm]. Don't forget to save the file with the extension .htm [or .html].
Open the file in your browser.
<HTML>
<HEAD>
<TITLE>My First Webpage</TITLE>
</HEAD>
<BODY>
<H1>This is my first webpage</H1>
<P>
This is some 'body' text to make up the first paragraph
And this is some more text on a separate line
</BODY>
</HTML>
Let's look at the bits we've added.
<H1> </H1>
This is a heading level tag. There are 6 levels with Heading 1 being the biggest and level 6 being very small indeed, hardly what you'd call a heading - but there you have it!
<P>
This creates a new paragraph - equal to pressing the 'Return' key twice in a word processor. Again, it's one that doesn't require a closing tag although, with this one you can if you want. The paragraph tag can have alignment attributes i.e. for a centred paragraph you would input <P ALIGN="CENTER">
<BR>
This is a line break - equal to pressing the 'Return' key once in a word processor. You will have noticed that it's one of those tags that don't require a closing tag.
Go up to the top of the page to choose where you go next