Logo
HTMLCSSJavaScriptReactjsnewResourcesContactUpdates
Join

Get started today

HTMLCSSJavaScriptReactjsnewResourcesContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
semantic tags
html5 assignment

HTML5 Attributes

By Saket Bhatnagar•December 16, 2025•Beginner to Intermediate

Table of Contents

  1. contenteditable
  2. accesskey

contenteditable

  1. 1contenteditable is an HTML attribute that allows users to edit the content of an element directly on the web page.
  2. 2By default it is set to false i.e, user cannot edit or modify the content.
  3. 3When the attribute is set to true, users can double-click on the element to edit/change the content.
  4. 4Example:- <p contenteditable='true'>This text can be edited by the user.</p> (Here, the user can modify the content of the paragraph.)

accesskey

  1. 1accesskey attribute is used to specify a shortcut key to activate or trigger something.
  2. 2Example:- <a href='https://www.google.com' accesskey='k'>Google</a> (Here, this link can be triggered by using the accesskey 'k' along with the binding keys.)
  3. 3The binding key for chrome and Edge is Alt + accesskey , binding key for firefox is Alt+Shift+accesskey.
  4. 4Note :- These key bindings may vary depending on the operating system and web browser being used.

Share this article

Last updated: January 16, 2026

Saket Bhatnagar

I build products, share the playbooks, and pass along everything I learn so you can ship faster.

GitHubLinkedInYouTubeWhatsApp Channel

Quick Links

  • Updates
  • Resources
  • Resume Builder
  • Contact

WhatsApp

Builders Group

Real-time notes from my builds, weekend challenges, and accountability threads.

Shipping Notes Channel

Launch alerts + bite-sized lessons.

© 2025 Saket Bhatnagar. All rights reserved.

Always building, always learning.