Use the onstalled attribute in HTML to execute a script when the browser is unable to fetch the media date.The onstalled attribute can be used for the following elements − The following is the syntax for −The following is the syntax for −ExampleYou can try to run the following code to implement onstalled attribute − Your browser does not support the video element. function display() { alert ("Sorry! Video isn't available right now!"); }
Use the tag in HTML to add a push button. The HTML tag is used for creating a button within HTML form. You can also use tag to create similar buttons.The following are the attributes of the tag −AttributeValueDescriptionautofocusAutofocusSpecifies that the button should have input focus when the page loads.disabledDisabledSpecifies the button is disabled.formform_idSpecifies the forms to which button belongs.formactionURLSpecifies the link where the form submits.formenctypeapplication multipart/form-data text/plainSpecifies how the form data is encoded before sending it to server.formmethodget postSpecifies how to send form data.formnovalidateFormnovalidateSpecifies that the form data should not be validated.formtarget_blank_self _parent _topSpecifies where the response should ... Read More
Use the tag to indicate long quotations. The HTML tag is used to include long quotations (i.e. quotations that span multiple lines). It should contain only block-level elements within it and not just plain text.The following is the attribute −AttributeValueDescriptioncite URLURL of the quote, if it is taken from the web.ExampleYou can try to run the following code to implement tag in an HTML document − HTML blockquote Tag Browsers generally render blockquote text as indented text. If your quoted text needs to display ... Read More
Interprocess communication is the mechanism provided by the operating system that allows processes to communicate with each other. This communication could involve a process letting another process know that some event has occurred or transferring of data from one process to another.A diagram that illustrates interprocess communication is as follows −The models of interprocess communication are as follows −Shared Memory ModelShared memory is the memory that can be simultaneously accessed by multiple processes. This is done so that the processes can communicate with each other. All POSIX systems, as well as Windows operating systems use shared memory.Advantage of Shared Memory ... Read More
You can try to run the following code to align the grid inside the container using the justify-content property:ExampleLive Demo .container { display: grid; background-color: gray; grid-template-rows: 120px 90px 100px; justify-content: space-evenly; padding: 20px; grid-gap: 20px; } .container > div { background-color: yellow; border: 2px solid gray; padding: 35px; font-size: 30px; text-align: center; } Game Board 1 2 3 4 5 6
Global System for Mobile communication (GSM) architecture comprises of the following components −Mobile Station : The mobile station is the mobile phone, which comprises of the mobile handset and SIM card. The mobile handset comprises of the transceiver, the display and its processor. SIM stands for SubscriberIdentity Module. It is a removable chip that contains account information of the subscriber and connects the handset to the mobile network system.Air Interface : The air interface is the interface between the mobile station and the Base Transceiver Station. It is also called the UM interface as it is analogous to U interface ... Read More
Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming operating system.There are many scheduling queues that are used in process scheduling. When the processes enter the system, they are put into the job queue. The processes that are ready to execute in the main memory are kept in the ready queue. The processes that are waiting for the I/O device are kept in the I/O device queue.The different schedulers that are used for process ... Read More
You can try to run the following code to create a responsive pagination with CSSExampleLive Demo .demo { display: inline-block; } .demo a { color: blue; float: left; padding: 3px 8px; text-decoration: none; } Our Quizzes
Use the tag in HTML to add the glossary definitions. The HTML tag is used for declaring a definition list. This tag is used within tag.A definition list is similar to other lists but in a definition list, each list item contains two entries; a term and a description.ExampleYou can try to run the following code to implement tag − HTML dl Tag Definition List A list of terms and their definitions/descriptions. HTML An HTML tutorial. PHP An PHP tutorial.
You can try to run the following code to fade in on button hover with CSSExampleLive Demo .btn { background-color: orange; color: white; padding: 10px; text-align: center; font-size: 16px; margin: 5px; opacity: 0.5; transition: 0.5s; display: inline-block; text-decoration: none; cursor: pointer; } .btn:hover { opacity: 2 } Result
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP