
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
HTML Tag
The <ins> tag in HTML is used to display a text which have been added, for example, new content, updated price, etc.
Following are the attributes of the <ins> tag −
- cite − A URL that would tell when the new text was added
- datetime − The date and time when the text was inserted.
Example
Let us now see an example to implement the <ins> element in HTML −
<!DOCTYPE html> <html> <body> <h2>Player Details with Reporting Time</h2> <form> <p>These are the <ins>details with reporting time</ins>:</p> <fieldset> <legend>New Details:</legend> Player: <input type="text"><br> Rank: <input type="number"><br> Email: <input type="email"><br> Reporting Time: <input type="time"> </fieldset> </form> </body> </html>
Output
This will produce the following output displaying an underlines text because we have set it using <ins> −
In the above example, we have a fieldset in the <form> element, with 4 elements
<fieldset> <legend>New Details:</legend> Player: <input type="text"><br> Rank: <input type="number"><br> Email: <input type="email"><br> Reporting Time: <input type="time"> </fieldset>
Before that, we have set a text which is added using the <ins> tag −
<p>These are the <ins>details with reporting time</ins>:</p>
- Related Articles
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML tag
- HTML Tag
- HTML Tag
- HTML Tag
- HTML Tag

Advertisements