<dt> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:dt

Introduction

dt denotes a term within a description list. And its Style Convention.

dt {
  display: block;
}

The following code shows how to create description Lists.

Demo Code

ResultView the demo in separate window

<!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-->

Demo Code

ResultView the demo in separate window

<html>
   <head></head>
   <body></body>
</html><!--from  www  . jav  a 2 s  .co m-->

Related Tutorials