Tools, FAQ, Tutorials:
HTML Definition List 'dl' Tag/Element
What Is a "dl" Tag/Element?
✍: FYIcenter.com
A "dl" element is block level element that can be used to define
a definition list, where items are displayed with leading terms.
Here are basic rules about "dl" elements:
Below is a good tutorial example of "dl" elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Definition Lists</title> </head> <body> <p>Acronyms:</p> <dl> <dt>CSS</dt><dd>Cascading Style Sheet</dd> <dt>DTD</dt><dd>Document Type Definition</dd> <dt>WWW</dt><dd>World Wide Web</dd> <dt>XML</dt><dd>eXtensible Markup Language</dd> </dl> </body> </html>
If you save the above document as definition_list.html, and view it with
Internet Explorer, you will see a list of items with leading terms
as shown below:
Â
⇒⇒HTML Tutorials
2017-05-29, 1582👍, 0💬
Popular Posts:
How to pull NVIDIA CUDA Docker Image with the "docker image pull nvidia/cuda" command? If you are ru...
What Is session_register() in PHP? session_register() is old function that registers global variable...
How to use the "set-backend-service" Policy Statement for an Azure API service operation? The "set-b...
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JS...
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the de...