Site Tools


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/06/12 23:28]
150.5.132.42 old revision restored (2026/06/03 02:36)
notes:html_cheat_sheet [2026/06/13 20:25] (current)
216.73.216.69 old revision restored (2026/06/12 06:20)
Line 16: Line 16:
 </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>  
notes/html_cheat_sheet.1781332112.txt.gz ยท Last modified: 2026/06/12 23:28 by 150.5.132.42