DEV Community

loading...
Cover image for HTML tags | ins-del

HTML tags | ins-del

Carlos Espada
Frontend developer. Cyclist. Fan of trains, dinos and XIX century travels. Trying to do my part for making an accessible, light and fast internet for everyone.
Updated on ・1 min read

They are used to indicate text that has been inserted or removed from a document.

Both have two attributes: cite to specify a URL explaining the reason for insertion/deletion and datetime indicating the date the modification occurred (in YYYY-MM-DDThh:mm:ssTZD format).

As it is common for screen reader users to disable the advertisement of content that creates a lot of verbosity, it is advisable not to abuse the use of these elements and to use them only when not knowing that a content has been modified could affect their understanding.

  • Type: inline / inline
  • Self-closing: No / No
  • Semantic value: No / No

Definition ins - Definition del | Example ins - Example del | Support ins - Support del

Discussion (0)