Welcome to Technology hub.

it's all about the new technogy, about the programming languages fundamentals and solutions. Here You can find Easy methods and solutions about Programming and coding...Enjoyyy...

Popular Posts

Get widget

Saturday, 30 March 2013

CORE JAVA INTERVIEW QUESTIONS

There is the list of 170 core java interview questions. If there is any core java interview question that have been asked to you, kindly post it in the ask question section. We assure that you will get here the 90% frequently asked interview questions and answers. The answers of the core java interview questions are short and to the point. The core java interview questions are categorized in Basics of java interview questions, OOPs interview questions, String Handling interview questions, Multithreading interview questions, collection interview questions, JDBC interview questions etc.

Sunday, 10 March 2013

The doctype declaration in HTML5

Take a look at this page's "Source Code". The source code is the HTML that generates a page.
On a PC in Chrome or FireFox right click anywhere on the page (except the ads) and select "View page source", or even easier just click "Ctrl-U". In IE "Ctrl-U" doesn't work; you have to right click the page and select "View Source". Select it all, copy it and paste it into Notepad or some text editor. If you have any problems or are in a different browser search "source code" in help.
At the very top of the page you will see the doctype declaration:

<!DOCTYPE html> *

Like any language, HTML5 has a grammar and a vocabulary.
Grammar
<!DOCTYPE html> goes at the top of every HTML5 page.
Vocabulary
The HTML5 word <!DOCTYPE html> means "this page is written in HTML5" as opposed to, say HTML 4.01.
Why, you ask, don't they just write <HTML5> or even a zesty <!HTML5>? I have absolutely no idea. Still it's better than what they had before. Here's an example of one common type of XHTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Hopefully the doctype declaration in HTML5 won't turn into the crazy mess it did with XHTML and previous versions of HTML. Those in charge of such things say it won't, but time will tell.
So now you learned three things:
  1. How to view the source code of a page, an important tool.
  2. You know one word in HTML5<!DOCTYPE html> = "HTML5"
  3. and one grammar rule: <!DOCTYPE html> goes at the top of every page.

What is HTML5 ?

HTML5 is not just the future of web design, it's the present.

Everything that makes the web sing.

HMTL5 is not a single thing or a monolithic technology. It is a collection of features, technologies, and APIs that brings the power of the desktop and the vibrancy of multimedia experience to the web—while amplifying the web’s core strengths of interactivity and connectivity.
HTML5 includes the fifth revision of the HTML markup language, CSS3, and a series of JavaScript APIs. Together, these technologies enable you to create complex applications that previously could be created only for desktop platforms.

The first web browser, Mosaic, was introduced in 1993. A year later Netscape, based on Mosaic, was introduced and the net began to become popular. HTMLwas used in both browsers, but there was no "standard" HTML until the introduction of HTML 2.0.
HTML 2.0 was first published in 1995.* HTML 3.0 was published two years later and 4.01 two years after that. HTML 4.01 has been the work horse of the net ever since.
The first "working draft" of HTML5 came out in January of 2008 and it already has surprisingly broad browser support. However HTML5 is not yet fully implemented and won't be for some years yet. There are any number of planning committees that have plans to make it a "Recommendation", but such plans are still in the planning phase – and don't plan on that changing anytime soon. **

Fundamental changes are coming with the development of APIs that will run in HTML5 – exciting and powerful new tools that will take the internet places we can't begin to imagine. Also new elements such as the <header>,<nav> and <article> have been introduced which will help search engines analyze web pages better.

The internet will absorb television the way it has telephone technology. Now if you want to add video to your page you either have to add a complicated script to your page, embed a YouTube video or have to open it in a separate application such as Windows Media Player. The former is not easy and the latter two lack professional polish. HTML5's new <video> tag will solve that problem.

Reference:

Saturday, 9 March 2013

Importance of meta tags in SEO


Meta tags are tags, which are embedded in the HTML code of a page, You should insert the META tag element at the top of your document, just after the <TITLE> element.
The basic syntax for Meta Tags is:
<HEAD>
<TITLE>Your Page Title Goes Here</TITLE>

<META name=”description” content=”type your description here”>

<META name=”keywords” content=”type, your, keywords, keyword phrase here”>
</HEAD>

Tips On META Description Tag

<META name="Description" content="Your descriptive sentence goes here.">
  1. Write it in sentence structure.
  2. Should be relevant to the similar 25-30 word (under 150 characters) description of the first text within the visible page.
  3. Do not repeat your keywords more than 3 times in description tag. If you need, make alternatives (e.g. 'prescription' and 'prescriptions' can be used 3 times each).
  4. Minimize the use of "stop words" such as "and, the, of".
  5. Keyword phrases that appear earliest in the Meta description will generally receive higher ranking value.
  6. Try to include this tag in all pages by describing the content and it should be unique.
  7. Don't load your Meta description with only keywords.
  8. Strive for 6%-20% keyword density.
  9. Use different Meta description tag for each pages.

Tips On META Keyword Tag

<META name="keywords" content="your keywords, go here, separated by a comma">
  1. Keep 100 to 250 characters to get better results.
  2. Start with the most important and then proceed to less important.
  3. Use keywords/Phrases
  4. Do not repeat any word more than 3 times.
  5. Do not place repeated keywords close together.
  6. If your site has content of interest to a specific geographic location be sure to include the actual location in your keyword Meta.
  7. Use keywords that are actually on the page and reflect the essence of your content.
  8. Try to use keywords in your Meta keywords tag with comma, not by space.
  9. Try to use small case in keyword/phrases

    (eg: replace the keyword phrase - "Website Design" with "website design")
  10. Strive for 4%-10% keyword density.

Create Your Meta Tags

Google Webmaster Tools helps to increase your site's traffic


Major search engines, including Google, provide free tools for webmasters. Google's Webmaster Tools help webmasters better control how Google interacts with their websites and get useful information from Google about their site. Using Webmaster Tools won't help your site get preferential treatment; however, it can help you identify issues that, if addressed, can help your site perform better in search results. With the service, webmasters can:
Yahoo! (Yahoo! Site Explorer) and Microsoft (Live Search Webmaster Tools) also offer free tools for webmasters.

Helpful resources for webmasters


Below are the helpful resource for google webmaster tools.
Friends above links helps to learn google webmaster tools. If you know more links then share with us in comment.
Tags: Google webmaster,Google Webmaster Toolkit,Guidline to use Google webmaster Toolkit,Increase your rank using google webmaster toolkit

Take advantage of web analytics services



If you've improved the crawling and indexing of your site using Google Webmasters Tools or other services, you're probably curious about the traffic coming to your site. Web analytics programs like Google Analytics are a valuable source of insight for this. You can use these to:
  • get insight into how users reach and behave on your site
  • discover the most popular content on your site
  • measure the impact of optimizations you make to your site (e.g. did changing those title and description meta tags improve traffic from search engines?)
  • create new reports and analysis on it
For advanced users, the information an analytics package provides, combined with data from your server log files, can provide even more comprehensive information about how visitors are interacting with your documents (such as additional keywords that searchers might use to find your site).
Lastly, Google offers another tool called Google Website Optimizer that allows you to run experiments to find what on-page changes will produce the best conversion rates with visitors. This, in combination with Google Analytics and Google Webmaster Tools.

see our other articles related to google website tools.