Logo
HTMLCSSJavaScriptReactjsnewContactUpdates

Get started today

HTMLCSSJavaScriptReactjsnewContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
elements
comments

HTML Attributes

By Saket Bhatnagar•June 14, 2025•Beginner to Intermediate

Table of Contents

  1. attributes

attributes

  1. 1Attributes are html tag properties.
  2. 2They are used to provide additional information about tag , so that tag can behave in our desired manner
  3. 3HTML attributes consist of a name and a value, separated by an equals sign (=). The value is usually enclosed in quotes ("), although some attributes may use single quotes (') or no quotes at all.
  4. 4 Attributes should be applied in opening tag only.
  5. 5Example:<p title="i am paragraph tag"> Welcome to Saket's Blog </p>Here , title is attribute .

Share this article

Last updated: July 14, 2025

Join Our Community

Login to Join

© 2025 Saket Bhatnagar. All rights reserved.

    ☕