abbr

bootstrap5.css

bootstrap5.css
abbr[title],
abbr[data-bs-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

html bootstrap5 Sample

略語:abbr


HTML

HTML

  <!-- 略語にカーソルを合わせるとtitleの内容(正式名称)を表示される -->
  <p><abbr title="HyperText Markup Language">HTML</abbr></p>
  <p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr></p>