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/13 06:55]
183.171.97.205 old revision restored (2026/06/03 02:20)
notes:html_cheat_sheet [2026/06/13 11:43] (current)
114.119.152.46 old revision restored (2026/06/07 21:41)
Line 69: Line 69:
      </table> </code>      </table> </code>
   * A table with border 0 can be used to format the layout of a page.   * A table with border 0 can be used to format the layout of a page.
 +  * A table can also be in the form:  <thead> <tfoot> <tbody> and can specify an optional <caption>.
 +  * To set attributes of columns in a table, a colgroup with column entries can be used e.g. <code html>
 +<table border="1">
 +<colgroup span="2">
 +<col width="20"></col>
 +<col width="50"></col>
 +</colgroup> ... </table>
 +</code>
  
 ==== Forms ==== ==== Forms ====
Line 145: Line 153:
 ==== Advanced HTML ==== ==== Advanced HTML ====
  
-  * <div> and <span> are used to group elements to format them with style. <divalso divides page into sections.+  * <div> is used to group elements or divide page into sections. <spanis used for selecting part of an element. Both can be used for formatting purposes.
   * A simple script in a webpage <code html>   * A simple script in a webpage <code html>
 <body>  <body> 
notes/html_cheat_sheet.1781358941.txt.gz · Last modified: 2026/06/13 06:55 by 183.171.97.205