Site Tools


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
notes:html_cheat_sheet [2026/07/31 13:27]
190.212.216.33 old revision restored (2026/06/08 07:28)
notes:html_cheat_sheet [2026/07/31 17:43] (current)
47.77.232.228 old revision restored (2026/05/28 00:59)
Line 12: Line 12:
 <code html> <code html>
 <html> <html>
-<head> <title> Title of page </title> </head> +  <head> <title> Title of page </title> </head> 
-<body background=url> This is my first webpage. </body>+  <body background=url> This is my first webpage. </body>
 </html> </html>
 </code> </code>
 +  * HTML 4 comes in three versions :
 +    * Strict which contains no deprecated elements or frames <code html>
 +<!DOCTYPE HTML PUBLIC
 +"-//W3C//DTD HTML 4.01//EN"
 +"http://www.w3.org/TR/html4/strict.dtd"></code>
 +    * Transitional which includes deprecated elements <code html> <!DOCTYPE HTML PUBLIC
 +"-//W3C//DTD HTML 4.01 Transitional//EN"
 +"http://www.w3.org/TR/html4/loose.dtd"></code>
 +    * Frameset which includes deprecated elements and frames <code html><!DOCTYPE HTML PUBLIC
 +"-//W3C//DTD HTML 4.01 Frameset//EN"
 +"http://www.w3.org/TR/html4/frameset.dtd"></code>
  
 ==== HTML Components ==== ==== HTML Components ====
Line 113: Line 124:
  
 ==== Advanced HTML ==== ==== Advanced HTML ====
-  * HTML 4 comes in three versions : 
-    * Strict which contains no deprecated elements or frames <code html> 
-<!DOCTYPE HTML PUBLIC 
-"-//W3C//DTD HTML 4.01//EN" 
-"http://www.w3.org/TR/html4/strict.dtd"></code> 
-    * Transitional which includes deprecated elements <code html> <!DOCTYPE HTML PUBLIC 
-"-//W3C//DTD HTML 4.01 Transitional//EN" 
-"http://www.w3.org/TR/html4/loose.dtd"></code> 
-    * Frameset which includes deprecated elements and frames <code html><!DOCTYPE HTML PUBLIC 
-"-//W3C//DTD HTML 4.01 Frameset//EN" 
-"http://www.w3.org/TR/html4/frameset.dtd"></code> 
   * Example style declaration in head <code html>   * Example style declaration in head <code html>
 <head> <head>
Line 131: Line 131:
   </style>   </style>
 </head> </code> </head> </code>
 +  * <div> and <span> are used to group elements to format them with a style. <div> also divides a page into sections.
 +  * 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), meta, title, style, and script.
 +  * Examples of the meta tag <code html>
 +<meta name="keywords" content="HTML, DHTM" />
 +<meta name="description" content="Free tutorials" />
 +<meta name="revised" content="My Name, 6/10/99" />
 +<meta http-equiv="refresh" content="5" />
 +</code>  
 +  * A simple script in a webpage <code html>
 +<body> 
 +  <script type="text/javascript">
 +    <!-- //to prevent display in older browsers
 +    document.write("Hello World!")
 +    //-->
 +  </script>
 +  <noscript>Javascript not supported</noscript>
 + </body> </code>
 +  * An object element with child param elements can also be used to embed content.
 +
 +
notes/html_cheat_sheet.1785529640.txt.gz · Last modified: 2026/07/31 13:27 by 190.212.216.33