Nov. 21, 2023, 5:25 a.m. | margishpatel

DEV Community dev.to

HTML, the markup language for creating web pages, has a variety of attributes that provide functionalities and define different aspects of elements on a web page. Some unique or less commonly known attributes include:


1) contenteditable: This attribute makes the content of an element editable by the user. It can be applied to various HTML elements like <div>, <p>, or <span> to allow direct user input.


Example:



<div contenteditable="true">
This content can be edited by the user.
</div> …

beginners contenteditable element html language markup language top 10 tutorial web webdev

Machine Learning Postdoctoral Fellow

@ Lawrence Berkeley National Lab | Berkeley, Ca

Team Lead Data Integrity

@ Maximus | Remote, United States

Machine Learning Research Scientist

@ Bosch Group | Pittsburgh, PA, United States

Data Engineer

@ Autodesk | APAC - India - Bengaluru - Sunriver

Data Engineer II

@ Mintel | Belfast

Data Engineer

@ Vector Limited | Auckland, New Zealand