.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!



Home >> Articles >> General >> Post New Resource Bookmark and Share

 Subscribe to Articles

Some Best HTML codes

Posted By :Nikhil Kumar      Posted Date :28/02/2010   Points :25   Category: General    URL: http://fast-get.com

Some Best HTML codes
 


Creating Marquee in HTML

How To:

First Open your notepad and type this code and then save this with any name but the extesion should be = .htm or .html

Code for Marquee

 
<HTML>
<BODY BGCOLOR="GREEN">
<MARQUEE bgcolor="#CCCCCC" loop="-1" scrollamount="2" width="100%">NIKHIL KUMAR JAUHARI</MARQUEE>
</BODY>
</HTML>








Create a form in HTML
 <HTML>
<TITLE> MY WEB PAGE
</TITLE>
<BODY ALIGN="CENTER">
<FORM ALIGN="CENTER">
USERNAME <INPUT TYPE="TEXT" NAME="TEXTFIELD" SIZE="32" MAXLENGTH="5" ><P>
PASSWORD <INPUT TYPE="PASSWORD" NAME="PASSWORD" MAXLENGTH="8"><P>
<P ALIGN="LEFT"><B>SELECT THE AREA IN WHICH YOU WANT TO BUY THESE THINGS:</B></P>
<SELECT NAME ="SELECT" SIZE="3" MULTIPLE>
<OPTION>DELHI</OPTION>
<OPTION>MUMBAI</OPTION>
<OPTION>CALCUTTA</OPTION>
<OPTION>AUSTRILIA</OPTION>
<OPTION>JERMANY</OPTION>
<OPTION>BRITISH</OPTION>
<OPTION>SOUHT AFRICA</OPTION>
<OPTION>BRITISH</OPTION>
</SELECT>
<P ALIGN="LEFT"><B> SELECT THE WAY BY WHICH YOU WILL GET THESE THINGS</B></P>
<SELECT NAME="SELECT">
<OPTION>--SELECT--</OPTION>
<OPTION>AIR</OPTION>
<OPTION>SHIP</OPTION>
<OPTION>TRAIN</OPTION></SELECT></P>
<P><B>CHOOSE THE CONTENT FOR BUY</B></P>
<P>
<INPUT TYPE="CHECKBOX" NAME="CHECKBOX" VALUE="CHECKBOX">
IPOD</P>
<P>
<INPUT TYPE="CHECKBOX" NAME="CHECKBOX" VALUE="CHEKBOX">
PDA
</P>
<P>
<INPUT TYPE="CHECKBOX" NAME="CHECKBOX" VALUE="CHECKBOX">
NOTEPAD</P>
<P><B>SELECT THE PRICE RANGE</B> </P>
<P>
<INPUT TYPE="RADIO" NAME="RADIO" VALUE="RADIO">
$0 TO $20
</P>
<P>
<INPUT TYPE="RADIO" NAME="RADIO" VALUE="RADIO">
$20 TO $40
</P>
<P>
<INPUT TYPE="RADIO" NAME="RADIO" VALUE="RADIO">
$40 TO $100
</P>
<INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="SUBMIT">

<INPUT TYPE="RESET" NAME="RESET" VALUE="CLEAR">
</BODY>
</HTML>

Glowing the Text Effect

Code for glowing the Text

 <HTML>
<BODY>
<SPAN STYLE="position:relative; width:200; height:25; filter:glow (color=#3C0DF0,strength=2)">
<A href="MOUSEOVER COLOR.HTML">THIS IS THE GLOWING TEXT CLICK HERE</A></SPAN>
</BODY>
</HTML>


Mouse Over Text Description

<HTML>
<BODY>

 <A href="http://www.ORKUT.COM/" TITLE="THIS IS THE LINK BY WHICH YOU CAN LINK WITH ORKUT

&#13

&#13

&#13

&#13

&#13
CLICK here
and more...

">CLICK HERE TO LINK A WEB SITE</A>
</BODY>
</HTML>

Mouse over Alert

 <html>
<body>
<a href="" onMouseOver="alert('HEY HATT HATT CHALL BHAGG')">YAHA AA JALDI</a>
</body>
</html>

Mouse Over Color Change

 <HTML>
<BODY>

<TABLE BORDER="2" CELLPADDING="2" WIDTH="100%">
<TR onMouseover="this.bgColor='#FFF000'"onMouseout="this.bgColor='#FFFFFF'">
<TD>Your Table Data</TD>
</TR>
<TR onMouseover="this.bgColor='#FF0000'"onMouseout="this.bgColor='#FFFFFF'">
<TD>Your Table Data</TD>
</TR>
<TR onMouseover="this.bgColor='#FFFCCC'"onMouseout="this.bgColor='#FFFFFF'">
<TD>Your Table Data</TD>
</TR>
</TABLE>
</BODY>
</HTML>



Featured Articles


Best Practices No 5: - Detecting .NET application memory leaks
Memory leaks in .NET application have always being programmer's nightmare. Memory leaks are biggest problems when it comes to production servers. Productions servers normally need to run with least down time. Memory leaks grow slowly and after sometime they bring down the server by consuming huge chunks of memory. Maximum time people reboot the system, make it work temporarily and send a sorry note to the customer for the downtime. ... Read More
.NET Best Practice No: 1:- Detecting High Memory consuming functions in .NET code
One of the important factors for performance degradation in .NET code is memory consumption. Many developers just concentrate on execution time to determine performance bottle necks in a .NET application. Only measuring execution time does not clearly give idea of where the performance issue resides. Ok, said and done one of the biggest task is to understand which function, assembly or class has consumed how much memory. In this tutorial we will see how we can find which functions consume how much memory. This article discusses the best practices involved using CLR profiler for studying memory allocation.... Read More
How to improve your LINQ query performance by 5 X times ?
LINQ has been criticized by many early adopters for its performance issues. Well if you are just going to drag and drop using DBML code generator I am sure you will land up in to mess. Try doing this make a simple LINQ to SQL project using DBML and see your SQL profiler, I am sure you will never like to touch DBML code generator again. ... Read More
Responses

No response found. Be the first to respond this post

Post Comment
You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend