Тег b
Описание
Описание
Устанавливает жирное начертание шрифта. Допустимо использовать этот тег совместно с другими тегами, которые определяют начертание текста.
Закрывающий тег
Обязателен.
Пример: кода HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="/img/favicon.gif" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>
</head>
<body>
<p><b>Methods of memorizing a lot of foreign words.</b></p>
<p>Someone writes the new words he encounters in the text, a new book with the translation and transcription, and then repeats them over and over again to myself. Someone is trying to remember the meanings of words, using the association. One simply repeats the words at night before bedtime.</p>
<p><b>Everyone chooses a method to rapidly learn new words.</b></p>
<p>But, unfortunately, not all of these methods are effective.</p>
</body>
</html>

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

Рис. 1. Вид жирного начертания шрифта в тексте
Дата: 2012-05-02 | Просмотров: 316
Тег center
HTML теги
Oписание
Тег <center> выравнивает содержимое контейнера по центру относительно родительского элемента. Синтаксис <center> Текст </center>
Атрибуты
Нет.
Аналог CSS text-align
Валидация
Использование этого тега осуждается спецификацией HTML, валидный код получается только при использовании переходного <!DOCTYPE>.
Закрывающий тег
Обязателен.
Пример: Кода HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="/img/favicon.gif" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<center>Methods of memorizing a lot of foreign words.
Someone writes the new words he encounters in the text, a new book with the translation and
transcription, and then repeats them over and over again to myself.
Someone is trying toremember the meanings of words, using</center>
</body>
</html>
Данный пример показан на рисунке №1

Рисунок №1
Дата: 2012-01-10 | Просмотров: 164









