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 Справочник » I

I

Тег I

Браузер 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

Описание

Устанавливает курсивное начертание шрифта. Допустимо использовать этот тег
совместно с другими тегами, которые определяют начертание текста.

Синтаксис

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

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

Обязателен.

Параметры

Нет.

Аналог CSS

font-style: italic

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

Валидный код<!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>Тег I</title>
</head>
<body>

<p><b><i>Lorem ipsum dolor sit amet</i></b></p>

<p><i>Lorem</i> ipsum dolor sit amet, consectetuer adipiscing elit,
sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat
volutpat. <i>Ut</i> wisis enim ad minim veniam, quis nostrud exerci
tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>

</body>

</html>

Результат данного примера продемонстрирован на рис. 1.

Рис. 1

Рис. 1. Вид курсивного текста

Примечание

Хотя использование тега <I> не осуждается в
HTML 4, применение стилей предоставляет больше возможностей по управлению начертанием
текста.

Filed under I