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:
2017-05-29, 2402🔥, 0💬
Popular Posts:
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most brows...
How to convert a JSON text string to an XML document with PHP language? Currently, there is no built...
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency ...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...