Questions tagged [underline]

An underline is a more or less horizontal line immediately below a portion of text. Generally, it is used to emphasize keywords or important passages. Not to be confused with "underscore", which is used for the character "_".

Underline in CSS

In CSS, underlining is created by setting the property "text-decoration" to "underline" (other line types, like strikethrough or overline, are also possible). The property "text-decoration-style" defines the appearance of the underline (e.g. solid, dotted, wavy). In CSS3, underline color can be defined by "text-decoration-color" to be different from the text color. For more information, see w3schools.com.

Underline in HTML

HTML has a presentational element <u> for underlined text. However, it was deprecated in HTML 4.01 in favor of CSS; in HTML5 it was redefined for text that should be "stylistically different" (cfr. w3schools.com).

Underline in Unicode

In Unicode, underline can be created by the combining diacritic "combining low line" (U+0332, "◌̲ ").

Underline in ASCII

In plain-text (ASCII) environments, underlining is often indicated by surrounding underscore characters, e.g. "This text is _underlined_."

596 questions
-3
votes
2 answers

How do I underline, overline, anyline in CSS?

I had no problem italicizing, but when it came time to underline or over line I couldn't figure it out. CSS Properties
-3
votes
2 answers

How do I accomplish this thick offset underline in CSS?

I'm trying to accomplish this underline style but everything I try isn't working. Here's the link to the actual website I found this on. https://www.timeout.com/newyork/music/best-music-videos-of-all-time
-3
votes
1 answer

Green underlines when writing code

There is a green underline similar to the red error underline that IntelliSense has. However, the green one appears to only point out tables, and SELECT columns. Nothing is wrong with them. How do I shut this off?
misterc625
  • 37
  • 2
  • 4
-3
votes
1 answer

Automatically animated css javascript underline

Need make CSS (Javascript) underline like this (Some Example from codepen) @import url(http://fonts.googleapis.com/css?family=Quando); *, *:after, *:before { box-sizing: border-box; -moz-box-sizing: border-box; } *…
Daancheg
  • 1
  • 1
-3
votes
2 answers

WPF - Underline some text in Richtextbox

I have a WPF RichTextBox (rtbControl) and the content as following: This is not an underlined line This is an underlined line I want to underline the 2nd line, how can I do it ?
-4
votes
4 answers

Some of my text all over the website underline automatically

I'm not quite sure what's going on, but I don't want any text underline on my website and for some reason, it just got added automatically... any of you know how to fix it? Is it because of the browser? The Stylesheet.css? I'm really confuse since…
frankmista
  • 13
  • 1
  • 4
-4
votes
1 answer

i cant remove underline

bold-normal,italic-normal working but underline-none not working? why?How fix first example with change styles parameters.