![]() |
||||||||
HomeBasicsUsing FlagsMore Text FlagsPlacing ImagesColorsBackgroundsLinking PagesTablesGetting Online |
HTML Basics, Tips and Tricks |
|||||||
BASICS
Let's start at square one. To start writing HTML, you'll need:
Now you may be asking... what on earth is HTML? It's a word that stands for HyperText Markup Language. Basically, it's the way of writing programming code for webpages. You don't need to be hooked up to the Internet to type HTML. You only need to connect when you're sending your beautiful work to your web server (we'll cover this later). You'll be typing up the code in a word processing program. Then, after saving it in HTML format, you'll open it in a browser like IE or Navigator. The browser will interpret the code you wrote, and display it as a Web page. HTML documents must be saved in TEXT ONLY, which is why I recommend the text-only programs like Notepad, WordPad and Simple Text. This is because they save the document as just text, nothing else. When you save your code in Microsoft Word or a similar program, you're saving more than just the text-- you're saving tab settings, margin settings and a whole lot of other stuff that doesn't need to be in an HTML document. This might cause problems in displaying your page... and that's no fun. HTML documents MUST be saved with the suffix ".htm" or ".html" in order for them to work (".htm" for PCs with Windows 3.x, ".html" for Mac users and Windows 95/98/2000 users). So from the program you're typing your code in, click on File, then choose Save As. Give the document a name, and add ".htm" or ".html" at the end, whichever applies to your computer. Once your document is saved, either onto a disc or your hard drive, you can open it in the browser like this: All HTML documents must begin with <HTML> in the first line of code, and close with </HTML> in the last line. This is to tell the computer when the document starts, and when it finishes. They MUST be saved with the suffix ".htm" or ".html" in order for them to work (".htm" for PCs with Windows 3.x, ".html" for Mac users and Windows 95/98/2000 users). So from the program you're typing your code in, click on File, then choose Save As. Give the document a name, and add ".htm" or ".html" at the end, whichever applies to your computer. Once your document is saved, either onto a disc or your hard drive, you can open it in the browser like this:
|
||||||||