HTML Commands |
---|
John Pickering & Denise Lim University of Georgia
|
Photograph by Athena Anderson Anolis carolinensis Voigt, 1832 Green anole |
Updated: 15 January, 2008
Discover Life | Education | Training Guides | Building Web Pages | Top |
Top |
HTML File Structure & Name Put HTML in text files that start with an <html> tag and end with a </html> tag. Within these tags put two main sections within <head></head> and <body></body> pairs of tags. The first section generally contains a <title> and </title> tags. The second section contains information that formats the page's text, images, and links. Put an .html extension on your filename. For example, "My_home_page.html" works. Avoid putting spaces in filenames. A filename called "My home page.html" will create problems on some systems. Also avoid filenames with strange characters, because they can give some Web servers problems. It is best to use filenames that contain the only following simple characters: a to z, A to Z, 0 to 9, commas, periods, and _underscore. Avoid using filenames that include minus, parentheses, brackets, stars, question marks, etc. On Unix/Linux systems, filenames are case sinsitive. Thus, "this_name.html" and "THIS_NAME.html" are not the same. A good way to learn HTML is to view the HTML used by others. To do this, pull up a Web page with your browser, then go to "View Page Source" and see the pages HTML tags and text. Example of an HTML file is:
<html>
|
Top |
Some HTML Commands
|
Top |
Making Lists
For example,
<ul> Yields the following on your browser:
Thus,
<ol> Yields the following on your browser:
|
Top |
Adding Images Note: Images need to be .jpg, .gif, or .png files.
|
Top |
Adding Hypertext Links External Links with Relative Addresses:
External Links with Absolute Addresses:
Internal Links:
|
Top |
Adding Tables
|
Top |
Other HTML Commands
|
Discover Life | Education | Training Guides | Building Web Pages | Top |