The basic form of a webpage includes tags, which normally aren't seen by the viewer, that the browser interprets. First, we have to tell the browser that we have a webpage with the <HTML> tag. All tags are enclosed by < and > signs known in HTML as brackets. Most tags have a counterpart that tells the browser to stop doing what it started, formatting, linking, etc. An example is the </HTML> tag.
That's great, but where will we put the content? That goes into the <BODY> tag, which also has a closing counterpart. Now let's see what we have?
<HTML>
<BODY>
Content
</BODY>
</HTML>
|
Okay, we have liftoff, err, content. Now, let's put a title on the the page. The title is what appears at the top of your website on the Windows Title Bar, for example Netscape - Title of Website. This is a <TITLE> tag, with a closing counterpart, that goes into the heading of the HTML, the <HEAD> tag with another closing counterpart.
<HTML>
<HEAD>
<TITLE>Title of Website</TITLE>
</HEAD>
<BODY>
Content
</BODY>
</HTML>
|
These are the basics for creating a website with a plain text editor, such as Notepad. Avoid Wordpad, or Microsoft Word because they don't save as plain text. Note that all tags can be capitalised any way you want, and they can all be squished together on one line. For example:
<HTML><HEAD><TITLE>Title of Website</TITLE></HEAD><BODY>Content</BODY></HTML>
|
<Html>
<hEAD>
<title>Title of Website</TiTLe>
</hEAd>
<BoDy>
Content
</bOdY>
</hTML>
|
Beginner Links:
Text and Colours