Articles on Trending Technologies

Technical articles with clear explanations and examples

Fade in on Button hover with CSS

Arjun Thakur
Arjun Thakur
Updated on 24-Jun-2020 861 Views

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    

Read More

Different Operations on Processes

Kristi Castro
Kristi Castro
Updated on 24-Jun-2020 24K+ Views

There are many operations that can be performed on processes. Some of these are process creation, process preemption, process blocking, and process termination. These are given in detail as follows −Process CreationProcesses need to be created in the system for different operations. This can be done by the following events −User request for process creationSystem initializationExecution of a process creation system call by a running processBatch job initializationA process may be created by another process using fork(). The creating process is called the parent process and the created process is the child process. A child process can have only one ...

Read More

Create a draggable paragraph in HTML5

Nancy Den
Nancy Den
Updated on 24-Jun-2020 530 Views

Use the draggable attribute to create a draggable paragraph. Enable or Disable the drag using the values true and false.ExampleYou can try to run the following code to implement draggable element and drag an element −                    .drag {             float: left;             width: 100px;             height: 75px;             border: 1px dashed #876587;             margin: 15px;             padding: 10px;          }   ...

Read More

How to add a unique id for an element in HTML?

Abhinaya
Abhinaya
Updated on 24-Jun-2020 976 Views

Use the id attribute in HTML to add the unique id of an element.ExampleYou can try to run the following code to implement id attribute −           Tutorialspoint       We provide Tutorials!       More...                function display() {             document.getElementById("myid").innerHTML = "We provide learning videos as well";          }          

Read More

Interprocess Communication with Sockets

David Meador
David Meador
Updated on 24-Jun-2020 7K+ Views

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.One of the ways to manage interprocess communication is by using sockets. They provide point-to-point, two-way communication between two processes. Sockets are an endpoint of communication and a name can be bound to them. A socket can be associated with one or more processes.Types of SocketsThe different types of sockets are given as follows −Sequential Packet Socket: This type ...

Read More

Execute a script when media data is loaded in HTML?

Vrundesha Joshi
Vrundesha Joshi
Updated on 24-Jun-2020 198 Views

Use the onloaddata event to execute a script when media data is loaded. You can try to run the following code to implement onloaddata event −ExampleThe following code generates an alert box when the video gets loaded −                                        Your browser does not support the video element.                      function display() {             alert("Loaded!");          }          

Read More

Usage of CSS grid-row-gap property

George John
George John
Updated on 24-Jun-2020 83 Views

Set gap between Grid rows with CSS. You can try to run the following code to implement the grid-row-gap property.ExampleLive Demo                    .container {             display: grid;             background-color: green;             grid-template-columns: auto auto;             padding: 20px;             grid-column-gap: 20px;             grid-row-gap: 20px;          }          .ele {             background-color: orange;             border: 2px solid gray;             padding: 35px;             font-size: 30px;             text-align: center;          }                     Game Board                1          2          3          4          5          6          

Read More

How to set that the specified element/group of elements should be disabled in HTML?

vanithasree
vanithasree
Updated on 24-Jun-2020 149 Views

Use the disabled attribute to disable an element. The attribute can be used for the following elements: , , , , etc.ExampleYou can try to run the following code to implement disabled attribute −           Which sports do you like?                 Football           Cricket           Hockey                    

Read More

What are the different states of a Process?\\n

Ricky Barnes
Ricky Barnes
Updated on 24-Jun-2020 15K+ Views

A process is an active program. It can also be said as a program that is under execution. It is more than the program code as it includes the program counter, process stack, registers, program code etc. Compared to this, the program code is only the text section.A process passes through different states as it executes. These states may be different in different operating systems. However, the common process states are explained below with the help of a diagram −NewThis is the state when the process has just been created. It is the initial state in the process life cycle.ReadyIn ...

Read More

How to change the text color of an element in HTML?

Daniol Thomas
Daniol Thomas
Updated on 24-Jun-2020 9K+ Views

Use the color attribute in HTML to display the color of the text.Note − This attribute is not supported in HTML5.ExampleYou can try to run the following code to learn how to implement color attribute in HTML −           HTML Background Colors                                                    This is demo text.                                

Read More
Showing 43321–43330 of 61,248 articles
Advertisements