Tuesday, 25 February 2014

How to Get wordpress anti spam plugins ( akismet ) api key free & say spam "Good bye"

Tips for spam protection wordpress 



Lot of new blogger who started their blog by WordPress are finding spam protection tool , plugin to stay away from spammer . Its a so easy , there is some awesome wordpress plugin help you to protect spam wordpress. Maximum spam protection plugin are premium type so you need to purchase them to use. But here i am sharing a awesome tips how to get free Akismet API key in WordPress.

Summery of wordpress  Akismet spam protector plugin :

Akismet is world renowned & popular spam protector plugin for wordpress blog. If you search online you may find some of others plugin for spam protection wordpress. But millions ofblog owner are using Akismet for its awesome spam protecting feature.Akismet spam protector Algorithm developed by Automatic INC.

 

Feature of Akismet spam protector plugin:

Actually  90% + of bolg comment are spam. sometimes it spam attack will be too much & to delete these spam will will need lot of time . some time when you will be busy & if you do not delete spam comment that may effect your site ranking on search engine. But Akismet plugin automatically
detect spam & delete them.. so freelancing support highly recommended you to use Akismet Plugin.

Lets see how to get a free Akismet Plugin API key...........

How to Get Free Akismet API Key for WordPress blog :

To get free api key of wordpress anti spam plugins  "Akismet" follow some instruction :
First log in your WordPress blog dashboard then go plugin search "Akismet"
 & install Akismet plugin then you neeed to API key to full active Akismet plugin . Now follow my instruction to get free API key to active Akismet plugin.

Visit Official Akismet Registration Page  And sign up there Or  if you have existing wordpress.com account the you can log in via your existing account. 


Then choice your plan Click personal plan & drag your pointer left and then you see -00$ & press continue & get your free API key 

After press continue a new tab will open & you will get your API key :-) :

Then again go your wordpress site/blog dashboard then go akismet option Enter your API key and click on "Update Option" button. Then you will see your  akismet plugin is full active..

Friday, 21 February 2014

Elance html5 test answers

Hi guyes to day How is going hope every thing is going well. Today I am going to to give you most essential elance test answer to this year for the new & existing freelancer who works on web development. Yes this is elance html5 test answers

I have got by this test answers 85% marks & achieve top % result. See the proof



Elance html5 test answers



Question: 01 -Which media event is triggered when there is an error in fetching media data in HTML 5.0?
a. onstalled 
b. onwaiting
c. onsuspend
d. oninvalid

Question: 02-Which of the following video file formats are currently supported by the <video> element of HTML 5.0?
a. CCTV
b. MPEG 4
c. Ogg
d. 3GPP

Question: 03-Which of the following is NOT a valid value for the <iframe> sandbox attribute in HTML 5.0?
a. url
b. allow-scripts
c. allow-same-origin
d. allow-forms

 oDesk html5 test answers here


Question: 04-Which of the following is an INVALID value for the type attribute of command tag?
a. checkbox
b. radio
c. command 
d. text



Question: 05-What is the function of the history traversal task source in HTML 5.0?
a. It is used for features that react to user interaction, for example, keyboard or mouse input.
b. It is used for features that react to DOM manipulations, for example, the things that happen asynchronously when an element is inserted in the document.
c. It is used to queue calls to history.back() and similar APIs. 
d. All of the above.

Question: 06-What will be the result if you use the following code to your HTML 5.0 document?
<p>I use <del>MAC</del> <ins>Microsoft</ins>!</p>
a. I use MAC Microsoft!
b. I use MAC Microsoft!
c. I use MAC Microsoft! 
d. I use MAC Microsoft!

Question: 07-You want to create a link for your website allowing users to email the webmaster. How will you implement this if the webmaster’s email address is webmaster@xcompany.com?
a. <a href=”mailto:webmaster@xcompany.com”>webmaster</a>
b. <a href=”webmaster@xcompany.com”>webmaster</a>
c. <a http=”mail:webmaster@xcompany.com”>webmaster</a>
d. <mail http=”send:webmaster@xcompany.com”>webmaster</mail>

Question: 08-In HTML 5.0, how will the script be executed if you use the script element shown below?
<script src=”script.js” type=”text/javascript” defer=”defer”></script>

a. The script is fetched and executed immediately, before the user agent continues parsing the page.
b. The script will be executed when the page has finished parsing. 
c. The script will be executed asynchronously, as soon as it is available.

Question: 09-What is the output when you use the HTML 5.0 code snippet shown below?
<body onload=”alert(this)”>
a. It will alert saying “[object HTMLBodyElement]” when the document is loaded.
b. It will alert saying “[object Window]” when the document is loaded. 
c. It will alert saying “[this]” when the document is loaded.
d. The alert message is not properly defined in the body element and an error will be generated when the document is loaded.

Question: 10-A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?
a. <emp>
b. <code>
c. <dfn>
d. <cite>

Question: 11-How will you bind the datalist option (shown below) with an <input> element, whose type attribute is set to url, to get the result shown in the image?

This question is based upon the figure shown below:
html5ing





a. User should define an accept attribute to the input element whose type is url.
b. User should define multiple attribute to the input element whose type is url.
c. User should define a list attribute to the input element whose type is url.
d. User should define a placeholder attribute to the input element whose type is url.

Question: 12-Which of the following are valid HTML 5.0 elements?
a. <canvas>
b. <summary>
c. <aside>
d. <video>
(Check ALL)

Question: 13-How does a button created by the <button> tag differ from the one created by an <input> tag?
a. An input tag button can be a reset button too.
b. A button tag button can be a reset button too.
c. An input tag button can include images as well.
d. A button tag can include images as well.

Question: 14-Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?
a. col
b. colgroup
c. rowspan
d. row

Question: 15-Which of the following is correct with regard to the oncanplaythrough event fired by media resources in the HTML 5.0 document?
a. The script will run when the media has reached the end.
b. The script will run when the media is played to the end, without stopping for buffering.
c. The script will run when media data is loaded.
d. The script will run when the length of the media is changed.

Question: 16-What does the icon attribute of the HTML 5.0 command tag define?
<command icon=”?”>Click Me!</command>
a. It is used to define the url of an image to display as the command.
b. It is used to define the name of the radiogroup this command belongs to.
c. It is used to define if the command is checked or not.
d. It is used to define if the command is available or not.

Question: 17-While rendering your HTML 5.0 web page, which of the following <link> element files will get skipped by a compliant user agent if you include the link elements shown below in your document?
<link rel=”stylesheet” href=”A” type=”text/plain”>
<link rel=”stylesheet” href=”B” type=”text/css”>
a. A link element whose href is “B”
b. A link element whose href is “A”
c. None of the above

Question: 18-Which <body> tag event is fired when the user leaves the document?
a. onunload 
b. onundo
c. onredo
d. onerror

Question: 19-How will you change the value of the cookies and items in the Storage objects of the localStorage attributes in HTML 5.0?
a. By invoking the window.dialogArguments() API method.
b. By invoking the window. navigator.yieldForStorageUpdates() API method. 
c. By invoking the window.navigator.appName API method.

Question: 20-What is the role of the <dfn> element in HTML 5.0?
a. It is used to define important text.
b. It is used to define computer code text.
c. It is used to define sample computer code.
d. It is used to define a definition term.

Question: 21-Which of the following is NOT a valid syntax for the <h1> element in HTML 5.0?
a. <h1> This is header 1</h1>
b. <h1 align=”center”> This is header 1</h1>
c. <h1 onClick=”dothis(‘sc1′)” >This is header </h1>
d. <h1 style=”cursor:auto;”>This is header </h1>

Question: 22-Which form event is fired on the click of a button using a button tag with its type attribute value equal to submit?
a. onload
b. onsubmit
c. onunload
d. onreset

Question: 23-How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application?
a. window.top
b. window.parent
c. window.frameElement
d. None of the above

Question: 24-In HTML 5.0, which of the following is NOT a valid value for the type attribute when used with the <command> tag shown below?
<command type=”?”>Click Me!</command>
a. button
b. command
c. checkbox
d. radio

Question: 25-What is the default background color for the canvas element in HTML 5.0?
a. Black
b. White
c. Transparent
d. Gray

Question: 26-Which of the following are valid mouse events in HTML 5.0?
a. ondblclick
b. ondragstart
c. ondragenter
d. onscroll
e. ondrop
(Check ALL)

Question: 27-Which of the following languages will you use to paint the graphics designed using the HTML 5.0 <canvas> tag?
a. VB script
b. JavaScript
c. PostScript
d. None of the above

Question: 28-Consider the following items of a <select> list:
<option value=”89″>Item 1</option>
<option value=”90″>Item 2</option>
Which of the following values would be passed on by clicking the submit button on selecting Item 2 from the list?
a. 89
b. 90
c. Item 1
d. Item 2

Question: 29-When is the window onstorage event triggered in the HTML document?
a. It is triggered when the window is resized.
b. It is triggered when a document loads.
c. It is triggered when a document performs an undo function.
d. It is triggered when the window becomes visible.

Question: 30-Which of the following is NOT a valid attribute for the <video> element in HTML 5.0?
a. controls
b. autoplay
c. disabled
d. preload

Question: 31-Which of the following represents INVALID syntax for defining an attribute value in an HTML 5.0 document?
a. <input name =’be evil’ />
b. <input name=be evil /> 

c. <input name = “be-evil” />
d. All of the above.

Question: 32-Consider the above code. What will be the impact upon the contents of the element if both the style sheets define the same class?
This question is based upon the figure shown below:
html5img







a. The contents of the element will be of red color and will inherit all the effects of style.css.
b. The contents of the element will be of blue color and will inherit all the effects of style1.css. 
c. The contents of the element will be of white color and will inherit all the effects of style.css and style1.css.
d. None of the style effects will be applied to the contents of the element.

Question: 33-Which of the following is NOT a valid attribute for the <link> element in HTML 5.0?
a. hreflang
b. rel
c. http-equiv
d. media

Question: 34-Which of the following statements is correct if you allow the user to select only one radio button from a group of radio buttons?
a. The name of the input tag must be the same for all the radio buttons.
b. The value of the input tag must be the same for all the radio buttons.
c. The display text of the input tag must be the same for all the radio buttons.
d. All the radio buttons must be added to the same group using the <optgroup> tag.

Question: 35-Which of the following is an INVALID keyword value for http-equiv attribute when used with the <meta> element in HTML 5.0?
a. content-type
b. expires
c. set-cookie
d. keywords
e. refresh
f. author

Question: 36-Which of the following <iframe> attributes are NOT supported in HTML 5.0?
a. height
b. marginheight
c. sandbox
d. scrolling

Question: 37-In HTML 5.0, what is the function of the sandbox attribute when used with <iframe> as shown below?
<iframe src=”aaa ” sandbox=?></iframe>
a. It is used to define the restrictions to the frame content. 
b. It is used to define the URL of the document that should appear in the iframe.
c. It is used to specify that an iframe should appear as if it is part of the document the iframe is in.

Question: 38-Which of the following is NOT a supported attribute of the <ol> element in HTML 5.0?
a. type
b. reversed
c. start
d. compact

Question: 39-Which of the following would give a yellow background to the web page?
Note: The code used in the “correct” answer below was deprecated in HTML 4.01! Use styles instead for new code.
a. <body backcolor=”Yellow”>
b. <body background=”Yellow”>
c. <body bgcolor=”Yellow”>
d. <body color=”Yellow”>

Question: 40-What is the function of onobsolete, an application cache API method in HTML 5.0?
a. It reflows the HTML document using updated cached content.
b. It triggers an event when the cache content has been marked as obsolete.
c. It triggers an event when the cache content has been updated.
d. It updates the cache for the current document in the background.

Question: 41-Suppose you add the input code given above to your HTML web page. What result will be returned by the JavaScript function when you click the button marked as A in the image?
a.number
b.text
c.button
d.None of the above

Question : 42-How does a button created by the <button> tag differ from the one created by an <input>tag ?
a. An input tag button can be a reset button too.
b. A button tag button can be a reset button too.
c. An input tag button can include images as well.
d. A button tag can include images as well.

Question: 43-Which of the following HTML 5.0 elements is used to embed Java applets into your HTML 5.0 web page?
a.<applet>
b.<object>
c. <source>
d.<progress>

Question : 44-Which of the following is NOT a valid attribute for the element in HTML 5.0?
a.hreflang
b.rel
c.http-equiv
d.media

Question: 45-Which of the following are valid values for the contenteditable attribute of theelement in HTML 5.0?
a.true
b.false
c.0
d.1

Question : 46-You want to display a table listing out customer names and their contact information. The heading of the table is shown in the given figure. What is the code for creating the first line of the table heading?
a. <tr>
<th>Customer Name</th>
<th rowspan=3>Contact</th>
</tr>
b.<tr>
<th>Customer Name</th>
<th colspan=3>Contact</th>
</tr>
c.<tr>
<th>Customer Name</th>
<th cellpadding=3>Contact</th>
</tr>
d.<tr>
<th>Customer Name</th>
<th cellspacing=3>Contact</th>
</tr>

Question: 47-Which of the following <section> elements have the correct attribute assignment as per HTML 5.0?
a.            <section id=”example”>…</section id=”example”>
b.            <section id=”example”>…</section id=”example2″>
c.             <section id=”EXAMPLE”>…</section>
d.            <section id=”Example”>…</section>
e.            <section id=”example”>…</section>

Question: 48-Which of the following statements is correct if you invoke the window.prompt (message, default) web application API method in HTML 5.0?
a.            It will only show the modal text field prompt with the given message to the user.
b.            It will show the modal text field prompt with the given message to the user, and ask the user to respond with a positive or negative response.
c.             It will show the modal text field prompt with the given message to the user, and ask the user to either respond with a string value or abort.
d.            Both b and c.

Question: 49- Which of the following is NOT an attribute of the <meta> element in HTML 5.0?
a.            charset
b.            content
c.             http-equiv
d.            scheme

Question: 50 -Which media event will be fired when a media resource element suddenly becomes empty?
a.            onerror
b.            onended
c.             onloadeddata
d.            onemptied

Question: 51-What is the purpose of the <keygen> element in HTML 5.0?
a.            It is used to define a keyboard text in an HTML 5.0 web page.
b.            It is used to generate a public-private key pair in an HTML 5.0 web page.
c.             It is used to define a definition term in an HTML 5.0 web page.
d.            It is used to define a variable in an HTML 5.0 web page.

Question: 52 -Which event is fired when an element loses its focus in HTML 5.0 document?
a.            onfocus
b.            onload
c.             onblur
d.            onselect

Question: 53 -A piece of text contains many blank spaces within it. Which of the following tags would be suitable to display the text as it was originally formatted?
a.            td
b.            p
c.             ls
d.            pre

Question: 54 -Which HTML 5.0 element will you use to group the related options in a drop-down list?
a.            optgroup
b.            option
c.             menu
d.            var
e.            nav

Question: 55 -You are writing the code for an HTML form and you want the browser to retain the form’s input values. That is, if a user submits the form and presses the browser’s back button, the fully populated form is displayed instead of a blank form. Which of the following HTML 5.0 attributes will you use?
a.            accept
b.            autofocus
c.             autocomplete
d.            formtarget

Question: 56 -Which of the following tags would assist in creating named groups within a select list?
a.            opt
b.            group
c.             optgroup
d.            selectgroup

Question: 57 -How will you cancel the timeouts that are set with the setInterval() API method identified by the handlers in HTML 5.0?
a.            window.clearInterval (handle)
b.            window.clearTimeout (handle)
c.             window.setInterval (code, timeout)
d.            window.setTimeout (code, timeout)


a.            <tr>
<th>Customer Name</th>
<th rowspan=3>Contact</th>
</tr>
b.            <tr>
   <th>Customer Name</th>
   <th colspan=3>Contact</th>
 </tr>
c.             <tr>
<th>Customer Name</th>
<th cellpadding=3>Contact</th>
</tr>
d.            <tr>
<th>Customer Name</th>
<th cellspacing=3>Contact</th>
</tr>

Question: 58 -What is the default background color for the canvas element in HTML 5.0?
a.            Black
b.            White
c.             Transparent
d.            Gray

Question: 59 -Which of the following are valid values for the contenteditable attribute of the <figure> element in HTML 5.0?
a.            true
b.            false
c.             0
d.            1

Question: 60 -Which media event is triggered when there is an error in fetching media data in HTML 5.0?
a.            onstalled
b.            onwaiting
c.             onsuspend
d.            oninvalid

Question: 61 -Which of the following is NOT a valid attribute for the <link> element in HTML 5.0?
a.            hreflang
b.            rel
c.             http-equiv
d.            media

Question: 62 -Which of the following HTML 5.0 elements is used to embed Java applets into your HTML 5.0 web page?
a.            <applet>
b.            <object>
c.             <source>
d.            <progress>

Question: 63 -How does a button created by the <button> tag differ from the one created by an <input> tag?
a.            An input tag button can be a reset button too.
b.            A button tag button can be a reset button too.
c.             An input tag button can include images as well.
d.            A button tag can include images as well.

Question: 64 -Which form event is fired on the click of a button using a button tag with its type attribute value equal to submit?
a.            onload
b.            onsubmit
c.             onunload
d.            onreset

Question: 65 -How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application?
a.            window.top
b.            window.parent
c.             window.frameElement
d.            None of the above

Question: 68 -Suppose you add the input code given above to your HTML web page. What result will be returned by the JavaScript function when you click the button marked as A in the image?
a.            number
b.            text
c.             button
d.            None of the above

Question: 69 -Which of the following statements is correct if you allow the user to select only one radio button from a group of radio buttons?
a.            The name of the input tag must be the same for all the radio buttons.
b.            The value of the input tag must be the same for all the radio buttons.
c.             The display text of the input tag must be the same for all the radio buttons.
d.            All the radio buttons must be added to the same group using the <optgroup> tag.

Question: 70 -What will be the result if you use the following code to your HTML 5.0 document?
<bdo dir=”rtl”>
Here is some text that should be written to your document.
</bdo>
a.            .tnemucod ruoy ot nettirw eb dluohs taht txet emos si ereH
b.            Here is some text that should be written to your document.
c.             Here is some text that should be written to your document.
d.            None of the above.

Question: 71 -Which of the following would give a yellow background to the web page?
Note: The code used in the “correct” answer below was deprecated in HTML 4.01! Use styles instead for new code.
a.            <body backcolor=”Yellow”>
b.            <body background=”Yellow”>
c.             <body bgcolor=”Yellow”>
d.            <body color=”Yellow”>

Question: 72 -How will you change the value of the cookies and items in the Storage objects of the localStorage attributes in HTML 5.0?
a.            By invoking the window.dialogArguments() API method.
b.            By invoking the window. navigator.yieldForStorageUpdates() API method.
c.             By invoking the window.navigator.appName API method.

Question: 73 -How will the target URL open when you define the <a> element in your HTML 5.0 document as shown below?
<a href=”http://www.yahoo.com” target=”_self”>Click here</a>
a.            The target URL will open in the parent document.
b.            The target URL will open in a new window.
c.             The target URL will open in the same document in which it was clicked.
d.            The target URL will open in the full body of the window.

Question: 74 -What will be the browsing context if the browsing context name is _top when the HTML 5.0 web page is loading?
a.            It will put the new document in the same window and frame as the current document.
b.            It will load the linked document in the topmost frame.
c.             It is used in the situation where a frameset file is nested inside another frameset file.
d.            Both a and c.

Question: 75 -Which of the following is an INVALID value for the type attribute of command tag?
a.            checkbox
b.            radio
c.             command
d.            text

Question: 76 -The following link is placed on an HTML webpage.
<a href=”http://msdn.com/” target=”_blank”> MSDN </a>
What do you infer from it?
a.            It will open the site msdn.com in the same window.
b.            It will open the site msdn.com in a new window.
c.             It will open the site msdn.com in a frame below.
d.            It will not be clickable as it is not formed correctly.

Question:77 -You have the following directory structure.
webroot->products->ordered->delivered
The products directory has a page called Products.html and the delivered directory has a page called Delivered.html. You want to provide a link to the Products page on Delivered.html. The ideal code should be:
a.            <a href=”././Products.html”> All Products </a>
b.            <a href=”../../Products.html”> All Products </a>
c.             <a href=”…/…/Products.html”> All Products </a>
d.            <a href=”../Products.html”> All Products </a>
e.            <a href=”Products.html”> All Products</a>

Question:78 -What will be the result if you use the following code to your HTML 5.0 document?
<p>I use <del>MAC</del> <ins>Microsoft</ins>!</p>
a.            I use MAC Microsoft!
b.            I use MAC Microsoft!
c.             I use MAC Microsoft!
d.            I use MAC Microsoft!

Question:79 -Which of the following is the correct syntax to define a charset in the HTML 5 <meta> element?
a.            <meta http-equiv=”content-type” content=”text/html; charset=ISO-8859-1″>
b.            <meta charset=”ISO-8859-1″>
c.             Neither a nor b.

Question:80 -Which of the following is NOT a supported attribute of the <ol> element in HTML 5.0?
a.            type
b.            reversed
c.             start
d.            compact

Question:81 -Which of the following is a valid attribute for the <colgroup> element in an HTML 5.0 document?
a.            char
b.            span
c.             align
d.            width

Question:82 -Which of the following is the correct method to load another web page or reload the same page in HTML 5.0?
a.            <head>
<meta http-equiv=refresh content=5>
</head>
b.            <html>
<head>
<title>Auto Reload</title>
<script language=”JavaScript”>
<!–
var time = null
function move() {
window.location = ‘http://site.com’
}
//–>
</script>
</head>
<body onload=”timer=setTimeout(‘move()’,5000)”>
<p>see this page refresh itself in 5 secs.<p>
</body>
</html>
c.             <head>
<meta http-equiv=refresh content=”5;URL=http://yahoo.com >
</head>
d.            All of the above

Question:83 -Which of the following elements preserves spaces and line breaks, and displays the text in fixed-width font?
a.            <xmp>
b.            <pre>
c.             <p>
d.            <q>
e.            <br>

Question:84 -Which <body> tag event is fired when the user leaves the document?
a.            onunload
b.            onundo
c.             onredo
d.            onerror

Question:85 -Which of the following is an INVALID keyword value for http-equiv attribute when used with the <meta> element in HTML 5.0?
a.            content-type
b.            expires
c.             set-cookie
d.            keywords
e.            refresh
f.             author

Question:86 -A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?
a.            <emp>
b.            <code>
c.             <dfn>
d.            <cite>

Question:87 -Which of the following is NOT a valid value for the type attribute of the <input> element in HTML 5.0?
a.            url
b.            week
c.             tel
d.            radio
e.            datetime-local
f.             All of the above are the valid values for <input> element

Question:88 -What is the role of the <dfn> element in HTML 5.0?
a.            It is used to define important text.
b.            It is used to define computer code text.
c.             It is used to define sample computer code.
d.            It is used to define a definition term

Question:89 -Which of the following is NOT a valid syntax for the <link> element in HTML 5.0?
a.            <link rel=”icon” href=”abc.jpg” sizes=”16×16″>
b.            <link rev=”stylesheet” href=”abc.css” type=”text/css” target=”_parent”>
c.             <link rel=”alternate” type=”application/pdf” hreflang=”fr”  href=”manual-fr”>

Question:90 -Which of the following are valid HTML 5.0 elements?
a.            <canvas>
b.            <summary>
c.             <aside>
d.            <video>

Question:91 -Which of the following is NOT a valid syntax for the <h1> element in HTML 5.0?
a.            <h1> This is header 1</h1>
b.            <h1 align=”center”> This is header 1</h1>
c.             <h1 onClick=”dothis(‘sc1′)” >This is header </h1>
d.            <h1 style=”cursor:auto;”>This is header </h1>

Question: 92 -Which of the following statements are correct with regard to <hr> and <br> elements of HTML 5.0?
a.            <hr> element acts in the same way as the Tab key on your keyboard and <br> element acts in the same way as the SHIFT key on your keyboard.
b.            <hr> element is used to insert the horizontal line within your document and <br> element is used to insert a single line break.
c.             <hr> element is used to put a line across the page and <br> element acts in the same way as the ENTER key on your keyboard.

Question:93 -What will be the return value when using the window.navigator.appName API method in an HTML 5.0 web application?
a.            It will return the version of the browser.
b.            It will return the complete User-Agent header.
c.             It will return the name of the platform.
d.            It will return the name of the browser.

Question:94 -Which of the following languages will you use to paint the graphics designed using the HTML 5.0 <canvas> tag?
a.            VB script
b.            JavaScript
c.             PostScript
d.            None of the above

Question:95 -What is the function of the history traversal task source in HTML 5.0?
a.            It is used for features that react to user interaction, for example, keyboard or mouse input.
b.            It is used for features that react to DOM manipulations, for example, the things that happen asynchronously when an element is inserted in the document.
c.             It is used to queue calls to history.back() and similar APIs.
d.            All of the above.

Question:96 -Which <iframe> attribute is used to define the restrictions to the frame content in HTML 5.0?
a.            seamless
b.            sandbox
c.             srcdoc
Topic:    Correct Answers
HTML 5 Events
Loading HTML 5 Web pages
HTML 5 Web application APIs
HTML 5 Elements and attributes
HTML 5 syntax

Question:97 -In HTML 5.0, what is the function of the sandbox attribute when used with <iframe> as shown below?
<iframe src=”aaa ” sandbox=?></iframe>
a.            It is used to define the restrictions to the frame content.
b.            It is used to define the URL of the document that should appear in the iframe.
c.             It is used to specify that an iframe should appear as if it is part of the document the iframe is in.


Question:98 -Which of the following statements is/are correct for a blockquote?
a.            It makes the text a bit bigger for emphasizing.
b.            It defines the start of a long quote.
c.             It makes the text slightly bolder.

Question:99 -Which event is fired when the history of the browser window changes?
a.            onpopstate
b.            onstorage
c.             onresize
d.            onhashchange


Question:100 -Which of the following <link> attributes are NOT supported in HTML 5.0?
a.            sizes
b.            rev
c.             rel
d.            charset

Question:101 -Suppose you placed four radio buttons on a web form. Which of the following statements is correct for the code shown above?
a.            The user can choose only the male and the married options.
b.            The user can choose only the female and single options.
c.             The user can choose only one option out of the four.
d.            The user can choose all the four options at the same time.
e.            The user can choose one option from Male/Female and one from Married/Single.

Question:102 -When does the ondragleave mouse event get fired in HTML 5.0?
a.            It gets fired when an element has been dragged to a valid drop target.
b.            It gets fired when an element leaves a valid drop target.
c.             It gets fired at the end of a drag operation.
d.            It gets fired while an element is being dragged.

Question:103 -Which of the following are valid mouse events in HTML 5.0?
a.            ondblclick
b.            ondragstart
c.             ondragenter
d.            onscroll
e.            ondrop

Question:104 -Which of the following <iframe> attributes are NOT supported in HTML 5.0?
a.            height
b.            marginheight
c.             sandbox
d.            scrolling

Question:105 -In HTML 5.0, which of the following attributes of the <object> element refers to the location of the object’s data?
a.            type
b.            codebase
c.             data
d.            usemap

Question:106 -In which of the following conditions is a browsing context A allowed to navigate a second browsing context B?
a.            When the browsing context A is a nested browsing context and its top-level browsing context is B.
b.            When the browsing context B is an auxiliary browsing context and A is allowed to navigate B’s opener browsing context.
c.             The origin of the active document of A is the same as the origin of the active document of B.
d.            All of the above

Question:107 -Which of the following is an INVALID parameter for the window.navigator.registerContentHandler API method in an HTML 5.0 web application?
a.            url
b.            mimeType
c.             scheme
d.            title

Question:108 -How will the target URL open when you define the <a> element in your HTML 5.0 document as shown below?
<a href=”http://www.yahoo.com” target=”_self”>Click here</a>
a.            The target URL will open in the parent document.
b.            The target URL will open in a new window.
c.             The target URL will open in the same document in which it was clicked.
d.            The target URL will open in the full body of the window.

Question:109 -You specified a base tag and anchors as follows:
1. <base target=”_blank”>
2. <a href=”http://www.yahoo.com”>Yahoo</a>
3. <a href=”http://www.google.com” target=”_top”>Google</a>

Question:110 -Which of the following is true of the above code?
a.            Only the Yahoo link will open in a new window.
b.            Only the Google link will open in a new window.
c.             Both links will open in a new window.
d.            Both links will open in the same window.

Question:111 -When is the window onstorage event triggered in the HTML document?
a.            It is triggered when the window is resized.
b.            It is triggered when a document loads.
c.             It is triggered when a document performs an undo function.
d.            It is triggered when the window becomes visible.

Question:112 -In HTML 5.0, how will the script be executed if you use the script element shown below?
<script src=”script.js” type=”text/javascript” defer=”defer”></script>
a.            The script is fetched and executed immediately, before the user agent continues parsing the page.
b.            The script will be executed when the page has finished parsing.
c.             The script will be executed asynchronously, as soon as it is available.

Question:113 -Which of the following is correct with regard to the oncanplaythrough event fired by media resources in the HTML 5.0 document?
a.            The script will run when the media has reached the end.
b.            The script will run when the media is played to the end, without stopping for buffering.
c.             The script will run when media data is loaded.
d.            The script will run when the length of the media is changed.

Question:114 -What is the output when you use the HTML 5.0 code snippet shown below?
<body onload=”alert(this)”>
a.            It will alert saying “[object HTMLBodyElement]” when the document is loaded.
b.            It will alert saying “[object Window]” when the document is loaded.
c.             It will alert saying “[this]” when the document is loaded.
d.            The alert message is not properly defined in the body element and an error will be generated when the document is loaded.

Question:115 -Which of the following represents INVALID syntax for defining an attribute value in an HTML 5.0 document?
a.            <input name =’be evil’ />
b.            <input name=be evil />
c.             <input name = “be-evil” />
d.            All of the above.

Question:116 -What is the purpose of the <q> element in HTML 5.0?
a.            It is used to define the start of a term in a definition list.
b.            It is used to define attribute values for one or more columns in a table.
c.             It is used to define the start of a short quotation.
d.            It is used to define what to show browsers that do not support the ruby element.

Question:117 -Which of the following events is NOT supported in HTML 5.0?
a.            oninput
b.            oninvalid
c.             ondrop
d.            onreset

Monday, 17 February 2014

Elance css3 test answers

Elance css3 test answers 


To day i am going to give you  Elance css3 test answers . By these answers you must get top % on elance see the screen shot of my elance test  where i have pass with 85% marks.
Elance css3 test answers



Question_01:
Which of the given options is/are equivalent to the following rule?
DIV { line-height: 1.2; font-size: 10pt }

a.            DIV { line-height: 1.2em; font-size: 10pt }
b.            DIV { line-height: 12em; font-size: 10pt }
c.             DIV { line-height: 120%; font-size: 10pt }
d.            DIV { line-height: 20%; font-size: 10pt }
e.            DIV { line-height: 80%; font-size: 10pt }

Question 2:
The sans-serif generic font-family is characterized by:

a.            finish strokes, flared or tapering ends, or actual serifed endings.
b.              stroke endings that are plain without any flaring, cross stroke, or other ornamentation.
c.             either join strokes or other cursive characteristics beyond those of italic typefaces.
d.            primarily decorate the characters while still containing their representations.


Question_03:
Which of the following properties allow percentages in their value fields?

a.            font-size
b.            font-variant
c.             font-weight
d.            line-height

Question_04:
Which of the following styles is valid?

a.            border: “none”;
b.            border= “none”;
c.             border: none;
d.            border= none;
e.            None of the above

Question_05:
Which of the following property doesn’t take up space?

a.            outline
b.            border
c.             Both a and b

Question_06:
Can a percentage value be given in a ruby-align property?

a.            Yes
b.            No

Question:_07
What will happen if the cursor property value is set to none?

a.            The default cursor will be displayed.
b.            No cursor will be displayed.
c.             A pointer cursor will be displayed.
d.            A text cursor will be displayed.

Question:_08
What is the range of values (in decimal notation) that can be specified in the RGB color model?

a.            0 to 256
b.            0 to 255
c.             -250 to 250
d.            -255 to 255

Question_09:
The color in three digit RGB notation is #fb0. What will be its equivalent six digit color code?

a.            #fb0fb0
b.            #ffbb00
c.             #fbfb00
d.            None of the ab

Question_10:
backface-visibility:hidden; will this property hide the back side of a transformed div element?

a.            Yes
b.            No

Question:_11
What will happen if the pause property is used as follows?

h2 { pause: 40s 60s }

a.            pause-before will be set to 40 seconds and pause-after will be set to 60 seconds.
b.            pause-after will be set to 40 seconds and pause-before will be set to 60 seconds.
c.             pause-after and pause-before will be set to 40 seconds.
d.            pause-after and pause-before will be set to 60 seconds.

Question_12:
Read the following:
@page rotated {size: landscape}
TABLE {page: rotated; page-break-before: right}
What will this code do?


a.            It will put all tables on a right-hand side landscape page.
b.            It will rotate the page if the table is positioned at the right side.
c.             It will keep the table in the landscape position and rotate the page.
d.            None of the above

Question_13:
Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?


a.            orphans
b.            widows
c.             bottom
d.            overflow
e.            None of the above

Question:14
What is the problem in the following style sheet?


@import “style.css”;
@media print
{
@import “print-main.css”;
BODY { font-size: 10pt }
}
h1 {color: red }


a.            Two style sheets can’t be included with @import.
b.            The body tag can’t be included inside @media.
c.             @import rule is invalid since it occurs inside a @media block.
d.            It is valid.

Question:15
A/An___________ is defined with ‘grid-columns’, ‘grid-rows’ properties.

a.            Explicit grid
b.            Natural grid
c.             Default grid
d.            None of the above

Question:16
Which of the following are not valid values for the target-new property?


a.            window
b.            tab
c.             none
d.            parent
e.            current

Question:17
Which of the following styles is not valid for an image?

a.            img { float= left }
b.            img { float: left here }
c.             img { background: “black” }
d.            img { border-width: 10 }
e.            All of the above

Question:18
What is the initial value of the marquee-speed property?

a.            slow
b.            normal
c.             fast
d.            none

Question:19
What is the default value of the transform property in CSS3?

a.            50% 50%
b.            0% 0%
c.             100% 100%
d.            none

Question:20
Which of the following value of the white-space property will set the value of white-space-collapse to “preserve” and value of the text-wrap to “none”?


a.            normal
b.            pre
c.             nowrap
d.            pre-wrap
e.            pre-line

Question:21
Which of the following is not a user interface element fragment selector?

a.            value
b.            choices
c.             default
d.            repeat-item
e.            repeat-index

Question:22
If the nav-index property of textbox1 is set to 10, that of textbox2 to 5 and that of textbox3 to 8, what will be the navigation order?


a.            textbox1, textbox2 ,textbox3
b.            textbox2, textbox3 ,textbox1
c.             textbox3, textbox2 ,textbox1
d.            textbox1, textbox3 ,textbox2

Question:23
What is the initial value of the opacity property?

a.            0
b.            1
c.             normal
d.            none

Question:24
Which of the following option does NOT exist in media groups available in CSS3?

a.            continuous or paged
b.            visual or tactile
c.             grid or bitmap
d.            braille or screen

Question:25
What is the initial value of the text-align property?


a.            start
b.            end
c.             left
d.            right
e.            center
f.             justify

Question:26
Which of the given rules would result in an object being rendered as above?

a.            div { content: ’1′ }
div::before { content: ’2′; }
div::before::before { content: ’3′; }
b.            div { content: ’3′ }
div::before { content: ’2′; }
div::before::before { content: ’1′; }
c.             div { content: ’1′ }
div::before { content: ’2′; }
div::before(2) { content: ’3′; }
d.            div { content: ’3′ }
div::before { content: ’2′; }
div::before(2) { content: ’1′; }

Question:27
You want to set the image resolution to 300dpi irrespective of the resolution of the image. Which of the following codes will be used?

a.            img { image-resolution: auto }
b.            img { image-resolution: auto, 300dpi }
c.             img { image-resolution: 300dpi }
d.            None of the above

Question:28
If you set the value of the speak property to digits, how would 22 be spoken?

a.            twenty two
b.            two two
c.             twenty and two
d.            four

Question:29
Which of the following does not apply to external styles?

a.            Clean separation of design and content
b.            Minimal code duplication
c.             Highest priority
d.            Reduced page download time

Question:30
To which of the following elements can the min-width property not be applied?

a.            button
b.            span
c.             table new

Question:31
If the following rule is used, what will be the output?

:focus,:active { outline-offset: 10px }

a.            The focus outline will appear at a distance of 10 pixels from the active element.
b.            The width of the focus outline will be 10 pixels.
c.             No outline will be shown.

Question:32
Which of the following rules is equivalent to the em { color: rgb(255,0,0) } style?

a.            em { color: rgb(300,0,0) }
b.            em { color: rgb(255,-10,0) }
c.             em { color: rgb(110%, 0%, 0%) }
d.            em { color: rgb(100%, 0%, 0%) }
e.            All of the above

Question:33
What is the initial value of the animation-iteration-count property?

a.            0
b.            1
c.             5
d.            None

Question:34
What will happen if the following style declaration is applied to an element?

p { margin: 3em 2em }

a.            The top and the bottom margins will be 3em and the left and the right margins will be 2em.
b.            The top and the bottom margins will be 2em and the left and the right margins will be 3em.
c.             The top and the left margins will be 3em and the bottom and the right margins will be 2em.
d.            The top and the right margins will be 2em and the bottom and the left margins will be 3em.

Question:35
What will happen if the following style declaration is used in the given HTML code?
<style type=”text/css”>
div.container
{
width:38em;
border:1em solid black;
}
div.split
{
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}

HTML code:

<div class=”container”>
<div class=”split”>Box 1.</div>
<div>Box 2.</div>
</div>


a.            Two boxes will be stacked one on another.
b.            Box 1 will be on the left hand side and Box 2 will be on the right hand side horizontally.
c.             Box 2 will be on the left hand side and Box 1 will be on the right hand side horizontally.
d.            Both boxes will overlap each other.

Question:36
Which of the following is the initial value for the column-fill property?

a.            auto
b.            balance
c.             none

Question:37
If you are using the white-space-collapse property with value collapse, what will be the output of the following string?
John leads his team to the victory, but fails to reach the   finals.


a.            Johnleadshisteamtothevictory,butfailstoreachthefinals.
b.            John leads his team to the victory, but fails to reach the finals.
c.             John leads his team to the         victory, but fails to reach the   finals.
d.            John leads his team to thevictory, but fails to reach thefinals.

Question:38
What effect does the following rule have?

div { grid-rows: 4em (0.25em 1em); }

a.            It creates rows with 4em height.
b.            It creates a header row with 4em height and alternative rows with 0.25em width and 1em heights.
c.             It creates a header row with 4em height and alternative rows with 0.25em and 1em heights.
d.            It creates a header row with 4em width and alternative rows with 0.25em width and 1em heights.

Question:40
What is the initial value of the hyphens property?

a.            none
b.            manual
c.             auto
d.            default

Question:41
Which of the following properties doesn”t take up space?
a. outline
b. border
c. Both a and b

Question:42
backface-visibility:hidden; will this property hide the back side when an element is rotated?
a.Yes
b.No
Question:43
What is the initial value of the animation-iteration-count property?
a.0
b.1 
c.5
d.None
Question:44
ruby-text (in XHTML: rt)
Which of the following display values assign ruby semantics to an arbitrary element as given above?
a.It specifies that an element defines a ruby base.
b.It specifies that an element contains one or more ruby bases.
c.It specifies that an element defines a ruby text.
d.It specifies that an element contains one or more ruby texts.
e.It specifies that an element defines a ruby structure.
Question:45
What is the maximum value that can be given to the voice-volume property?
a.0
b.10
c.100

d.500
e.None of the above

Thanks…

There are lot of odesk test answers here for you. Next elance html5 test answers will be published.

Good luck & best woshes for your freelancing success

Monday, 10 February 2014

How to find relevant site for back linking

We know that after search engine algorithm update search engine ranking is not so easy. An search engine require quality work so To build back link you should carefull if you build non relevant site that would not benefited your site to get ranking But if you build few but relevant backlink that would be so much beneficial for your site search ranking. By question how to find relevant site to create backlink  . So to day i am going to share some awesome search rule by using these rule you can find your desire niche , keyword related site

How to find relevant site for back linking
Let think our keyword is : ‍"SEO"   Then the search formula will be :


For Blog Commenting :
  1. “SEO” site:.gov inurl:blog “post a comment”
  2. “SEO” site:.edu inurl:blog “post a comment”
  3. “SEO” “This blog uses premium CommentLuv”
  4. “SEO” “Notify me of follow-up comments?”
  5. “SEO” “add to this list” site:squidoo.com
For Guest Blogging :
  1. “SEO” guest writer
  2. “SEO” guest blog post writer
  3. “SEO” submit content
  4. “SEO” submit article
  5. “SEO” submit post
  6. “SEO” submit blog post
  7. “SEO” add article
  8. “SEO” add blog post
  9. “SEO” add content
  10. “SEO” guest blogger wanted
For Directory Submission
  1. “SEO” directory
  2. “SEO” * directory
  3. SEO * “aquarium”
  4. intitle:directory “SEO”
  5. inurl:directory “SEO”
  6. “list of “SEO” sites”
  7. “list * “SEO” sites”
  8. “list * “SEO” * sites”
  9. “recommended links” “SEO”
  10. “recommended sites” SEO”
  11. “favorite links” SEO”
  12. “favorite sites” SEO”
 For Forum Posting :
  1. “SEO” forum
  2. “SEO forum”
  3. intitle:” SEO” forum
  4. inurl:” SEO” forum