HTML <ins> Tag
The <ins> tag in HTML represents inserted or added text.Browsers typically display it with an underline to indicate new content.It is often used alongside <del> to show revisions, edits, or updates.It is an inline element. Syntax Attributes Attribute Description class Assigns one or more class names for styling. id Assigns a unique identifier to the […]
HTML <del> Tag
The <del> tag in HTML represents deleted or removed text.Browsers typically display it with a strikethrough, indicating that the content is no longer valid or has been replaced.It is an inline element and is often used in combination with <ins> for edits and revisions. Syntax Attributes Attribute Description class Assigns one or more class names […]
HTML <small> Tag
The <small> tag in HTML is used to reduce the font size of text, usually for fine print, disclaimers, legal notes, or side comments.It is an inline element and typically does not change the semantic meaning of the text. Syntax Attribute Attribute Description class Assigns one or more class names for styling. id Assigns a […]
HTML <mark> Tag
The <mark> tag in HTML is used to highlight text, typically to indicate relevance or search results.Browsers usually render it with a yellow background by default.It is an inline element and does not change the text’s semantic importance beyond visual highlighting. Syntax Attribute Attribute Description class Assigns one or more class names for styling. id […]
HTML <em> Tag
The <em> tag in HTML is used to indicate emphasized text.Browsers typically render <em> text in italic style, but unlike <i>, it carries semantic importance.Screen readers give it special emphasis, making it important for accessibility.It is an inline element. Syntax Attributes Attribute Description class Assigns one or more class names for styling. id Assigns a […]
HTML <i> Tag
The <i> tag in HTML is used to display text in italic style.Unlike <em>, which emphasizes text semantically, <i> is generally used for stylistic purposes such as foreign words, technical terms, or titles of works.It is an inline element. Syntax Attributes Attribute Description class Assigns one or more class names for styling. id Assigns a […]
HTML <strong> Tag
The <strong> tag is used to define important or emphasized text that carries strong semantic meaning.Browsers typically render it in bold, but unlike the <b> tag, it indicates that the enclosed text has greater importance or urgency in the context.It is useful for accessibility — screen readers will emphasize the text more strongly. Syntax Attributes […]
HTML <b> Tag
The <b> tag in HTML is used to bolden text without adding extra importance or emphasis.It visually highlights content by making it bold, often used for keywords, product names, or other text that needs attention — but not strong semantic meaning.For emphasizing text semantically, you should use the <strong> tag instead. Syntax Attributes Attribute Description […]
HTML <pre> Tag
The <pre> tag in HTML defines preformatted text — meaning the text inside it is displayed exactly as written in the HTML file, including spaces, tabs, and line breaks.It is often used to display code snippets, poems, or any text where spacing and alignment matter. Syntax Attributes Attribute Description class Assigns one or more class […]
HTML <hr> Tag
The <hr> tag in HTML defines a thematic break between paragraph-level elements.It is typically displayed as a horizontal line and is used to visually separate content or sections within a page.In HTML5, it represents a semantic break rather than just a visual divider. Syntax Attributes Attribute Description class Assigns one or more class names for […]