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/06/03 01:49] 65.108.103.51 old revision restored (2026/05/27 09:56) |
notes:html_cheat_sheet [2026/06/07 15:58] (current) 213.194.156.245 old revision restored (2026/05/29 22:46) |
||
|---|---|---|---|
| Line 125: | Line 125: | ||
| * Other common symbols include: cent ¢, pound £, yen ¥, euro €, copy ©, times ×, div ÷, reg ®, sect § | * Other common symbols include: cent ¢, pound £, yen ¥, euro €, copy ©, times ×, div ÷, reg ®, sect § | ||
| - | ==== Advanced | + | ==== HTML Head ==== |
| + | * The head element of a page is not displayed. It contains information about the document. | ||
| + | * It may only contain the following tags: base (base url for links), link (external resources e.g.style-sheets), | ||
| * Example style declaration in head <code html> | * Example style declaration in head <code html> | ||
| < | < | ||
| Line 133: | Line 135: | ||
| </ | </ | ||
| </ | </ | ||
| - | * <div> and < | ||
| - | * The head element of a page is not displayed. It may only contain the following tags: base (base url for links), link (external resources e.g.style-sheets), | ||
| * Examples of the meta tag <code html> | * Examples of the meta tag <code html> | ||
| <meta name=" | <meta name=" | ||
| Line 141: | Line 141: | ||
| <meta http-equiv=" | <meta http-equiv=" | ||
| </ | </ | ||
| + | |||
| + | ==== Advanced HTML ==== | ||
| + | |||
| + | * <div> and < | ||
| * A simple script in a webpage <code html> | * A simple script in a webpage <code html> | ||
| < | < | ||
| Line 153: | Line 157: | ||
| * accesskey (character) and tabindex (integer) attributes can be used to make a page keyboard-friendly. | * accesskey (character) and tabindex (integer) attributes can be used to make a page keyboard-friendly. | ||
| + | * Events allow scripts to be registered for certain user actions. There are four types of events : | ||
| + | * window events are only valid in a body or frameset element: onload, onunload. | ||
| + | * form element events: onchange, onselect, onreset, onsubmit, onblur, onfocus | ||
| + | * keyboard events: onkeydown, onkeypress, onkeyup | ||
| + | * mouse events: onclick, ondblclick, onmousedown, | ||