|
||
|
|
||
|
Now that we know what tags are and how to use them, let's take a look at what you have to do to make a basic page. We'll look at the majority of the tags you will need in minute. There are many others, but a lot of them are completely useless. If you're curious, you can visit W3 and check out all the standard tags. They are the group that sets the standard for HTML. Keep in mind though that Netscape and IE both have some of their own tags.
Every HTML document should have at least the following. Actually, none of these basic tags are required for the latest version of HTML, but you should use them to ensure proper viewing by older browsers.
<HTML>
<HEAD>
<TITLE>My First Page</TITLE>
</HEAD>
<BODY>
This is my page. Everything goes between the body tags.
</BODY>
</HTML>
The <HTML> tag is tells the browser what language the page is in. I don't know why you need it, there are some other markup languages, but no one really uses them. But, if you forget it, then your page will just be plain text. Next is the <HEAD> tag. The head holds certain information about the page, such as the title (the title is displayed at the top of the browser window). After that is the <BODY> which identifies the main body of the page. Everything you want to appear on the page goes between the body tags.
Back: Lesson 1-Tags | Next: Lesson 3-Body and Font Tags |
[Introduction] [Lesson 1] [Lesson 2] [Lesson 3] [Lesson 4] [Lesson 5] [Lesson 6] [More Resources]
| Send questions or comments about this site to website@socrates.math.ohio-state.edu | Copyright © 1998, Calculus&Mathematica |