HTML <table> Tag
The <table> tag in HTML defines a table — a structured arrangement of data in rows and columns.It serves as the container for all related elements like <tr>, <th>, <td>, <thead>, <tbody>, and <tfoot> Syntax Attributes Attribute Description border Specifies the border width around table cells (deprecated, use CSS). cellpadding Space between cell content and […]
HTML <area> Tag
The <area> tag defines clickable areas within an image map created by the <map> element.Each <area> represents a region of the image that acts as a hyperlink to another page, section, or resource. Syntax Attributes Attribute Description shape Defines the shape of the clickable area — can be rect, circle, or poly. coords Specifies the […]
HTML <map> Tag
The <map> tag in HTML is used to define an image map, which is a clickable region on an image that links to different destinations.Each clickable area within the map is defined using the <area> tag. Syntax Attributes Attribute Description name Specifies a unique name for the map, used to reference it in the <img> […]
HTML <canvas> Tag
The <canvas> tag in HTML is used to draw graphics dynamically via JavaScript, including shapes, charts, animations, and games.It is a container for graphics but does not have any visible output by itself until you draw on it using JavaScript. Syntax Attributes Attribute Description id Specifies a unique identifier for the canvas. width Width of […]
HTML <picture> Tag
The <picture> tag in HTML is used to provide multiple image sources for responsive designs.It allows the browser to choose the most suitable image based on screen size, resolution, or format support.It’s commonly used with <source> and <img> tags inside it. Syntax Attributes Attribute Description srcset Specifies the image URL(s) to use for a particular […]
HTML <param> Tag
The <param> tag is used to define parameters for plugins or objects embedded with the <object> element.It provides additional data or settings for the embedded resource, such as specifying an audio file autoplay option. Syntax Attributes Attribute Description name Specifies the name of the parameter. value Sets the value of the parameter. type Specifies the […]
HTML <object> Tag
The <object> tag in HTML is used to embed external resources such as images, videos, PDFs, or even other web pages into a document.It serves as a versatile container for any kind of media or plugin-based content. Syntax Attributes Attribute Description data Specifies the URL of the resource to be embedded. type Defines the MIME […]
HTML <embed> Tag
The <embed> tag in HTML is used to embed external content such as videos, audio, PDFs, or interactive media (like SVGs or Flash) directly into a webpage.It is a self-closing tag and doesn’t require a closing tag. It serves as a generic container for external resources when specific tags (like <video> or <audio>) are not […]
HTML <track> Tag
The <track> tag is used to add text tracks (like subtitles, captions, descriptions, or chapters) to <video> and <audio> elements.It improves accessibility by providing text alternatives for users who are deaf, hard of hearing, or non-native speakers. Syntax Attributes Attribute Description Example src Specifies the URL of the track file (usually a .vtt file). src=”captions.vtt” […]
HTML <source> Tag
The <source> tag is used to define multiple media resources for the <audio> and <video> elements.It allows the browser to choose the best supported format automatically, ensuring better playback compatibility across devices. Syntax Attributes Attribute Description Example src Specifies the path (URL) of the media file. src=”movie.mp4″ type Defines the MIME type of the file […]