Slide 1
Slide 2
Slide 3

Underlined Vs Inserted tag in HTML5 (HTML-V30)

No Comments
3. Underlined Vs Inserted tag
<u> is a tag used to underline text for visual appearance (Style) only.
It has no semantic meaning and does not indicate that the text is important or newly added.
<ins> is a tag used to show text that has been added (Inserted Text) to a document. It has semantic meaning and helps systems (Screen Reader / SEO) understand that this text is new.

  • Underlined (<u>)
    •  Underlines text for design / style only
    •  No semantic meaning (carries no important meaning)
    •  Often used for:
      • Numbers / labels / headings
      • Special words or Terms
      • Decorating text
  •  Inserted (<ins>):
    •  Underlines text to mark new text / Inserted Text
    •  Has semantic meaning
    •  Screen readers will read it as "Inserted"
    •  Used for:
      • Revised documents / Updated content
      • Academic / Legal documents
      • Better for SEO and Accessibility than <u>

Source Code:

Copied!
<!DOCTYPE html>
<html>
<head>
    <title>Underlined vs Inserted Example</title>
</head>
<body>

	<h2>Underlined vs Inserted Tag Example</h2>

	<p>This is an <u>underlined word</u> for style only.</p>

	<p>This is an <ins>inserted word</ins> to show new content.</p>

	<p>
	    <u>Underlined text</u> → style only (visual effect)<br>
	    <ins>Inserted text</ins> → semantic meaning (screen readers detect as new content)
	</p>

</body>
</html>

Result: 


Watch the video:


Ebook: https://softkhpc.blogspot.com/2026/11/html-tutorial-beginners.html

back to top