EM HTML

HTML <em> Tag To emphasize a specified text within a sentence or a phrase, the HTML <em> tag is used. It thus provides semantic meaning to the text. The text is displayed in the italic form on the browser. Syntax: <em>Important Content</em> Example: <!DOCTYPE html> <html> <body> <em>HELLO WORLD!!</em><br> <strong>HELLO WORLD!!</strong><br> <code>HELLO WORLD!!</code><br> <samp>HELLO WORLD!!</samp><br> … Read more

DT HTML

HTML <dt> Tag The HTML <dt> tag is a tag used for the HTML Description List or Definition List. As the name itself suggests, it is used to display elements in definition form. It thus works much like a dictionary. To define the description list three tags are used. These are: <dl> tag: Used to define … Read more

DL HTML

HTML <dl> Tag The HTML <dl> tag is a tag used for the HTML Description List or Definition List. As the name itself suggests, it is used to display elements in definition form. It thus works much like a dictionary. To define the description list three tags are used. These are: <dl> tag: Used to define … Read more

Div HTML

HTML <div> Tag To group together a section of HTML elements, the HTML <div> tag is used. It acts as a container to encapsulate other elements. An HTML document is thus divided into sections, using the HTML <div> tag. CSS styles can also be applied to many elements at once using the HTML <div> tag. … Read more

Dir HTML

HTML <dir> Tag The HTML <dir> tag is not supported in HTML5. It acts as a container for a list of files, folders, or directory contents. It is used with the <li> tags to display the list of directories in bullets. Instead of the HTML <dir> tag, the <ul> tag and CSS property can be … Read more

Dialog HTML

HTML <dialog> Tag To create a popup dialog on an HTML page, the HTML <dialog> tag is used. It thus represents interactive components like a window or a dialog box. It was introduced in HTML5. Example: <!DOCTYPE html> <html> <body> <div> <dialog id=”example” style=”width:60%; background-color:black; color: white; border:5px solid red;”> <p><q>Great people, no matter their … Read more

DFN HTML

HTML <dfn> Tag The HTML <dfn> tag represents the HTML definition tag. The content of the HTML <dfn> tag is a term whose definition is understood to be the nearby text by the browser. Syntax: <dfn>Content</dfn> Example: <!DOCTYPE html> <html> <body> <p><dfn>Apple</dfn> is a fruit.</p> </body> </html> Explanation: In the above example, we are using … Read more

Del HTML

HTML <del> Tag To specify the deleted/removed text in a document, the HTML <del> tag is used. Thus, it acts as a Markup for the deleted text by striking a line through the deleted text. The default markup can be changed using the CSS property. The HTML <ins> tag is often used with the <del> … Read more

DD HTML

HTML <dd> Tag HTML <dd> tag represents the Description List or Definition List. As the name itself suggests, it is used to display elements in definition form. It thus works much like a dictionary. To define the description list three tags are used. These are: <dl> tag: Used to define the description list. <dt> tag: Used to … Read more