HTML & CSS Cheatsheet

HTML

Table Tags

Tag Name Description
<table> Table The element which contains all table tags(Main tag).
<thead> Table Head The element used to define each column heading ({th}Place insidetr element).
<tbody> Table Body The element which contains the rows of the table data.
<tr> Table Row The tag which contains defines each row and contains td elements.
<td> Table Data The element in which you enter each box of table data.
<tfoot> Table Foot The element that contains the rows containing footer information.

Table Attributes

Attribute Name Description
<colspan> Column Span Defines how may columns a td element should stretch.
<rowspan> Row Span Defines how may rows a td element should stretch.

CSS

Common CSS properties

css properties
  1. background-image:sets the background image
  2. text-decoration:underline|overline|line-through
  3. list-style-type:ul(disc|square|circle) , ol(decimal,lower & upper roman)
  4. border:(1.px size 2.solid or dotted 3.hexadecimal color)
html cheatsheet