When you visit a Web site, what you are seeing is computer code which has been translated by the Web browser into text, graphics, and multimedia. HyperText Markup Language (HTML) is the basic code used to create Web pages.
HTML is used to define how data looks:
Most Web pages today use more than straight HTML. Other languages used to create Web pages include:
HTML pages can be saved as text files with either an .htm or .html extension. However, when you are coding a link to another HTML page, you must use the correct extension, otherwise your link will not work. |
Style sheets are special documents which define the formatting and styles used in a Web page. You can link several Web pages to one style sheet; thus, assuring all the pages share the same look and feel. |
With Internet Explorer, you can view the HTML code for a Web page by right-clicking on the page, and selecting View Source from the shortcut menu. With Netscape, right-click the page and select View Page Source from the shortcut menu. |
Common tags used in HTML include:
<HTML></HTML> | Defines the page as an HTML document |
<BODY></BODY> | All page content goes between the Body tags |
<P> | Begin Paragraph tag |
<H1></H1> | Header tags; can be assigned different styles |
<B></B> | Bolds the text |
<I></I> | Italicizes the text |
<U></U> | Underlines the text |
<IMG SRC="filename"> | Displays an image (graphic file name must be specified) |
<A HREF="url">Link text goes here</A> | Links to another Web page (URL of the linked page must be specified) |
Note: Most HTML tags require a beginning tag and an ending tag. Any content between the two tags is displayed according to the tag's characteristics.