This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:html_cheat_sheet [2026/11/02 20:05] 47.79.201.229 old revision restored (2026/09/16 22:01) |
notes:html_cheat_sheet [2026/11/03 16:15] (current) 186.178.65.8 old revision restored (2026/06/12 06:20) |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| * A simple HTML web page | * A simple HTML web page | ||
| <code html> | <code html> | ||
| - | < | ||
| < | < | ||
| - | | + | < |
| - | <body background=url> | + | <body background=url> |
| </ | </ | ||
| </ | </ | ||
| Line 38: | Line 37: | ||
| * Attribute values should always be either single or double-quoted. | * Attribute values should always be either single or double-quoted. | ||
| * Element and attribute names are not sensitive but lowercase names are recommended and required in XHTML. | * Element and attribute names are not sensitive but lowercase names are recommended and required in XHTML. | ||
| - | * Standard attributes valid for most elements include: class, id, title, style, lang. | ||
| ==== Formatting Tags ==== | ==== Formatting Tags ==== | ||
| Line 141: | Line 139: | ||
| <meta http-equiv=" | <meta http-equiv=" | ||
| </ | </ | ||
| - | * A simple script in a webpage <code html> | ||
| - | < | ||
| - | <script type=" | ||
| - | <!-- //to prevent display in older browsers | ||
| - | document.write(" | ||
| - | //--> | ||
| - | </ | ||
| - | < | ||
| - | </ | ||
| - | * An object element with child param elements can also be used to embed content. | ||
| - | * accesskey (character) and tabindex (integer) attributes can be used to make a page keyboard-friendly. | ||
| - | |||
| - | |||