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/09/13 16:12]
47.79.207.65 old revision restored (2026/09/04 14:04)
notes:html_cheat_sheet [2026/09/16 06:36] (current)
2.51.163.142 old revision restored (2026/08/02 14:17)
Line 120: Line 120:
  
 ==== Character Entities ==== ==== Character Entities ====
-  * A character entity represents a single character. [[http://www.w3schools.com/tags/ref_entities.asp | All named entities]].+  * A character entity represents a single character. [[http://www.w3schools.com/tags/ref_entities.asp | Character entities]] [[http://www.w3schools.com/tags/ref_symbols.asp | Symbol Entities]].
   * It consists of an ampersand (&), an entity name or a # and an entity number, and finally a semicolon (;) (e.g. <).   * It consists of an ampersand (&), an entity name or a # and an entity number, and finally a semicolon (;) (e.g. <).
   * Common character entities include: > , < ,   (space), " , ' .   * Common character entities include: > , < ,   (space), " , ' .
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.1789341130.txt.gz ยท Last modified: 2026/09/13 16:12 by 47.79.207.65