Thursday, January 22, 2009

HTML TEXT

HTML Code :
<h1 style="text-align:center">
<FONT SIZE= "+5" FACE="arial" COLOR="#F49F00">
HTML TEXT</FONT></h1>


HTML INTRODUCTION
HTML Code :
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph</p>
</body>
</html>

Output :

My First Heading


My first paragraph





BOLD TEXT

HTML Code :
<b>bold text</b>

Output :
bold text


ITALIC TEXT

HTML Code :
<i> text </i>

Output :
italic text


UNDERLINE

HTML Code :
<U> text </U>

Output :
underline text


CENTRE TEXT

HTML Code :
<centre> centre text </centre>

Output :
centre text


STRIKE TEXT

HTML Code :
<STRIKE> text </STRIKE>

Output :
strike text


TYPEWRITTER TEXT

HTML Code :
<tt> text </tt>

Output :
typewritter text


HEADER

HTML Code :
<td><h1>This is header 1</h1></td>
<td><h2>This is header 2</h2></td>
<td><h3>This is header 3</h3></td>
<td><h4>This is header 4</h4></td>
<td><h5>This is header 5</h5></td>
<td><h6>This is header 6</h6></td>

Output :

This is header 1

This is header 2

This is header 3

This is header 4

This is header 5
This is header 6



HTML STYLE
<h1 style="text-align:center">Text</h1>
<p style="text-align:center">Text</p>
<p style="background-color:yellow">Text</p>
<p style="font-size:50px">Text</p>
<p style="font-family:Times">Text</p>

Align Centre Text
HTML Code :
<p style="text-align:center">Text</p>
Output :

Text



HTML Code :
<h1 style="text-align:center">Text</h1>
Output :

Text



Background Color Text
HTML Code :
<p style="background-color:yellow">Text</p>
Output :

Text



Size Text
HTML Code :
<p style="font-size:50px">Text</p>
Output :

Text



Font Text
HTML Code :
<p style="font-family:Times">Text</p>
Output :

Text





HTML FONTS
arial algerian bookman braggadocio courier desdemona garamond modern
Size 5 Size 4 Size 3 Size 2 Size 1 Size 0
Red black yellow blue green violet

HTML Code :
<font face="bookman" size="5" color="red">Text</font>

Output :
Text



COLOR TEXT
This text using Hex #'s
HTML Code :
<FONT COLOR="#ff0000"> Red text </FONT>
<FONT COLOR="#ff8000"> Orange text </FONT>
<FONT COLOR="#ffff00"> Yellow text </FONT>
<FONT COLOR="#80ff80"> Green text </FONT>
<FONT COLOR="#0000ff"> Blue text </FONT>
<FONT COLOR="#9805c9"> Violet text </FONT>
Output :
Red text
Orange text
Yellow text
Green text
Blue text
Violet text



MARQUEE

HTML Code :
<marquee width="300" loop="infinite"> text </marquee>

Output :
text


HTML Code :
<marquee border="300" loop="infinite" align="middle" direction="right" scrollamount="1" width="300" height="30"> <center> text </center></marquee>

Output :
text



HTML Code :
<B><MARQUEE bgcolor="black" WIDTH="300" HEIGHT="30" LOOP="infinite"> <FONT Size="5" Face="arial" COLOR="white"> text </FONT> </MARQUEE></B>

Output :
text


HTML Code :
<B><MARQUEE bgcolor="black" WIDTH="300" HEIGHT="30" LOOP="infinite" BEHAVIOR="alternate"> <FONT size="5" Face="arial" COLOR="white"> text </FONT> </MARQUEE>
Output :
text


BLOCKQUOTE

HTML Code :
<form><textarea rows="1" cols="50">Text</textarea></form><blockquote></blockquote>
Output :