Friday, 27 February 2015

TABLE 6.2 HTML TAGS FROM LESSON 6

   
TAGS
ATTRIBUTE
USE

<address>…..</address>

A signature for each web page; typically occurs near the bottom of each document and contains contact or copyright information.

<b>….</b>

Bold text.

<big>…</big>

Text in a larger font than the text around it.

<blink>…</blink>

Causes the enclosed text to blink (Netscape only).

<block quote>…</block quote>

A quotation longer than a few words.

<cite>..</cite>

A citation

<code>..</code>

A citation.

<dfn>..</dfn>

A definition or a term about to be defined.

<Em>..</Em>

Emphasized text.

<I>…</I>

Italic text.

<kbd>…</kbd>

Text to type in by the user.

<pre> …</pre>

Preformatted text: all spaces, tabs, and returns are retained. Text is printed in a monospaced font.

<s>…</s>

Strikethrough text. (Deprecated in HTML 4.01. ).

<Samp>..</samp>

Sample text.

<small> …</small>

Text in a smaller font that the text around it.

<strong>..</strong>

Strongly emphasized text.

<sub>..</sub> 

Subscript text.

<sup>…</sup>

Superscript text.

<tt>….</tt>

Text in typewriter font (a monospaced font such as courier).
<u>…</u>

Underlined text.

<var>…</var>

A variable name.

<span>…</span>

A generic tag used to apply styles to a particular bright of text.

<hr>

A horizontal rule line at the given position in the text. There’s no closing tag in HTML for <hr>; for XHTML, add a space and forward slash (/) at the end of the tag and its attributes (for example, <hr size = “2” width = “75%” ‘/>).


size
The thickness of the rule, in pixels. (deprecated in HTML 4.01)


Width
The width of the rule, either in exact pixels or as a percentage of page width (for example, 50%). (Deprecated in HTML 4.01.)


No shade
Displays the rule without three dimensional shading. (Deprecated in HTML 4.02).

<br>

A  line break; ;starts the next character on the next line, but doesn’t create a new paragraph or list item, there’s no closing tag in HTML for <br>; for XHTML, add a space and forward slash (/) at the end of the tag and its attributes (for example, <br clear = “left” />.

<nobr….</nobr>

Doesn’t wrap the enclosed text (nonstandard; supported by Netscape and internet explorer).

(wbr>

Wraps the text at this point only if necessary (nonstandard; supported by Netscape and internet explorer). Adds a space and forward slash at the end of the tag for XHTMO. 1.0.

<p>…/<pr>
<h1 – 6>….</j1 -6>
Align = “left”
Left- justifies the text within that paragraph or heading, (Deprecated in HTML 4.01.)


Align = “right”
Right – justifies the text within that paragraph or heading. (Deprecated in HTML 4.01)

Align “center”
Centers the text within that paragraph or heading. (Deprecated in HTML 4.01)
<div>…</div>
Align =”left”
Left-justifies all the content between the opening and closing tags. (Deprecated in HTML 4.01)


Align = “right”
Right – justifies all the content between the opening and closing tags, (Deprecated in HTML 4.01).

<center>…</center>

Centers all the content between the opening and closing tags. (Deprecated in HTML 4.01).

<font>…</font>
Size
The size of the font to change to, either from 1 to 7 (default is 3) or as a relative number using +N or –N. relative font sizes are based on the value of <base font>/ (Deprecated in HTML 4.01).


face
The names of the font to change to, as a list of fonts to choose from, (deprecated in HTML 4.01)

<Base font >
Size
The default font size on which relative font size changes are based. (deprecated in HTML 4.01) there is no closing tag HTML for <base font >; for XHTML, add a space and forward slash (/) at the end of the tag and its attributes (for example, <base font size = “-1 “ />.

  

No comments:

Post a Comment