Friday, 6 February 2015

TABLE 4.1 HTML tags

Tag
Attribute
Use

<html>…</html>

.
The entire HTML page
<head>…</head>

The head, or prologue, of the HTML page

<body>…</body>

All the other content in the HTML page.

<title>..</title>

The title of the page.

<ht>…</h1>

First – level heading.

<h2>…</h2>

Second- level heading.

<h3>…</h3.

Third – level heading

<h4>…</h4>

Fourth  - level heading.

<h5>…</h5

Fifth – level heading.

<h6>…</h6>

Sixth-level heading.
<p>…/<p>

A paragraph.
<o1>..</o1>

An ordered (numbered) list. 
Each of the items in the list 
begins with <1i>.





Type




Specifies the numbering
scheme to use in the list. This attribute is deprecated in the list. This attribute is deprecated in HTML 4.01.
<1i> ..</1i>

Start
An unordered (bulleted or otherwise-marked) list. Each

Type
of the items in the list begins


 with <i>.
Specifies the bulleting scheme to use in the list. This attribute is deprecated in HTML 4.01.
Individual list items in ordered, unordered, menu, or directory lists. The closing tag is optional in HTML, but is required in XHTML 1.0.







Value 
Resets the numbering in the middle of an ordered (<o1>) lists. This attribute is deprecated in HTML 4.01.
<d1>….</d1>

A glossary or definition list. Items in the list consist of pairs of elements: a term and its definition.

<dt>…</dt>

The term part of an item in a glossary list. Closing tag is optional in html. But required in XHTML 1.0
<dd>…</dd>

The definition part of an item in a glossary list.  Closing tag is optional in HTML, but required in XHTML 1.0
<!-----…..------ >

A comment.



Property
Use/values
List –style - type
Used to specify the bullet style or numbering style for the list. Valid values are disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha, and none.
White-space
Specifies how white space is handled for list items. Valid values are pre, no wrap and normal.
List-style-image.
The image to use in place of the bullets for a list. The value should be the URL of the image.
List-style-position
Defines the alignment of lines of text in list items after the first. Values are inside and outside.

List-style
enables you to set multiple list properties at once: list style type, list style position, and the URL of the bullet style.e

No comments:

Post a Comment