Документация
HTML CSS PHP PERL другое
Summary
 
Previous Page
Table of Contents
Next Page

Summary

style can be placed within other lists to create outlines and other complex arrangements of text.

in preformatted passages of monospaced text and how to control the size, color, and typeface of any section of text on a web page.

Table 5.3 Remember that all the HTML tags are listed in Appendix C, "Complete XHTML 1.1 and CSS 2 Quick Reference."

Table 5.3. HTML Tags and Attributes Covered in Hour 5

Tag/Attribute

Function

<em></em>

Emphasis (usually italic).

<strong></strong>

Stronger emphasis (usually bold).

<b></b>

Boldface text.

<i></i>

Italic text.

<tt></tt>

Typewriter (monospaced) font.

<pre></pre>

<big></big>

Text is slightly larger than normal.

<small></small>

Text is slightly smaller than normal.

<sub></sub>

Subscript.

<sup></sup>

Superscript.

<div></div>

A region of text to be formatted.


Attributes

 

style="text-align:alignment"

Align text to center, left, or right. (Can also be used with <p>, <h1>, <h2>, <h3>, and so on.)

style="font-family:typeface"

The typeface (family) of the font, which is the name of a font, such as Arial. (Can also be used with <p>, <h1>, <h2>, <h3>, and so on.)

style="font-size:size"

The size of the font, which can be set to small, medium, or large, as well as x-small, x-large, and so on. Can also be set to a specific point size such as 12pt.

style="color:color"

Changes the color of the text.

<ol></ol>

An ordered (numbered) list.


Attributes

 

style="list-style-type:numtype"

The type of numerals used to label the list. Possible values are decimal, lower-roman, upper-roman, lower-alpha, upper-alpha, and none.

<ul></ul>

An unordered (bulleted) list.


Attributes

 

style="list-style-type:bullettype"

The bullet dingbat used to mark list items. Possible values are disc, circle, square, and none.

<li></li>

A list item for use with <ol> or <ul>.


Attributes

 

style="list-style-type:type"

The type of bullet or number used to label this item. Possible values are disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha, and none.

<dl></dl>

A definition list.

<dt></dt>

A definition term, as part of a definition list.

<dd></dd>



Previous Page
Table of Contents
Next Page


 Приглашаем посетить сайты 
Мода Чехов Крылов Автомобили Кулинария Грибы Женщинам Фонвизин Херасков CSS