Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-settings.php on line 472 Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-settings.php on line 487 Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-settings.php on line 494 Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-settings.php on line 530 Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-includes/cache.php on line 103 Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-includes/query.php on line 21 Deprecated: Assigning the return value of new by reference is deprecated in /home/bahus/data/www/fixblog.ru/html/wp-includes/theme.php on line 623 Fix Blog - HTML Справочник » SUB

SUB

Тег SUB

Браузер Internet Explorer Netscape Opera Safari Mozilla Firefox
Версия 5.5 6.0 7.0 6.0 7.0 8.0 7.0 8.0 9.0 1.0 1.7 1.0 2.0
Поддерживается Да Да Да Да Да Да Да Да Да Да Да Да Да
HTML: 3.2 4 XHTML: 1.0 1.1

Описание

Отображает шрифт в виде нижнего индекса. Текст при этом располагается ниже
базовой линии остальных символов строки и уменьшенного размера.

Синтаксис

<sub>Текст</sub>

Закрывающий тег

Обязателен.

Параметры

Нет.

Аналог CSS

vertical-align: sub

Пример 1. Использование тега <SUB>

Валидный код<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

<title>Тег SUB</title>

</head>
<body>
<p><b>Формула серной кислоты:</b> <i>H<sub><small>2</small></sub>SO<sub><small>4</small></sub></i></p>

</body>
</html>

Результат данного примера показан ниже.

Рис. 1

Рис. 1. Вид текста, оформленного с помощью тега <SUB>

Filed under SUB