アンダーライン
現代の完成文書において、「強調」の用途にアンダースコアを用いることは一般的に避けられています。
校正において「このテキストをイタリック体で表記せよ」という指示を表す慣習があり、伝統的に印刷業者への指示として原稿やタイプ原稿で使用されてきました。
ウェブブラウザにおいて、デフォルトでは通常、「ハイパーリンク」を下線を引く(そして通常は色を変える)ことで区別します Nrem.icon「ハイパーリンクに下線」は2010年代以降の標準的スタイルではない
The ASCII underscore character can be inserted with the entities _ or _ (or _ or _).
(ASCII アンダースコア文字は、エンティティ _または_(または_または_) とともに挿入できます)
HTML has a presentational element <u> that was originally used to underline text; this usage was deprecated in HTML4 in favor of the CSS style { text-decoration: underline }.
(HTMLにはプレゼンテーション要素 <u> があり、これは元来はテキストに下線を引くために使用されていたものです。この用法はHTML4 で非推奨となり、 CSSスタイル { text-decoration: underline } が推奨されました)
In HTML5, the tag reappeared but its meaning was changed significantly:
it now "represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation".
This facility is intended for example to provide a red wavy line (or wiggly line) underline to flag spelling errors at input time but which are not to be embedded in any stored file (unlike an emphasis mark, which would be). Other styles are also available: doubled, dotted, and dashed.
「非テキスト形式の注釈をレンダリングすべきインラインテキストの範囲を提示する」
この機能は、例えば入力時にスペルミスを指摘するために赤い波線(またはうねうね線)の下線を表示することを目的としていますが、保存されたファイルには埋め込まれません(強調マークとは異なります)。 他にも、二重線、点線、破線などのスタイルが利用可能です。 16 <u>{text-decoration: underline} The elements may also exist in other markup languages, such as MediaWiki.
これらの要素は、 MediaWikiなどの他のマークアップ言語にも存在する場合があります。
The Text Encoding Initiative (TEI) provides an extensive selection of related elements for marking editorial activity (insertion, deletion, correction, addition, etc.). テキストエンコーディングイニシアチブ(TEI)は、編集活動(挿入、削除、修正、追加など)をマークするための関連要素を豊富に提供しています。
独立したアンダースコア文字(_)
空白文字の代わりとして:
コンピュータのファイル名、電子メールアドレス、インターネットURLなど、スペースが使用できない状況で単語の境界を示すために使用されます(Mr_John_Smith)
プログラミング言語 – スペースを識別子に使用できない言語では、文字間にアンダースコアを挿入して「複数単語」の識別子を作成するのが一般的です。