HTML is made up of a lot of different elements. Each element behaves differently from all the other HTML tags. Some of them are so straightforward that you only need to invoke them and they'll be used. Others require beginning and ending markers, and the element's behavior is applied to the enclosed text.
For those tags that do have attributes, most of them are optional. To use a specific attribute, you must include the attribute name, the equal sign (=), and the value to set it to. Invalid values are automatically ignored by most Web browsers. The assignment of attributes is done inside the starting marker of the particular HTML element that you want to use.
Every HTML document must be enclosed within the <HTML> starting marker and the </HTML> ending marker. Between these two markers is the actual Web page. The content of a particular HTML document is made up of head and body portions. The information for the head portion is enclosed within the <HEAD> and </HEAD> markers. The information for the body portion is enclosed within the <BODY> and </BODY> markers.
The following list is not intended to be a complete list of every HTML tag and its attributes. This is meant as a list of commonly used elements and their commonly used attributes.
The majority of tags are specified in within the BODY elements. Typically, anything contained inside the start and end markers will be displayed. The following sets of related elements are all available:
This group of tags is used to apply general attributes to a group of text. Typically, these elements are word wrapped by the browser.
Hyperlinks are the underlying component of the Web.
Header elements are used to provide a consistent look for your document. There are no commonly used attributes for these elements
Logical style elements define attributes for a group of text. The text is automatically word wrapped by the browser.
This group of HTML elements is used to affect the visual display of text. There are no commonly used attributes for these elements.
This list type allows you to present a dictionary-type presentation of a definition. The left hand side has the word, <DD>, and the right hand side has the definition, <DT>.
You can create a list with a bullet in front of each item.
You can create a list with a number in front of each item. The number is automatically added.
You can create a list so that each item appears to be a list of files from a directory.
Graphics can be inserted into your home page very easily.
There are several unclassifiable, commonly used HTML tags.
HTML allows for the insertion of any character defined in the ISO 8859-1 character set, into Web pages. These characters may not always be visible to all browsers, but they are defined as available entities. Table A lists all the special characters with their corresponding HTML code. If you want to put a particular character in your Web page, simply type in the entire string under the "HTML Code" heading. Some of the characters have two possible HTML codes, so simply use one of them. Be sure to include the ampersand (&) before the code, and the semi-colon (;) after the code.Table A-HTML Codes for ISO 8859-1 Characters
TABLE A
| Description of Character | HTML Code | Example of Character |
|---|---|---|
| Quotation mark | " | " |
| Ampersand | & | & |
| Less-than sign | < | < |
| Greater-than sign | > | > |
| Non-breaking space | | |
| Inverted exclamation mark | ¡ | ¡ |
| Cent sign | ¢ | ¢ |
| Pound sterling | £ | £ |
| General currency sign | ¤ | ¤ |
| Yen sign | ¥ | ¥ |
| Broken vertical bar | ¦ or &brkbar; | ¦ |
| Section sign | § | § |
| Umlaut (dieresis) | ¨ or ¨ | ¨ |
| Copyright | © | © |
| Feminine ordinal | ª | ª |
| Left angle quote (guillemotleft) | « | « |
| Not sign | ¬ | ¬ |
| Soft hyphen | ­ | |
| Registered trademark | ® | ® |
| Macron accent | ¯ or &hibar; | ¯ |
| Degree sign | ° | ° |
| Plus or minus | ± | ± |
| Superscript two | ² | ² |
| superscript three | ³ | ³ |
| Acute accent | ´ | ´ |
| Micro sign | µ | µ |
| Paragraph sign | ¶ | ¶ |
| Middle dot | · | · |
| Cedilla | ¸ | ¸ |
| Superscript one | ¹ | ¹ |
| Masculine ordinal | º | º |
| Right angle quote (guillemotright) | » | » |
| Fraction one-fourth | ¼ | ¼ |
| Fraction one-half | ½ | ½ |
| Fraction three-fourths | ¾ | ¾ |
| Inverted question mark | ¿ | ¿ |
| capital A, grave accent | À | À |
| Capital A, acute accent | Á | Á |
| Capital A, circumflex accent | Â | Â |
| Capital A, tilde | Ã | Ã |
| Capital A, umlaut (dieresis) | Ä | Ä |
| Capital A, ring | Å | Å |
| Capital AE, diphthong (ligature) | &Aelig; | &Aelig; |
| Capital C, cedilla | Ç | Ç |
| Capital E, grave accent | È | È |
| Capital E, acute accent | É | É |
| Capital E, circumflex accent | Ê | Ê |
| Capital E, umlaut (dieresis) | Ë | Ë |
| Capital I, grave accent | Ì | Ì |
| Capital I, acute accent | Í | Í |
| Capital I, circumflex accent | Î | Î |
| Capital I, umlaut (dieresis) | Ï | Ï |
| Capital Eth, Icelandic | Ðor Đ | Ð |
| Capital N, tilde | Ñ | Ñ |
| Capital O, grave accent | Ò | Ò |
| Capital O, acute accent | Ó | Ó |
| Capital O, circumflex accent | Ô | Ô |
| Capital O, tilde | Õ | Õ |
| Capital O, umlaut (dieresis) | Ö | Ö |
| Multiply sign | × | × |
| Capital O, slash | Ø | Ø |
| Capital U, grave accent | Ù | Ù |
| Capital U, acute accent | Ú | Ú |
| Capital U, circumflex accent | Û | Û |
| Capital U, umlaut (dieresis) | Ü | Ü |
| Capital Y, acute accent | Ý | Ý |
| Capital THORN, Icelandic | Þ | Þ |
| Small sharp s, German (sz ligature) | ß | ß |
| Small a, grave accent | à | à |
| Small a, acute accent | á | á |
| Small a, circumflex accent | â | â |
| Small a, tilde | ã | ã |
| Small a, umlaut (dieresis) | ä | ä |
| Small a, ring | å | å |
| Small ae diphthong (ligature) | æ | æ |
| Small c, cedilla | ç | ç |
| Small e, grave accent | è | è |
| Small e, acute accent | é | é |
| Small e, circumflex accent | ê | ê |
| Small e, umlaut (dieresis) | ë | ë |
| Small i, grave accent | ì | ì |
| Small i, acute accent | í | í |
| Small i, circumflex accent | î | î |
| Small i, umlaut (dieresis) | ï | ï |
| Small eth, Icelandic | ð | ð |
| Small n, tilde | ñ | ñ |
| Small o, grave accent | ò | ò |
| Small o, acute accent | ó | ó |
| Small o, circumflex accent | ô | ô |
| Small o, tilde | õ | õ |
| Small o, umlaut (dieresis) | ö | ö |
| Division sign | ÷ | ÷ |
| Small o, slash | ø | ø |
| Small u, grave accent | ù | ù |
| Small u, acute accent | ú | ú |
| Small u, circumflex accent | û | û |
| Small u, umlaut (dieresis) | ü | ü |
| Small y, acute accent | ý | ý |
| Small thorn, Icelandic | þ | þ |
| Small y, umlaut (dieresis) | ÿ | ÿ |
Source: John Jung QUE
Standard Home Page |
Basic HTML |
Year 2000 |
Help Desks
Colour Selector |
Internet Glossary |
Early Browsers Home