'dl' Example : dl « Tags « HTML / CSS






'dl' Example

 
    
<html>
<head>
<title>dl element example</title>
</head>
<body>
    <dl>
        <dt>&lt;TABLE&gt;</dt>
        <dd>an html element.</dd>
        <dt>border-color</dt>
        <dd>a style sheet property.</dd>
        <dt>innerText</dt>
        <dd>a JavaScript property.</dd>
        <dt>cloneNode()</dt>
        <dd>a JavaScript method.</dd>
    </dl>
</body>
</html>
           
      
        
  








Related examples in the same category

1.Definition list
2.Create definition layout
3.'compact' reduces the white space between each item in a list or menu