In this section we will inform you about the <dd> tag in html5
In this section we will inform you about the <dd> tag in html5In this section we will inform you about the <dd> tag in html5. The <dd> tag is used to specifiy the description of the terms defined by <dt> tag. The definition list contains terms and some discription about it. The one definition term can have more than one description . The <dd> tag contains all the description within it. The <dd> tag is specified within the <dl> tag and gives the description to the <dt> tag.
The declaration syntax is as follows:
<dd> Description of term</dd> |
Example:dd_tag.html.
<!DOCTYPE html> <html> <head> <title>Example of dd Tag</title> </head> <body> <dl> <dt>Roseindia</dt> <dd> We work on java technology</dd> <dt>MCA</dt> <dd> Master of Computer Application</dd> </dl> </body> </html> |
Output:
Difference between HTML5 and HTML4
There is no difference in this attribute in both the versions.