Hi, in this post we are going to discuss Elroi PHP fresher interview questions with answers. The questions were based on testing the knowledge of the candidates in PHP.  Let us discuss them brielfy;

Elroi PHP Fresher Interview Questions with Answers – PART 1

1.What is HTML?
=>HTML is the standard markup language for creating Web pages.
=>HTML stands for Hyper Text Markup Language
=>HTML describes the structure of Web pages using markup
=>HTML elements are the building blocks of HTML pages
=>HTML elements are represented by tags

2.What is the use of HTML?
=>Publish online documents with headings,texts,tables,lists,photos,etc.
=>Retrieve online information via hypertext links.
=>Include spreadsheet,video clips,audio clips and other applications directly into their document.
=>Design forms for conducting transactions with remote services.

3.What is PHP?
=>PHP is an acronym for “PHP: Hypertext Preprocessor”
=>PHP scripts are executed on the serverPHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
=>PHP is compatible with almost all servers used today (Apache, IIS, etc.)
=>PHP supports a wide range of databases

4.What is CSS?
=>CSS stands for Cascading Style Sheets
=>CSS describes how HTML elements are to be displayed on screen, paper, or in other media
=>CSS is easy to learn and understand but it provides powerful control over the presentation of an HTML document.
=>Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, layout designs,variations in display for different devices and screen sizes as well as a variety of other effects.css typesd

5.Why we use CSS?
=>CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.
=>CSS removed the style formatting from the HTML page.
=>An external stylesheet file, can change the look of an entire website by changing which saves a lot of work.

6.What is the difference between post and get?when we use?
GET method is use to send the less sensitive data whereas POST method is use to send the sensitive data. The difference between the two are as follows:

                     POST METHOD                            GET METHOD
  • POST requests are never cached
  • GET requests can be cached
  • POST requests do not remain in the browser history
  • GET requests remain in the browser history
  • POST requests cannot be bookmarked
  • GET requests can be bookmarked
  • POST requests have no restrictions on data length
  • GET requests have length restrictions


To be continued….