Learn HTML
Tables
Code | Name | Description | Example |
---|---|---|---|
<table> | Table | It has content that is used to represent a two-dimensional table made of rows and columns. |
|
<tr> | Table Row | It is used to add rows to a table before adding table data and table headings. |
|
<td> | Table Data | It can be nested inside a table row element, <tr> , to add a cell of data to a table. |
|
<thead> | Table Head | It defines the headings of table columns encapsulated in table rows. |
|
<tbody> | Table Body | It is a semantic element that will contain all table data other than table heading and table footer content. |
|
<th> | Table Heading | It is used to add titles to rows and columns of a table and must be enclosed in a table row element, <tr>. |
|
Learn CSS
Visual Rules
Code | Name | Description | Example |
---|---|---|---|
!important | !important rule |
It is used on declarations to override any other declarations for a property and ignore selector specificity. It will ensure that a specific declaration always applies to the matched elements. However, generally it is good to avoid using !important as bad practice. |
|
opacity | Opacity | It can be used to control the transparency of an element. The value of this property ranges from 0 (transparent) to 1 (opaque). |
|
font-weight | Font Weight | The font-weight CSS property can be used to set the weight (boldness) of text. The provided value can be a keyword such as bold or normal. |
|
url() | Resource URLs | It is used to wrap resource URLs. These can be applied to several properties such as the background-image. |
|