<dd> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:dd

Introduction

dd Denotes a definition within a description list. And its And its Style Convention.

dd {
   display: block;
   margin-start: 40px;
}

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><!-- ww  w  .ja  v a 2  s.  co m-->

Demo Code

ResultView the demo in separate window

<html>
   <head></head>
   <body></body>
</html><!--from w  w w . jav a 2  s .  c o  m-->

Related Tutorials