Disclaimer: Dan is not an expert by any means on the
subject of math, Dan just likes to do math. Dan is not a teacher so please be
nice!
Disclaimer to Disclaimer: Dan does not regularly talk or write in
the third person singular, it just ended up that way... that is all.
Occasionally, you know, when I'm sitting around figuring out how things work,
I'll come some neat math guava moment. It's pretty cool and I hope you enjoy
them. E-mail me at danprime@hotmail.com
if you have any suggestions, spot errors or just plain feedback.
Introduction to HTML
- HTML is a very basic language or script used to display or format the
information in a desired way.
- This distinction is pretty important since HTML is static (it doesn't
change, you can use other languages such as Javascript or DHTML (Dynamic
HTML)
- HTML stands for Hyper Text Markup Language
- It's comprised of tags that look like this < tag >
- It's a good practice to properly indent nested tags (more on that later)
- Let's do it!
Equipment Needed
- A basic text editor such as Notepad, pico/emacs (if you're UNIX
user), or edit (if you still love DOS!:). Note: you can use programs
such as Microsoft Word or Wordperfect-but don't cheat by using the "save
as HTML" since the code it generates is extremely messy and you'll
never get the full experience of coding by yourself!
- A web-browser such as Internet Explorer, Netscape, Opera, or pico.
Doesn't really matter, as long as you know how to view webpages.
Tally Ho!!!
- HTML files are distinct from other files because they end with a ".htm"
or ".html" (no quotes). You can do this in notepad by clicking
on File, Save As, type in a filename(no spaces or funky characters) with
the ".html" added to the end. Right below you should see a box
that says "save as file type" change that to all files so that it doesn't
add the ".txt".
- All HTML files begin with the tag <HTML> and end with the
tag </HTML>. Some people say the last part isn't necessary
and in some cases it isn't but you should put it in just in case.
- Next comes the <HEAD> </HEAD> tags. In between these
two tags, you can put information that you want to pre-load before the webpage
appears completely.
- <TITLE> </TITLE> is the title of the webpage (the text
that appears on the title bar-the shaded bar at the top of the window).
For example, the title tag for this webpage is <TITLE>HTML
Basics</TITLE>
- Title goes in between the head tags so it should look something like this:
<HTML>
<HEAD><TITLE>My webpage</TITLE></HEAD>
yadda yadda yadda
</HTML>
- Now for the fun part! The body tag...
The actual content of your webpage (like the information) normally lies
in between the two <BODY> </BODY> tags. If you've noticed
most tags have a beginning tag < > and an end tag </
>.
You should only use one body tag per webpage, or else it won't turn out
the way you might expect it to!
Check out this Reference page (PDF)
to get a more visual demo of how it looks and try it out!
Please E-mail danprime@hotmail.com
any questions, comments or things I left out, thanks!