Pages - Menu

Friday, 13 September 2013

what is HTML5 's new tag?

Are u keen for know that how many new tag added by html5 developer??

Here is the list of that.....

New Elements in HTML5

The internet, and the use of the internet, has changed a lot since HTML 4.01 became a standard in 1999.
Today, several elements in HTML 4.01 are obsolete, never used, or not used the way they were intended. All those elements are removed or re-written in HTML5.
To better handle today's internet use, HTML5 also includes new elements for drawing graphics, adding media content, better page structure, better form handling, and several APIs to drag/drop elements, find Geolocation, include web storage, application cache, web workers, etc.

The New <canvas> Element

TagDescription
<canvas>Used to draw graphics, on the fly, via scripting (usually JavaScript)


New Media Elements

TagDescription
<audio>Defines sound content
<video>Defines a video or movie
<source>Defines multiple media resources for <video> and <audio>
<embed>Defines a container for an external application or interactive content (a plug-in)
<track>Defines text tracks for <video> and <audio>


New Form Elements

TagDescription
<datalist>Specifies a list of pre-defined options for input controls
<keygen>Defines a key-pair generator field (for forms)
<output>Defines the result of a calculation


New Semantic/Structural Elements

HTML5 offers new elements for better structure:
TagDescription
<article>Defines an article
<aside>Defines content aside from the page content
<bdi>Isolates a part of text that might be formatted in a different direction from other text outside it
<command>Defines a command button that a user can invoke
<details>Defines additional details that the user can view or hide
<dialog>Defines a dialog box or window
<summary>Defines a visible heading for a <details> element
<figure>Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
<figcaption>Defines a caption for a <figure> element
<footer>Defines a footer for a document or section
<header>Defines a header for a document or section
<mark>Defines marked/highlighted text
<meter>Defines a scalar measurement within a known range (a gauge)
<nav>Defines navigation links
<progress>Represents the progress of a task
<ruby>Defines a ruby annotation (for East Asian typography)
<rt>Defines an explanation/pronunciation of characters (for East Asian typography)
<rp>Defines what to show in browsers that do not support ruby annotations
<section>Defines a section in a document
<time>Defines a date/time
<wbr>Defines a possible line-break


Removed Elements

The following HTML 4.01 elements are removed from HTML5:
  • <acronym>
  • <applet>
  • <basefont>
  • <big>
  • <center>
  • <dir>
  • <font>
  • <frame>
  • <frameset>
  • <noframes>
  • <strike>
  • <tt>

Sunday, 14 July 2013

HTML 5

First of all Thank you for visit my blog

First i explain what is HTML5?






HTML5 is a markup language for structuring and presenting content for the World Wide Web and a core technology of the Internet. It is the fifth revision of the HTML standard (created in 1990 and standardized as HTML 4 as of 1997)[2] and, as of December 2012, is a W3C Candidate Recommendation.[3] Its core aims have been to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM Level 2 HTML.[2]
Following its immediate predecessors HTML 4.01 and XHTML 1.1, HTML5 is a response to the observation that the HTML and XHTML in common use on the World Wide Web are a mixture of features introduced by various specifications, along with those introduced by software products such as web browsers, those established by common practice, and the many syntax errors in existing web documents.[4] It is also an attempt to define a single markup language that can be written in either HTML or XHTML syntax. It includes detailed processing models to encourage more interoperable implementations; it extends, improves and rationalises the markup available for documents, and introduces markup and application programming interfaces (APIs) for complex web applications.[5] For the same reasons, HTML5 is also a potential candidate for cross-platform mobile applications. Many features of HTML5 have been built with the consideration of being able to run on low-powered devices such as smartphones and tablets. In December 2011, research firm Strategy Analytics forecast sales of HTML5 compatible phones will top 1 billion in 2013.[6]
In particular, HTML5 adds many new syntactic features. These include the new

Tuesday, 30 October 2012

Facebook Shortcuts Keys For You

Facebook Shortcuts Keys For Your "Google Chrome" Web Browser

Press: "Alt+1" = To View your 'News Feed'
Press: "Alt+2" = To View your own 'Profile'.
Press: "Alt+3" = To View pop-up of 'friend requirements'.
Press: "Alt+4" = To View pop-up of Your facebook 'Messages'.
Press: "Alt+5" = To View pop-up of Your Facebook 'Notifications'.
Press: "Alt+6" = To View Your facebook 'Account Settings'.
Press: "Alt+7" = To View your facebook 'Privacy Settings'.
Press: "Alt+8" = To View your Facebook’s own profile.
Press: "Alt+9" = To Read newest Terms of Service agreement.
Press: "Alt+?"  = To Search
Press: "Alt+m" = To Compose a 'New message'.
Press:   "L"      = Like/Unlike Photos in Light Box


If you're on "Mozilla Firefox" web browser then you've to Press "Shift" along with above Facebook shortcut keys.

Press: "Shift+Alt+1" = To View your 'News Feed'
Press: "Shift+Alt+2" = To View your own 'Profile'.
Press: "Shift+Alt+3" = To View pop-up of 'friend requirements'.
Press: "Shift+Alt+4" = To View pop-up of Your facebook 'Messages'.
Press: "Shift+Alt+5" = To View pop-up of Your 'Notifications'.
Press: "Shift+Alt+6" = To View Your facebook 'Account Settings'.
Press: "Shift+Alt+7" = To View your facebook 'Privacy Settings'.
Press: "Shift+Alt+8" = To View your Facebook’s own profile.
Press: "Shift+Alt+9" = To Read newest Terms of Service agreement.
Press: "Shift+Alt+0" = To Open Facebook Help point
Press: "Shift+Alt+?" = To Search
Press: "Shift+Alt+m" = To Compose a 'New message'.


If you're on "Internet Explorer" web browser then you've to Press "Enter" along with Facebook shortcut keys of Google Chrome.

Press: "Alt+1+Enter" = To View your 'News Feed'
Press: "Alt+2+Enter" = To View your own 'Profile'.
Press: "Alt+3+Enter" = To View pop-up of 'friend requirements'.
Press: "Alt+4+Enter" = To View pop-up of Your facebook 'Messages'.
Press: "Alt+5+Enter" = To View pop-up of Your Facebook 'Notifications'.
Press: "Alt+6+Enter" = To View Your facebook 'Account Settings'.
Press: "Alt+7+Enter" = To View your facebook 'Privacy Settings'.
Press: "Alt+8+Enter" = To View your Facebook’s own profile.
Press: "Alt+9+Enter" = To Read newest Terms of Service agreement.
Press: "Alt+?+Enter" = To Search
Press: "Alt+m+Enter" = To Compose a 'New message'.
Press:     "L"             = Like/Unlike Photos in Light Box

Tuesday, 25 September 2012

Introduction - What is AJAX?

AJAX, or Asynchronous JavaScript and XML, is a fancy way to use JavaScript and XML to communicate with a web server without refreshing the web page.

Why use AJAX?

There are a couple of reasons to use AJAX in lieu of the traditional form submission. The first is that it is very light weight: instead of sending all of the form information to the server and getting all of the rendered HTML back, simply send the data the server needs to process and get back only what the client needs to process. Light weight means fast. The second reason to use AJAX is because (as the logo in the link above makes clear) AJAX is cool.

Using AJAX with ASP.NET

Even though AJAX is a client side technology that uses JavaScript, the client-server interaction is very important.
Adam Vandenberg has put together a nice JavaScript wrapper for AJAX. His wrapper even does caching, although that will not be discussed here. His wrapper is used in the code examples and project files.

Using the code

There are four parts of the code that are important to look at:
  1. The HTML There are two form elements that will interact with AJAX. The input button "btn1" will invoke the AJAX code, which will make a server call and fill the select element "select1".
    <select id="select1"></select>
    <input id="btn1" value="Fill Select" type="button" <BR>       onclick="getOptions();">
  2. The JavaScript that calls the AJAX. The function getOptions() will do the main work.
    // Create the Request object (the AJAX wrapper)
    var request = new Request();
    // Change this to fit your environment
    var url = "http://localhost/ajax/";
    function getOptions()
    {
        // Call the AJAX
        // Notice the second parameter is actually a function to handle the <BR>    // response
        request.GetNoCache(url + "requests/getOptions.aspx",
        function(result)
        {
            if (result.readyState!=ReadyState.Complete)
                return;               
            if (result.status==HttpStatus.OK && result.responseText != "")
            {
                // If the request was successfull and returned data
                var vals = result.responseText.split("~");
                for (i=0; i<vals.length; i++)
                {
                    var pair = vals[i].split("|");
                    var op = new Option(pair[1], pair[0], false, false);
                    var sel = document.getElementById("select1");
                    sel.options[sel.length] = op;
                }
                alert("Remember that the new values in form" + 
                      " element 'select1' are not in viewstate." + 
                      " Code appropriately.");
            }
            else
            {
                // Handle the failure condition
                alert('Get options failed.');
            }
        }
        )
    }
  3. The ASPX file. The important thing here is that the aspx file only returns the string (XML) data from the code behind.
    <%@ Page language="c#"
                Codebehind="getOptions.aspx.cs"
                AutoEventWireup="false"
                Inherits="ajax.requests.getOptions" %>
    <%=result%>
  4. The code behind.
    protected string result = string.Empty;
    private void Page_Load(object sender, System.EventArgs e)
    {
        for (int i=0; i<10; i++)
        {
            result += i.ToString() + "|option " + i.ToString() + "~";
        }
        // to drop the last '~'
        result = result.Substring(0, result.Length - 1); <BR>}

Sunday, 26 August 2012

Android and its Fragmentation


Android has been making rapid strides into the Mobile market and has become a serious contender for the top 1 position in the mobile market (and is picking up on the tablet market quite quickly).

The fact that it was anopen platform allowing for lot of innovation and choice made the developer world and the mobile OEMs vouch for it and the inroads it madeinto the market was significant – significant enough for Apple to stand up, take note and even file a law suit J

However, this very fact is now slowly turning to be a bane for the Android platform, as it has led to a huge amount of fragmentation in the market. OpenSignalMaps has done a research in 195 countries and has come up with the graphic that clearly depicts the kind of fragmentation in Android devices.

Samsung has clearly take a lion share of the market followed by HTC, Sony Ericcson and Motorola. An interesting fact is that they have spotted 3997 distinct devices!

This very fact has brought down the euphoria around Android. Another study by Appcelerator and International Data Corporation (IDC) says:

“The most significant finding in the Q2 2012 Developer Survey is Apple opening a dramatic 16% lead over Google’s Android as far as which OS will win in the enterprise marketplace, with 53.2% of developers saying iOS will win vs. 37.5% saying Android will win. This is a very significant change over only three quarters: in Q3 2011, developers viewed iOS and Android in a dead heat at 44% each.”
The challenges of this fragmentation are around the varied screen sizes and the many OS versions which translate to the larger effort and investment into testing on the varied combinations to keep all customers happy.
A graphic that illustrates the varied resolutions:
and the number of device models:

The above statistics sound a bit unsettling around the fragmentation aspects of Android and would probably scare away developers from investing on this platform!
But in my opinion, this is no different from the fragmentation on PC (probably better than that) where the browsers, the CPU powers, the models etc. are varied and still we have lot of gaming apps that are developed for all of them.
Probably the good news is that Android right from the beginning is learning its lessons quickly and it introduced the concept of “fragments” to scale to varied screen sizes and designs.
Android is just going through the stabilization phase of a open platform and the good news from the same study by Appelerator and IDC says:
“Android has arrested its decline in developer interest. After a noticeable erosion of developer interest over the last year, developers’ Android handset “very interested” levels stabilized in Q2 2012 compared to Q1 2012, and Android tablet “very interested” levels ticked up 2.9%.”

So, in my opinion, Android with all its challenges is just grown over the hype cycle and is here to stay as a strong contender to other mobile OSes and would probably win the race. However, right from the beginning, developers have to keep these variations in mind and build apps that look as seamless as possible on multiple OSes.
And testers, if you are reading, here is your chance... A lot of opportunities around device coverage, OS version coverage, screen size coverage and so on.

Multiple Ways of Programming for Android



These seem to be more than one way to program for the Android devices.

The first and the most common way is by using the Software Development Kit (SDK) using Java Syntax. This is what I have been talking about in all the earlier posts and tutorials.

The other 3 interesting ways, I believe, are:
2. Native Development Kit using C / C ++. This I am sure many are aware of and would be using to some extent. This is a little more closer to the OS, not running on top of the virtual Machine.
3. RenderScript using C99 - used to write faster graphics code like the Google Books page turn animation etc.
4. Android Scripting Layer using Python etc.

Interesting options, right?

Wednesday, 4 July 2012

PHP small program

Here ,
we learn some PHP small program like sum ,display and some other...


<html>
<body>

<?php
echo "hello<br>"; //for display hello


 echo (5 + 3)."<br>";  //doing some u just change the just sign...
// display the  value
$abc=10;
echo "the value of".$abc."<br>";
printf("the value is : %d",$abc);

?>

</body>
</html>

Tuesday, 3 July 2012

waiting for android small project

hi
friends in short time i will upload the small application in the android now i try to learn in the college and then i will upload the logic....

Monday, 25 June 2012

Uninstalling Oracle 10g Manually from Windows XP



List of additional steps to do for cleaning the system completely after uninstall using universal installer.
# Stop any Oracle services that have been left running.


Start->Settings->Control Panel->Services
Look for any services with names starting with ‘Oracle’ and stop them.


# Run regedit and delete the following keys (some may have slightly different names in your registry):




HKEY_CURRENT_USER\SOFTWARE\ORACLE


HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\EventLog\Application\Oracle.oracle


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\OracleDBConsole


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\Oracle10g_home


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet Services\OraclService


Note that the services control panel will still show the old services until you reboot.


# Delete the Oracle home directory
C:\Oracle


# Delete the Oracle Program Files directory:
C:\Program Files\Oracle


# Delete the Oracle Start Menu shortcuts directory:
C:\Documents and Settings\All Users\Start Menu\Programs\Oracle*

Where * indicates the name of your install. Look for and remove all Oracle directories from that location.

# Remove Oracle refereces from the path. To edit your path go to:


Start->Settings->Control Panel->System->Advanced->Environment Variables


Edit both of the environment variables user PATH and system PATH. Remove any Oracle references in them.
# Remove Oracle.DataAccess and any Polic.Oracle files from the GAC which is at:
C:\Windows\assembly\

Sunday, 24 June 2012

Ways to Identify Safe Websites on the Internet


On the whole Internet, there are approximately more than 150 million active websites up and running. As a result, it often becomes a real challenge for the users to identify safe websites that are trustworthy and reputed. Have you ever wondered to know the reputation of a website before placing the order? Need to know whether a given website is child safe? Well, here are some of the ways to identify safe websites on the Web.

WOT or Web Of Trust (www.mywot.com):

WOT is a great place to test the reputation of your favorite website. WOT gives real-time ratings for every website based on the feedback that it gets from millions of trustworthy users across the globe and trusted sources, such as phishing and malware blacklists. Each domain name is evaluated based on this data and ratings are applied to them accordingly. 

In most cases, the WOT ratings are found to be highly accurate. To check the reputation of any given website, just visit www.mywot.com type-in the address of your favorite website and click on “Check now”. This tool alone can tell you a lot about the reputation and safety level of a website. However, in addition to this, I am giving you another 3 handy tools to identify safe websites on the Web.


McCafee SiteAdvisor:

McCafee SiteAdvisor is a free tool that is available as a browser add-on. It adds safety ratings to your browser and search engine results. You can download it from www.siteadvisor.com.


StopBadware:


Using this tool, you can check whether a given site is said to have involved in malware activity in the past. To check this, go to http://www.stopbadware.org/home/reportsearch and enter the URL or domain name of a website and click on “Search Clearinghouse ”. If the search does not return any result, that means the site was never involved in any of the malware activity in the past.

Google Pagerank:

Google PageRank is another great tool to check the reputation and popularity of a website. The PageRank tool rates every webpage on a scale of 1 to 10 which indicates Google’s view of importance of the page. If a given website has a PageRank of less than 3, then it is said to be less popular among the other sites on the Internet.


However, PageRank will only tell you how much popular a given website is and has nothing to do with the safety level of a website. So, this tool alone cannot be used to evaluate a website’s safety and other factors.


PageRank feature is available as a part of Google Toolbar. You can install Google Toolbar from http://www.google.com/intl/en_uk/toolbar/ie/index.html.

CAPTCHA


CAPTCHA or Captcha (pronounced as cap-ch-uh) which stands for “Completely Automated Public Turing test to tell Computers and Humans Apart” is a type of challenge-response test to ensure that the response is only generated by humans and not by a computer. In simple words, CAPTCHA is the word verification test that you will come across the end of a sign-up form while signing up for Gmail or Yahoo account. The following image shows the typical samples of CAPTCHA.
What is CAPTCHA and How it Works?


Captcha

CAPTCHA example


Almost every Internet user will have an experience of CAPTCHA in their daily Internet usage, but only a few are aware of what it is and why they are used. So in this post you will find a detailedinformation on how CAPTCHA works and why they are used.

What Purpose does CAPTCHA Exactly Serve?

CAPTCPA is mainly used to prevent automated software (bots) from performing actions on behalf of actual humans. For example while signing up for a new email account, you will come across a CAPTCHA at the end of the sign-up form so as to ensure that the form is filled out only by a legitimate human and not by any of the automated software or a computer bot. The main goal of CAPTCHA is to put forth a test which is simple and straight forward for any human to answer but for a computer, it is almost impossible to solve.


What is the Need to Create a Test that Can Tell Computers and Humans Apart?

For many the CAPTCHA may seem to be silly and annoying, but in fact it has the ability to protect systems from malicious attacks where people try to game the system. Attackers can make use of automated softwares to generate a huge quantity of requests thereby causing a high load on the target server which would degrade the quality of service of a given system, whether due to abuse or resource expenditure. This can affect millions of legitimate users and their requests. CAPTCHAscan be deployed to protect systems that are vulnerable to email spam, such as the services from Gmail, Yahoo and Hotmail.

Who Uses CAPTCHA?

CAPTCHAs are mainly used by websites that offer services like online polls and registration forms. For example, Web-based email services like Gmail, Yahoo and Hotmail offer free email accounts for their users. However upon each sign-up process, CAPTCHAs are used to prevent spammers from using a bot to generate hundreds of spam mail accounts.


Designing a CAPTCHA System

CAPTCHAs are designed on the fact that computers lack the ability that human beings have when it comes to processing visual data. It is more easily possible for humans to look at an image and pick out the patterns than a computer. This is because computers lack the real intelligence that humans have by default. CAPTCHAs are implemented by presenting users with an image which contains distorted or randomly stretched characters which only humans should be able to identify. Sometimes characters are striked out or presented with a noisy background to make it even more harder for computers to figure out the patterns.

Most, but not all, CAPTCHAs rely on a visual test. Some Websites implement a totally different CAPTCHA system to tell humans and computers apart. For example, a user is presented with 4 images in which 3 contains picture of animals and one contain a flower. The user is asked to select only those images which contain animals in them. This Turing test can easily be solved by any human, but almost impossible for a computer. 


Breaking the CAPTCHA

The challenge in breaking the CAPTCHA lies in real hard task of teaching a computer how to process information in a way similar to how humans think. Algorithms with artificial intelligence (AI) will have to be designed in order to make the computer think like humans when it comes to recognizing the patterns in images. However there is no universal algorithm that could pass through and break any CAPTCHA system and hence each CAPTCHA algorithm must have to be tackled individually. It might not work 100 percent of the time, but it can work often enough to be worthwhile to spammers.

Convert A PowerPoint 2010 Presentation Into A Video With One Click Unknown Trick




Convert A PowerPoint 2010 Presentation Into A Video With One Click Unknown Trick

Creating a video from a slideshow isn’t something new. It has been a pretty common activity thanks to the clutch of PPT to video converters. But thanks to the latest edition of Microsoft Office, you can do away with third party tools…at least for a basic video conversion job.

Microsoft Office 2010 has come in with a slew of user-friendly new features. One of the new features in PowerPoint 2010 helps you convert Powerpoint presentations to video with just a click.

Here are the steps that start with a normal presentation file.

    After creating a presentation, select the File tab from the ribbon.





Click on Save and Send – Create a Video under File Types.



A few optional settings help to further tailor your video creation process.As the screenshot below shows, you can record and time voice narration and laser pointer movements in your video effectively creating a screencast. All other animations and transitions are also preserved in the converted format.



Two dropdowns fine tune your ‘production’ for the media it will be displayed on. It also determines file size. For instance, opting for Portable devices reduces the resolution. I find this quite handy if I have to carry along and watch a presentation on an iPod or a smartphone.





You can also add the recorded timings and narration to the video. You can also specify the time that will determine the transition from one slide to the next.
Finally click on the large Create Video button and choose a location to save your video as a WMV file. 



As the conversion to .wmv format begins there will be a progress bar displayed in the lower right corner of PowerPoint that indicates the pace. The time taken for the conversion will of course depend on the size of the PowerPoint file. My 15-slide sample presentation took about eight minutes to turn into a movie.


PowerPoint 2010 supports only one video format. A few more choices like MP4, FLV etc would have been real handy. For that, you still have to depend on third-party conversion tools. Also, the highest resolution that’s on offer is 960×720. Higher resolutions (and commonly available) like 1,280×720, 1,920×1,080, or 1,920×1,080 are not available.

Make an Heart sign on Facebook and other special characters ? ? ?



Make an Heart sign on Facebook and other special characters ? ? ?

Signs like ?, ¤, ? make the typeface less monotonous. But how can you add these characters,emoticons and symbols to your status updates, comments and chats? Check it out:


Characters by key sequences (ALT-Symbols)





For example:
Alt + 1 ☺
Alt + 2 ☻
Alt + 3 ♥
Alt + 4 ♦
Alt + 5 ♣
Alt + 6 ♠
Alt + 7 •
Alt + 8 ◘
Alt + 9 ○
Alt + 10 ◙
Alt + 11 ♂
Alt + 12 ♀
Alt + 13 ♪
Alt + 14 ♫
Alt + 15 ☼
Alt + 16 ►
Alt + 17 ◄
Alt + 18 ↕
Alt + 19 ‼
Alt + 20 ¶
Alt + 21 §
Alt + 22 ▬
Alt + 23 ↨
Alt + 24 ↑
Alt + 25 ↓
Alt + 26 →
Alt + 27 ←
Alt + 28 ∟
Alt + 29 ↔
Alt + 30 ▲
Alt + 31 ▼

Remove unwanted software during startup




Have you ever experienced that when you switch on your computer there are loads of software which come up on the screen before you can start using the computer.
For eg Yahoo Messenger,G Talk,Skype etc..just come on to the screen.Here is a simple way to remove all the unwanted software coming on the screen.

1.Click on start->run

2.Type msconfig

3.Click on startup button on top

4.Uncheck all the software you do not want to show during startup

5.Click ok and restart the computer.



Hope You all enjoyed!!