HTML <big> Tag
The <big> tag was used to increase the font size of text by one level relative to the surrounding text.It is deprecated in HTML5, and CSS (font-size) should be used for controlling text size in modern web development. Syntax Attributes Attribute Description None The <big> tag does not have any specific attributes. Example Output Browser […]
HTML <font> Tag
The <font> tag was historically used to change the font face, size, and color of text in HTML.It is deprecated in HTML5, and modern web design uses CSS (font-family, font-size, color) instead. Syntax Attributes Attribute Description face Specifies the font family of the text. size Specifies the font size (1–7 or relative values). color Specifies […]
HTML <center> Tag
The <center> tag was used to horizontally center-align content in HTML.It is deprecated in HTML5 and should be replaced by CSS styling (text-align: center;) for modern web development. Syntax Attributes Attribute Description None The <center> tag does not have any specific attributes. Example Output Browser Output The text inside the <center> tag is displayed horizontally […]
HTML <shadow> Tag
The <shadow> tag in HTML was used in early versions of the Shadow DOM specification to define the shadow tree for an element.It acted as a placeholder for shadow DOM content, allowing developers to encapsulate styles and markup from the main document. However, this tag has been deprecated and is no longer supported in modern […]
HTML <template> Tag
The <template> tag in HTML is used to define HTML fragments that are not rendered immediately when a page loads.Its content remains inactive until it is activated via JavaScript.This makes it ideal for creating reusable content blocks such as cards, modals, or list items dynamically. Syntax Attributes Attribute Description id Specifies a unique identifier for […]
HTML <slot> Tags
The <slot> tag is a placeholder inside a Web Component that allows developers to pass external content (light DOM) into the shadow DOM.It helps in creating flexible and reusable custom elements where parts of the content can be dynamically replaced. Syntax Attributes Attribute Description name Defines the name of the slot so specific content can […]
HTML <noscript> Tag
The <noscript> tag defines alternative content that is displayed only when JavaScript is disabled in the browser or when the browser does not support scripting. This ensures that users without JavaScript can still view important content or messages on your web page. Syntax Attributes Attribute Description (None) The <noscript> tag does not have any specific […]
HTML <time> Tag
The <time> tag defines a specific time or date, or both.It helps browsers, search engines, and assistive technologies understand the time-related data in a machine-readable format using the datetime attribute. This element is especially useful for events, schedules, articles, or timestamps in blog posts. Syntax Attributes Attribute Description datetime Specifies the date and/or time in […]
HTML <dialog> Tag
The <dialog> tag represents a dialog box or modal window that can contain interactive content such as text, forms, or buttons.It can be opened or closed using the open attribute or JavaScript methods.The <dialog> element is ideal for creating pop-ups, confirmation boxes, or form modals without external JavaScript libraries. Syntax Attributes Attribute Description open Specifies […]
HTML <summary> Tag
The <summary> tag defines a visible heading for the <details> element.It acts as a toggle button that the user can click to expand or collapse the content inside <details>. The <summary> tag must be the first child of <details> to work correctly. Syntax Attributes Attribute Description id Assigns a unique identifier. class Specifies one or […]