How to define a text element that inserted into a document in HTML5 ? Last Updated : 06 Jun, 2023 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article, we will learn how to define some text that has been inserted into a document. This can be used to show recent changes in the text content and is mostly used after the text that is to be deleted or is outdated. Approach: We will use the <ins> element to specify text that has been inserted into the document. The browser usually adds an underline to the text present in this tag to distinguish it from the rest of the content. This element has two attributes that can be used to specify the citation and the time that the change was made. Syntax: <ins> Inserted Text </ins> The below example illustrates the <ins> element to define the text that has been inserted into a document. Example: In this example, we are using the above-explained approach. HTML <!DOCTYPE html> <html> <body> <h1 style="color: green;"> GeeksforGeeks </h1> <b> How to define a text that has been inserted into a document </b> <!-- Simple usage of <ins> element --> <p> The exam would be held on <del>Monday</del> <ins>Friday</ins> at 5PM. </p> <!-- Using the <ins> element with the cite and datetime attribute --> <p> The venue for the exam is <del>Hall A</del> <ins cite="https://www.geeksforgeeks.org" datetime="2018-11-21T15:55:03Z"> Hall C </ins>. </p> </body> </html> Output: Comment More infoAdvertise with us Next Article How to define a text element that inserted into a document in HTML5 ? S sayantanm19 Follow Improve Article Tags : Web Technologies HTML Web technologies HTML5 HTML-Tags CSS-Properties HTML-Attributes HTML-Questions +4 More Similar Reads How to define a section in a document in HTML5 ? In this article, we will discuss how to define a section in a document in html5. We can create a section in the document using the Section tag. HTML <section> Tag: Section tags divide content into section and subsection. The section tag is used when there is a requirement for two header, foote 1 min read How to define a text that has been deleted from the document in HTML5 ? In this article, we will learn how to define some text that has been deleted from the document. This can be used to show a recent update in content or remove content that may be incorrect. It is usually followed by text that has been updated or corrected. We will use the <del> element to speci 2 min read How to define metadata about an HTML document in HTML5 ? The metadata means the information about data. The <meta> tag in HTML provides information about HTML Document or in simple words, it provides important information about a document. These tags are basically used to add name/value pairs to describe properties of HTML documents, such as expiry 1 min read How to define the root of an HTML document ? The <html> tag in HTML is used to define the root of HTML and XHTML documents. The <html> tag tells the browser that it is an HTML document. It is the second outer container for everything that appears in an HTML document followed by the <!DOCTYPE> tag. The <html> tag require 1 min read How to define style information of a document using HTML5 ? In this Article, we define style information for a document by using the <style> element in the document. It is used to change our text, viewed on the page. This change includes changing font-size, font-family, font-color, etc. Not only the texts but you can also change the style of a body or 1 min read Like