Site Tools


Hotfix release available: 2026-07-14c "Mort". upgrade now! [57.3] (what's this?)
Hotfix release available: 2026-07-14b "Mort". upgrade now! [57.2] (what's this?)
Hotfix release available: 2026-07-14a "Mort". upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort". upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
notes:html_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:html_cheat_sheet [2026/11/03 08:46]
186.244.138.50 old revision restored (2026/08/04 09:30)
notes:html_cheat_sheet [2026/11/04 18:00] (current)
47.79.207.195 old revision restored (2026/10/06 13:16)
Line 163: Line 163:
     * keyboard events: onkeydown, onkeypress, onkeyup     * keyboard events: onkeydown, onkeypress, onkeyup
     * mouse events: onclick, ondblclick, onmousedown, onmousemove, onmouseup, onmouseover, onmouseup     * mouse events: onclick, ondblclick, onmousedown, onmousemove, onmouseup, onmouseover, onmouseup
 +
 +==== XHTML ====
 +  * XHTML is a stricter and cleaner replacement for HTML defined as an XML format.
 +  * XHTML requires elements to be closed, properly nested and lowercase.
 +  * Documents must have a DOCTYPE declaration and only a single root element. They must have a head with a title and a body.
 +  * Attributes must be lowercase with quoted values and must have values (e.g. checked="checked").
 +  * id replaces the name attribute, xml:lang replaces lang but both should be used for compatibility.
 +  * There are three XHTML variations
 +    * Strict - No presentational attributes allowed <code html>
 +<!DOCTYPE html
 +PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
 +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"></code>
 +    * Transitional - Presentational attributes allowed but no frames <code html><!DOCTYPE html
 +PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></code>
 +    * Frameset - Allows presentational attributes and frames <code html>
 +<!DOCTYPE html
 +PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
 +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"></code>
 +
 +
notes/html_cheat_sheet.1793724363.txt.gz ยท Last modified: 2026/11/03 08:46 by 186.244.138.50