Тег <dt></dt>




Этот тег определяет термин в списке определений. Он должен быть внутри тега <dl></dl>.




index.html
  • <!DOCTYPE html>
  • <html>
  • <head>
  •  <meta charset="utf-8" />
  •  <title>New Page</title>
  •  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  • </head>
  • <body>
  •  <dl>
  •   <dt>ASP.NET</dt>
  •   <dd>
  •    ASP.NET is an exciting web programming technology pioneered by Microsoft that
  •    allows developers to create dynamic web pages.
  •   </dd>
  •   <dt>WPF</dt>
  •   <dd>
  •    WPF is the platform for the future of Windows user interface development. However, it won’t displace
  •    Windows Forms overnight. Windows Forms is in many ways the culmination of the previous generation
  •    of display technology, which was built on GDI/GDI+ and User32.
  •   </dd>
  •  </dl>
  • <script>
  •  $(document).ready(function () {
  •   $("dd").css("font-style", "italic").css("margin-top", "5px");
  •  });
  • </script>
  • </body>
  • </html>
  • <!DOCTYPE html>
  • <html>
  • <head>
  •  <meta charset="utf-8" />
  •  <title>New Page</title>
  •  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  • </head>
  • <body>
  •  <dl>
  •   <dt>ASP.NET</dt>
  •   <dd>
  •    ASP.NET is an exciting web programming technology pioneered by Microsoft that
  •    allows developers to create dynamic web pages.
  •   </dd>
  •   <dt>WPF</dt>
  •   <dd>
  •    WPF is the platform for the future of Windows user interface development. However, it won’t displace
  •    Windows Forms overnight. Windows Forms is in many ways the culmination of the previous generation
  •    of display technology, which was built on GDI/GDI+ and User32.
  •   </dd>
  •  </dl>
  • <script>
  •  $(document).ready(function () {
  •   $("dd").css("font-style", "italic").css("margin-top", "5px");
  •  });
  • </script>
  • </body>
  • </html>