Меню
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP КАК СДЕЛАТЬ ПРОГРАММЫ SW3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS КИБЕРБЕЗОПАСНОСТЬ НАУКА О ДАННЫХ
     ❯   

CSS Справочники


CSS Свойства





text-decoration-line



Example

Set different types of text-decoration lines:

div.a {
  text-decoration-line: overline;
}

div.b {
  text-decoration-line: underline;
}

div.c {
  text-decoration-line: line-through;
}

div.d {
  text-decoration-line: overline underline;
}
Try it Yourself »

Definition text-decoration-line

Подработка: Перевод страницы

The text-decoration-line property sets the kind of text decoration to use (like underline, overline, line-through).

Tip: Also look at the text-decoration property, which is a short-hand property for text-decoration-line, text-decoration-style, text-decoration-color, and text-decoration-thickness.

Note: You can also combine more than one value, like underline and overline to display lines both under and over the text.

Show demo ❯

Default value: none
Inherited: no
Animatable: no. Read about animatable
Version: CSS3
JavaScript syntax: object.style.textDecorationLine="overline" Try it

Browser Support text-decoration-line

The numbers in the table specify the first browser version that fully supports the property.

Numbers followed by -moz- or -webkit- specify the first version that worked with a prefix.

Property
text-decoration-line 57.0 79.0 36.0
6.0 -moz-
12.1
7.1 -webkit-
44.0


CSS Syntax text-decoration-line

text-decoration-line: none|underline|overline|line-through|initial|inherit;

Property Values text-decoration-line

Value Description Play it
none Default value. Specifies no line for the text-decoration Demo ❯
underline Specifies that a line will be displayed under the text Demo ❯
overline Specifies that a line will be displayed over the text Demo ❯
line-through Specifies that a line will be displayed through the text Demo ❯
initial Sets this property to its default value. Read about initial
inherit Inherits this property from its parent element. Read about inherit

Related Pages text-decoration-line

CSS tutorial: CSS Text Decoration

HTML DOM reference: textDecorationLine property



×

Связаться с отделом продаж

Если вы хотите использовать услуги schoolsw3 как образовательное учреждение, команда или предприятие, отправьте нам электронное письмо:
sales@schoolsw3.com

Сообщить об ошибке

Если вы хотите сообщить об ошибке или внести предложение, отправьте нам электронное письмо:
help@schoolsw3.com

Schoolsw3 оптимизирован для обучения и подготовки. Примеры могут быть упрощены для улучшения чтения и обучения. Учебники, ссылки и примеры постоянно проверяются, чтобы избежать ошибок, но мы не можем гарантировать полную правильность всего контента.
При использовании Schoolsw3 вы соглашаетесь прочитать и принять наши условия использования,
политику использования файлов cookie и конфиденциальности.

Авторское право 1999- принадлежит Refsnes Data. Все права защищены. Schoolsw3 работает на SW3.CSS.