Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is a DL Tag/Element
What Is a DL Tag/Element? - XHTML 1.0 Tutorials - Understanding Lists and List Items
✍: 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:
2007-05-11, 4810👍, 0💬
Popular Posts:
How To Compare Two Strings with strcmp()? - PHP Script Tips - PHP Built-in Functions for Strings PHP...
How can I execute a PHP script using command line? Just run the PHP CLI (Command Line Interface) pro...
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... ...
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use th...