what is the dl tag in html
what is the dl tag in html
Syntax
Syntax of HTML <dl> tag
.
.
Example
what is the dl tag in html
Explain Program
Step 1]
<!DOCTYPE html>
This declare the document type.
browser that the document is written in html
Step 2 ]
<html>.... . </html>
html is the root element of the html page.
Every thing inside it is part of the webpage.
Step 3]
<body>.....</body>
<body> tag contains all the visible content of the page.
inside <body> show the browser screen.
Step 4]
<h1> The HTML dl,dd,dt tag element </h1>
<h1> tag is heading tag, use the largest heading.
display the main title of the page.
Step 5]
<p>three tag use </p>
<p> tag paragraph tag.
<p> tag displays a simple sentence three tag use
Step 6]
<dl>
<dl> tag stands Definition list.
use to create list
<dl> tag container
Step 7]
<dt>HTML</dt>
<dt> Definition list
<dt> tag term defined
<dt> tag name/ term
<dd>Structure of web content</dd>
<dd> tag Definition description.
<dd> tag explanation / description
Step 8]
Closing tag
