HTML CSS examples for HTML Tag:dt
dt denotes a term within a description list. And its Style Convention.
dt {
display: block;
}
The following code shows how to create description Lists.
<!DOCTYPE HTML> <html> <head> <title>Example</title> </head> <body> <dl> <dt>CSS</dt> <dd>style the element</dd> <dd><i>hard to use</i></dd> <dt>HTML</dt> <dd>marks the content</dd> <dd><i>easier to use</i></dd> <dt>SQL</dt> <dd>query <i>database</i></dd> </dl> </body> </html><!--from w w w. j a v a 2s.c om-->
<html> <head></head> <body></body> </html><!--from www . jav a 2 s .co m-->