Download pdf php html questionsfor interview
It is used to send the file data to the server-side for processing. Every web page has different components to display the intended content and a specific UI. But still, there are few things which are templated and are globally accepted way to structure the web page, such as:. These tags have semantic meaning. Yes, we can display a web page inside another HTML web page.
Cell Spacing is the space or gap between two consecutive cells. Please refer to the above figure example to find the difference. If the scripts contain some event-triggered functions or jquery library then we should use them in the head section.
If the script writes the content on the page or is not inside a function then it should be placed inside the body section at the bottom. In short, follow below three points:. The HTML form is used to collect the user inputs. Some of the attributes used with meta tags are name, content, http-equiv, etc. The below image tells how to specify the metadata. Semantic elements are those which describe the particular meaning to the browser and the developer.
Yes, in HTML5 we can drag and drop an element. This can be achieved using the drag and drop-related events to be used with the element which we want to drag and drop. This web storage helps in storing some of the static data in the local storage of the browser so that we do not need to fetch it from the server every time we need it.
There is a size limit based on different browsers. This helps in decreasing the load time and a smooth user experience. There are two types of web storage that are used to store data locally in HTML It is used to help extract data for site crawlers and search engines. It is basically a group of name-value pairs. The groups are called items, and each name-value pair is a property.
Most of the search engines like Google, Microsoft, Yandex, etc follow schema. It has the following attributes:. Both of the above examples produce this output and represent two different approaches provided by HTML5 to implement graphical aspects in the webpage. The drag and drop functionality is a very intuitive way to select local files. This is similar to what most of the OS have copy functionality thus making it very easy for the user to comprehend.
Before the native drag and drop API, this was achievable by writing complex Javascript programming or external frameworks like jQuery. It is used for displaying mathematical expressions on web pages.
The events pushed from the webserver to the browsers are called server-sent events. DOM elements can be continuously updated using these events. This has a major advantage over straight-up polling. In polling, there is a lot of overhead since every time it is establishing an HTTP connection and tearing it down whereas, in server-sent events, there is one long-lived HTTP connection.
The src attribute of this element specifies the URL from which sends a data stream having the events. These are added to bring parallelism and async capability.
It runs in the background to do the computationally expensive tasks without yielding to make the page responsive. It is achieved by starting a separate thread for such tasks. Warning: it is not critical error. Fatal : it is critical error because it stops the execution of the script. Unlink function is used to delete the files while unset function makes a variable undefined. By default the maximum size of a file that can be uploaded is 2MB. By default the maximum execution time of a PHP script is 30sec.
If the list-style-type property is used on a non-list element like a paragraph, the property will be ignored and do not affect the paragraph. Frames can make navigating a site much easier. If the main links to the site are located in a frame that appears at the top or along the edge of the browser, the content for those links can be displayed in the remainder of the browser window.
The browser sizes the frames relative to the total sum of the values. They are mainly used as a replacement for Flash, Silverlight, and similar technologies to play multimedia items. Articles can be composed of multiple sections that can have multiple articles. An article tag represents a full block of content which is a section of a bigger whole. This tag represents a piece of self-contained flow content. It is mostly used as a single unit as a reference the main flow of the document. The canvas element helps to build charts, graphs, bypass Photoshop to create 2D images and place them directly into HTML5 code.
It stores data of current session only. It means that the data stored in session storage clear automatically when the browser is closed. In local storage, data is not deleted automatically when the current browser window is closed. The Application Cache concept means that a web application is cached.
It can be accessible without the need for internet connection. I am truly happy with your blog for the reason that your article is very exclusive and effective for new reader. Your email address will not be published. Skip to content. Thanks, It is really very helpful for me to attend the interview. Excellent…very helpful for me…html quiz……. Help me alot , thanku for uploaded this.
Leave a Reply Cancel reply Your email address will not be published. Web Expand child menu Expand. Javascript Expand child menu Expand. Database Expand child menu Expand. November 29, July 10, What is PHP? PHP is server side scripting language. It is the most widely used web technology to create dynamic web pages. There are many PHP based frameworks and Open sources available for free to use.
Some examples include WordPress, Drupal, Laravel etc. What is the full form of PHP? It is a widely-used open source general-purpose scripting language. In each iteration, expr2 is evaluated. If it is TRUE, the loop continues, and the statements inside for are executed. However, foreach provides an easy way to iterate over arrays, and it is only used with arrays and objects.
It is possible to use the document. The three basic classes of errors are notices non-critical , warnings serious errors and fatal errors critical errors.
It is possible to pass the variables between the PHP pages using sessions, cookies or hidden form fields. The default limit is 30 seconds. Yes, it is possible to share a single instance of Memcache between multiple projects. Memcache is a memory store space, and you can run memcache on one or more servers. You can also configure your client to speak to a particular set of instances. So, you can run two different Memcache processes on the same host and yet they are completely independent.
0コメント