Thursday, March 29, 2018

phpMyPassion

jQuery Core - All Version List || jQuery Version


Here I am sharing jQuery version list.

jQuery Core & Migrate - Git Builds

UNSTABLE, NOT FOR PRODUCTION

jQuery Core - All 3.x Versions

jQuery Core - All 2.x Versions

jQuery Core - All 1.x Versions

jQuery Migrate - All Versions

Credit : code.jquery.com

Read More

Saturday, March 10, 2018

Dheeraj Punjabi

Top Html Interview Questions And Answers for Freshers.


Here I am sharing most asked HTML interview questions and their answers for  beginners. This list of HTML interview answers surly helpful for HTML beginners or web designers who just want to began their profession as a HTML designer. I recommend read out these interview questions before the interview. 

Question #1 - What is HTML?
HTML stands for Hypertext Markup Language. It is s markup language for World Wide Web. HTML was developed by Tim Berners Lee during 1990’s. It consists of tags which are used to define content and web page formatting.

Question #2 - Different versions of HTML?
HTML has numerous renditions since it initiations amid 1990's. HTML variant are HTML, HTML+, HTML 2.0, HTML 3.2, HTML 4.0 and the most recent form HTML 5.

Question #3 - What is the role of <!DOCTYPE>?
DOCTYPE stands for Document Type Declarations. DOCTYPE is used to specify the web browsers that which types of documents(such as SGML or XML Documents) it will receive. <!DOCTYPE> is declared above the <html> tag.

Question #4 - What are HTML tags?
HTML tags similar to keywords which has specifies function, for example, for paragraph we can use HTML tag(<p>). HTML tags mostly comes in pair like, <p>, </p>.

Question #5 - How do you create Tables in HTML?
HTML tables are created using <table> tags. To divide a HTML table, we have to use <tr>, which is table row. Likewise we <td> and <th>.

Question #6 - What is HTML Element?
An HTML component is everything from beginning to the closure of HTML tag. For instance, <p> This is a HTML Element</p>, in this case, from beginning tag to consummation label everything is HTML component and "This is a HTML Element" will be Element Content.

Question #7 - What is HTML Attribute?
HTML attribute adds extra data to the HTML Elements. For instance, <font size="5" color="green">, here size and color are html attributes.

Question #8 - What is Hyperlinks?
Hyperlinks are utilized to explore to another document with the assistance of content, picture or with a gathering of words.

Question #9 - Which are the basic editors for HTML?
There are various editors for designing in HTML like Notepad, Notepad++, EditPlus and WYSIWYG HTML editors etc. But mostly Notepad is using HTML Designers.

Question #10 - What are some of the common lists that can be used when designing a page?
Basically, HTML used some of the common lists these are following:-
– Ordered list
– Unordered list
– Definition list
– Menu list
– Directory list
Each of this list types makes use of a different tag set to compose.

Question #11 - Advantage of collapsing white space?
- This enables the designers to mastermind the HTML code in an efficient and intelligible organization.
- The browser collapses the multiple white spaces into a single white space in HTML.

Question #12 - How will you align a table to the right or left?
- For align the table to the right, we can use <TABLE ALIGN=" right">
- For align the table to the left, we can use <TABLE ALIGN=" left">

Question #13 - Does a hyperlink apply only to text?
No.
- The hyperlinks can be applied to both text as well as the images.
- This can be done simply by using <a href> tag.
- It means that even the images can become clickable links with a capability to take the visitor to the next page.

Question #14 - What are HTML forms?
HTML forms takes information and sends the data to the servers.

Question #15 - What are HTML blocks?
HTML blocks can be characterized by HTML tags like <span> and <div>.

Question #16 - What is the distinction amongst <div> and <span> components?
<div> tags are utilized to characterize segment in record blocks shrewd while <span> tag is utilized to characterize area in archives inline.

Question #17 - You need just a vertical scrollbar and no level scrollbar on your page. How might you do it?
- This should be possible by characterizing the frame with SCROLLING="auto" and having substance to simply fit into this frame.
- SCROLLING="yes" gets the scroll bar on both the sides, even when not required.
- SCROLLING="no" doesn't get the scrollbars by any stretch of the imagination, even when they are required.

Question #18 - What is <body> element in HTML document?
The <body> element characterizes the records body. It contains every one of the substance of the report (like content, pictures, hues, designs, and so on.).

Question #19 - What is image mapping in HTML?
Image map lets you connect to a wide range of site pages utilizing a single picture. You can characterize shapes in pictures that you need to make some portion of a image mapping.

Question #20 - What is the use of using alternative text in image mapping?
When you use image maps, it can easily become confusing and difficult to determine which hotspots corresponds with which links. Using alternative text lets you put a descriptive text on each hotspot link.

Question #21 - Differentiate between get and post method?
HTML techniques sends ask for utilizing get a post strategy. GET post ask for information from the server and POST is utilized to submit information to the server.

Question #22 - What bullet types are available?
With ordered lists, you can select to use a number of different list types including alphabetical and Roman numerals. The type attribute for unordered lists can be set to disc, square, or circle.

Question #23 - What is contained in HTML markup?
-Character-based data types 
-Several key components, including elements (and their attributes)
-Character references and entity references.
-Also the document type declaration.

Question #24 - What are the limitations when serving XHTML pages?
Maybe the greatest issue is the poor browser support XHTML as of now appreciates. Web Explorer and various other client specialists can't parse XHTML as XML. Accordingly, it isn't the extensible dialect it was guaranteed to be. There are numerous different issues. Take your pick.

Question #25 - What is difference between HTML and XHTML?
1. HTML is utilization of Standard Generalized Markup Language(SGML) while XML is use of Extensible Markup Language(XML).
2. HTML is a static Web Page while XHTML is dynamic Web Page.
3. HTML enables software engineer to perform changes in the labels and utilize property minimization though XHTML when client require another markup label then client can characterize it in this.
4. HTML is tied in with showing data though XHTML is tied in with depicting the data.


More About Interviewing:

Read More

Monday, February 19, 2018

phpMyPassion

Basic PHP Interview Questions and Answers for Freshers

Here I am sharing top most asked basic PHP interview questions and answers for freshers that will helpful for freshers to get a job. All questions are related to PHP programming language so do prepare before the interview.

Question #1 - What is PHP?

PHP is an open source server side scripting language mostly used for web applications. Its easy to learn compare to other programming language. PHP also a object oriented programming language like java, .net and c++.

Question #2 - Who is the father of PHP and when it is developed?

PHP was developed in year 1994 by Rasmus Lerdorf.

Question #3 - What is the use of "echo" in php?

Mainly "echo" used to print a data on screen, for an Example: <?php echo 'This is my first website'; ?> , if we run it on browser, it will print the text on the screen.
Question #4 - How to include a file to a php page?

We include a file using "include('filepath.php') " or "require('filepath.php')" function with file path as its parameter.

Question #5 - What is the difference between PHP4 and PHP5?

Below are the difference :-

Sr. No.
PHP4
PHP5
1.
PHP4 doesn’t support oops concepts
PHP5 supports oops concept
2.
Error handling is not good
Error handling is better
3.
PHP4 doesn’t show the function parameter hint.
PHP5 supports function’s perameter
Question #6 - What's the difference between include and require?

If the file is not found by require(), it will cause a fatal error and stop the execution of the script. If the file is not found by include(), a warning will be generate, but execution will continue.

Question #7 - Differences between GET and POST methods ?

We can only send 1024 bytes through GET method but by POST method can transfer large amount of data and POST is also a secure method than GET method .

Question #8 - What is the use of 'print' in php?

Print commonly used to print text on screen like echo but print has a return type.  you can use with out parentheses with its argument list.
Example 
print('50 PHP Interview questions'); 
print 'Job Interview questions ');

Question #9 - What is the difference between echo and print

Below are the difference between echo and print :-

  • Print has a return type value while Echo doesn't return any value.
  • Echo is faster then Print.
  • In Echo you can pass multiple argument while single argument can be pass in Print.

Question #10 - what is the use of isset() in php?

isset() function is used to ensure if a variable is set and is not NULL

Question #11 - What is the difference between $var and $$var?

Both are and just like a variable only difference is $var is only a variable while $$var is variable in a another variable. for an example -
$var = 'love';  //only a variable
$$var = 'PhpMyPassion.com';  // a variable that contain another vairable

means ${$var} where $var is equals to 'love'; so we can say $love is equals to $$var

Question #12 - What is the maximum  filesize that can be uploaded in PHP and how can we increase it?

The maximum size of a file that can be uploaded is set 2MB By default. if you want to change, you can do that by changing the maximum uploaded size value inside php.ini file set by upload_max_filesize = 5M and restart all the services.

Question #13 - How can we get the value of current session id?

You can get the current session id by using session_id() function in PHP.

Question #14: How to identify server IP address in PHP?

you can identify server IP address by using $_SERVER['SERVER_ADDR']; 


Read More