{ A destination to learn coding }

List Tags

Definition Lists

<dl> </dl>

Definition list are used where each term is listed along with its defintion


The <dt> tag

This tag contains the term that is to be defined


The <dd> tag

This tag contains the definition


Example


<dl>
	<dt>Black Hole</dt>
	
	<dd>
	Black hole is a region of space having a gravitational 
	field so intense that no matter or radiation can 
	escape.
	</dd>
	
	<dt>Computer</dt>
	
	<dd>
	A computer an electronic device which is capable of receiving 
	information (data) in a particular form and of performing 
	a sequence of operations in accordance with a predetermined 
	but variable set of procedural instructions (program) to 
	produce a result in the form of information or signals.
	</dd>
	
	<dt>Corruption</dt>
	
	<dd>
	Corruption is dishonest or fraudulent conduct by those in power, 
	typically involving bribery.
	</dd>
	
</dl>
			
See output



Sometimes, it so happens that a single term carries two different definitions and a single definitions holds true for two different terms.
Below is an example of such cases

Example


<dl>
	<dt>Park</dt>
	
	<dd>
	An area of land set aside for environment
	preservation or recreation.
	</dd>
	
	<dd>
	To bring to a halt or a specified place.
	</dd>
	
	<br> <br>
	
	<dt>Color</dt>
	<dt>Colour</dt>
	
	<dd>
	The spectral composition of visible light.
	</dd>
	
</dl>
			
The output is

Park
An area of land set aside for environment preservation or recreation.
To bring to a halt or a specified place.


Color
Colour
The spectral composition of visible light.
learn css