Figure HTML

HTML <figure> Tag To mark up an image on a web page and to handle the group of diagrams, photos, code listing, etc. with some embedded content, the HTML <figure> tag is used. It was introduced in HTML5. The content of this tag is related to the main flow. However, the position of the HTML … Read more

Embed HTML

HTML <embed> Tag To embed an external document in an HTML file, the HTML <embed> tag is used. The external document can be a third-party application, multimedia, plugin, etc. It was introduced in HTML5. Other than the HTML <embed> tg the HTML <audio> and <video> tags are also used to embed multimedia in HTML documents. … Read more

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