|
|
A beginner's guide to website creation.Before you begin building your page, you'll need to decide on a basic page layout. To do this, just sit down with some old-fashioned paper and a pencil and start sketching, blocking out the page's elements. You may be itching to get coding, but by drawing your site out first you can rearrange designs to your heart's content without having to code and recode. Once you've settled on the organization of your site, it's time to begin creating your pages with HTML tags--the instructions that surround material such as text, images, and links to other pages and tell the viewer's Web browser how to display them. If you want an image to show up on the left side of the page, a certain word to appear bold, or another word to link to an outside resource, you'll use HTML tags to do it. There are five important rules for coding with HTML tags.
Remember, too, that HTML is always evolving, and older browsers often don't support the newest tags. When a browser encounters an HTML tag it doesn't understand, it will usually ignore both the tag and the material the tag affects. This way, the newest elements will appear to viewers with newer browsers without causing problems for viewers using older browsers, who will only see material their browsers recognize. On the downside, browsers treat coding errors like unfamiliar code. If you've made a mistake while building your page, you won't necessarily see an error message; you might just see nothing at all. You should always closely check all of your pages in a browser to make sure that everything that's supposed to be there appears properly. We also recommend looking at your pages in more than one version of Navigator and Internet Explorer (on both PC and Mac platforms, if possible) to make sure everything looks the way you intended, because not every browser type or version behaves the same way.
If it's all starting to sound complicated, relax. We've kept this article simple so you can get your feet wet without being overwhelmed. A great way to learn about more complicated HTML is to look over the shoulders of other Web page creators. If you see a Web site you like, just view the page's source to see how it was done. You should never just copy another builder's design, but most developers do borrow inspiration from other sites. Methods for viewing source vary by browser, but it's usually as simple as selecting Page Source or Source from the View menu. (Warning: Don't try this trick with CNET pages! Our Web pages are composed of extremely complex HTML; many incorporate Java, JavaScript, and other technologies as well. Stick with viewing source code on fairly simple sites until you're more familiar with Web building.) When viewing source code, you'll sometimes see organizational comments from the page's author near the top of (or scattered throughout) the file. These comments are inserted with the Now, let's get going. Although HTML is not case sensitive, we'll show tags, attributes, and values in uppercase throughout this article so that you'll be able to spot them easily.
Questions?
|