Fatskills
Practice. Master. Repeat.
Study Guide: Web-Design HTML-Basics Text Formatting strong em mark small del ins
Source: https://www.fatskills.com/web-designing/chapter/web-design-html-basics-text-formatting-strong-em-mark-small-del-ins

Web-Design HTML-Basics Text Formatting strong em mark small del ins

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~4 min read

What This Is and Why It Matters

Text formatting in HTML involves using specific tags to style and structure content effectively. Mastering tags like strong, em, mark, small, del, and ins is crucial for web design. These tags enhance readability, improve accessibility, and influence SEO. Incorrect usage can lead to poor user experience and reduced search engine rankings. For instance, misusing strong instead of em can confuse screen readers and affect content emphasis.

Core Knowledge (What You Must Internalize)

  • strong: Bold text, indicating importance (why this matters: enhances readability and SEO).
  • em: Italicized text, indicating emphasis (why this matters: improves accessibility and user experience).
  • mark: Highlighted text, drawing attention (why this matters: useful for highlighting key points).
  • small: Smaller text, often for side comments (why this matters: useful for less important text).
  • del: Strikethrough text, indicating deletions (why this matters: shows removed or outdated content).
  • ins: Underlined text, indicating insertions (why this matters: shows added or updated content).

Step‑by‑Step Deep Dive

  1. Identify the purpose of each tag.
  2. strong: Use for important text.
  3. em: Use for emphasized text.
  4. mark: Use for highlighted text.
  5. small: Use for less important text.
  6. del: Use for deleted text.
  7. ins: Use for inserted text.

  8. Apply the tags in HTML.

  9. Example: <strong>Important</strong> text.
  10. Example: <em>Emphasized</em> text.
  11. Example: <mark>Highlighted</mark> text.
  12. Example: <small>Less important</small> text.
  13. Example: <del>Deleted</del> text.
  14. Example: <ins>Inserted</ins> text.

  15. Understand the visual and semantic impact.

  16. strong and em affect both visuals and semantics.
  17. mark, small, del, and ins mainly affect visuals.

  18. Check accessibility implications.

  19. Screen readers interpret strong and em differently.
  20. del and ins can be read aloud as "deleted" and "inserted."

  21. Verify SEO benefits.

  22. Proper use of strong and em can improve search rankings.
  23. ⚠️ Overuse can lead to penalties.

How Experts Think About This Topic

Experts view text formatting as a balance between visual appeal and semantic meaning. They prioritize accessibility and SEO, using tags strategically to enhance user experience and search engine performance. Instead of focusing on aesthetics alone, they consider the holistic impact on the web page.

Common Mistakes (Even Smart People Make)

  • The mistake: Using strong for emphasis instead of em.
  • Why it's wrong: Screen readers interpret strong as important, not emphasized.
  • How to avoid: Remember, strong is for importance, em is for emphasis.
  • Exam trap: Questions may ask for the correct tag for emphasis.

  • The mistake: Overusing strong and em.

  • Why it's wrong: Can dilute the impact and affect SEO negatively.
  • How to avoid: Use sparingly and only where truly needed.
  • Exam trap: Scenarios may test for overuse.

  • The mistake: Ignoring del and ins.

  • Why it's wrong: Misses out on showing content changes clearly.
  • How to avoid: Use del for deletions and ins for insertions.
  • Exam trap: Questions on content updates.

  • The mistake: Misusing mark for emphasis.

  • Why it's wrong: mark is for highlighting, not emphasis.
  • How to avoid: Use em for emphasis, mark for highlights.
  • Exam trap: Distinguishing between em and mark.

Practice with Real Scenarios

Scenario: You are updating a blog post with new information.
Question: How do you indicate the deleted and inserted text? Solution: Use <del> for deleted text and <ins> for inserted text.
Answer: <del>Old text</del> <ins>New text</ins> Why it works: Clearly shows content changes, improving readability and accessibility.

Scenario: You need to emphasize a key point in your article.
Question: Which tag should you use? Solution: Use the <em> tag.
Answer: <em>Key point</em> Why it works: Italicizes the text and indicates emphasis to screen readers.

Scenario: You want to highlight a quote in your text.
Question: Which tag is appropriate? Solution: Use the <mark> tag.
Answer: <mark>Highlighted quote</mark> Why it works: Visually highlights the text without implying emphasis.

Quick Reference Card

  • Use strong for important text, em for emphasis.
  • mark for highlights, small for side comments.
  • del for deletions, ins for insertions.
  • Overuse of strong and em can affect SEO.
  • Remember: strong is important, em is emphasis.
  • Use del and ins to show content changes.
  • mark is for highlights, not emphasis.

If You're Stuck (Exam or Real Life)

  • Check the purpose of the text you are formatting.
  • Reason from the semantic meaning of each tag.
  • Estimate the impact on accessibility and SEO.
  • Refer to the HTML specification for tag definitions.

Related Topics

  • CSS Styling: Learn how to enhance text formatting with CSS.
  • Accessibility: Understand how screen readers interpret HTML tags.
  • SEO Best Practices: Study how proper tag usage affects search engine rankings.


ADVERTISEMENT