Introduction
This is a simple application for beginners that shows how to create a rotation of a title on a web page using HTML 5 and CSS tools. We know that HTML 5 is the advanced version of HTML. Basically HTML 5 can be used to develop 3D applications. This article is intended to help with the use of HTML5 tools to develop a rotation of a title on a web page application. We know that HTML is HyperText Markup Language and is used to display data on a browser. CSS is the acronym for Cascading Style Sheet that is used for design. CSS defines how HTML elements are to be displayed.
Step 1: First Open an HTML editor such as Notepad.
- Open start->Notepad.
- The name of the editor is "Rotation."

Step 2: Create a Folder on a desktop.
- Right-click on desktop->new->Folder.
- The name of the folder is "Tom".

Step 3: Open Visual Studio.
- Go to file -> New->Projects.
- Create an ASP. NET Web Application.
- Name of "India.aspx".


Step 4: Add an HTML file to your web application.
- Right-click on Solution Explorer.
- Add->add new item->HTML form.
- The Name of the HTML form is "Rotation.html".

Code :
Step 6: Add one CSS file named design.css that is used to set the properties of a body.
- window.onload = function ()
- {
- var M = ctx("holder", 1240, 480),
- fonts = [0, M.getFont("1"), M.getFont("2"), M.getFont("3"), M.getFont("Arial Black")],
- rax = M.print(20, 240, "CShorpCorner", fonts[4], 120).attr({ fill: "#00ff99" })
- NUMBERS = [
- M.print(800, 380, "3", fonts[3], 180).attr({ fill: "#00ff99" }),
- ], times = 3;
- for (var i = 0, ii =rax.length; i < ii; i++) {
- rax[i].animate({ fill: ctx.getColor() }, 2000);
- }



Krishna GaradPosted Feb 4, 2012, 2:01 AM
nice one keep it up animation