The CSS volume property is part of the speech synthesis specification and controls the median volume of synthesized speech. This property is primarily used for accessibility features and speech-enabled interfaces. Syntax selector { volume: value; } Possible Values ValueDescription numberAny number between 0 and 100. 0 represents minimum audible volume, 100 represents maximum comfortable level percentageValues calculated relative to the inherited value, clipped to range 0% to 100% silentNo sound at all (different from 0) x-softSame as 0 softSame as 25 mediumSame as 50 (default value) loudSame as 75 ... Read More
We will be given a connected graph with N vertices and M edges. We need to print the lexicographically smallest BFS traversal of the graph starting from vertex 1. Lexicographically smallest means visiting vertices in the smallest numerical order possible at each level. Instead of using a regular queue for BFS, we use a priority queue (min-heap) to always visit the smallest numbered unvisited vertex first. Syntax void lexicographicalBFS(int graph[][MAX], int n, int start); Algorithm The approach uses a priority queue to ensure we always visit the smallest numbered vertex next − ... Read More
The CSS rotateInDownLeft animation effect creates a smooth rotation entrance animation where an element rotates from a -90 degree angle to its normal position while fading in. The rotation occurs from the bottom-left corner of the element. Syntax @keyframes rotateInDownLeft { 0% { transform-origin: left bottom; transform: rotate(-90deg); opacity: 0; } 100% { ... Read More
Aural rendering of documents is a technique that converts visual content into audio format, primarily designed to assist visually impaired users. CSS provides aural properties to control how documents are presented through speech synthesizers and audio devices. Why Aural Rendering is Necessary Aural rendering serves various important purposes beyond accessibility − Learning to read: Helps children and adults learn pronunciation and reading skills Training: Enables hands-free learning in educational and professional contexts Web access in vehicles: Allows safe browsing while driving ... Read More
Given a string of odd length, we need to print it in 'X' format where characters are displayed diagonally from top-left to bottom-right and top-right to bottom-left, creating an X pattern. t t u n t i o r a i l a p l o ... Read More
Aural CSS properties control how content is presented through speech synthesis for screen readers and assistive technologies. These properties are primarily used to improve accessibility for visually impaired users by defining spatial audio positioning, timing, voice characteristics, and sound effects. Syntax selector { property-name: value; } Spatial Positioning Properties Azimuth Property The azimuth property sets the horizontal position from where the sound should come − .left-audio { azimuth: left; ... Read More
In C programming, thread synchronization is used to coordinate the execution of multiple threads to achieve a desired sequence. This program demonstrates how to print numbers from 1 to 10 in sequence using two threads − one for even numbers and one for odd numbers. What is a Thread? A thread is a lightweight process that runs inside a program. A single program can contain multiple threads executing concurrently. Unlike Java, C does not have built-in multithreading support. Instead, it relies on POSIX Threads (Pthreads) library for multithreading functionality. Syntax pthread_create(pthread_t *thread, const pthread_attr_t *attr, ... Read More
The CSS roll in animation effect creates a smooth rolling motion where an element slides in from the left side while rotating. This animation combines translation and rotation transforms to simulate an object rolling into view like a wheel or ball. Syntax @keyframes rollIn { 0% { opacity: 0; transform: translateX(-100%) rotate(-120deg); } 100% { opacity: 1; ... Read More
In C, printing the leftmost and rightmost nodes of a binary tree involves traversing the tree level by level and capturing the first and last nodes at each level. This technique uses level-order traversal (BFS) to identify boundary nodes. Syntax struct node { int data; struct node* left; struct node* right; }; void printBoundaryNodes(struct node* root); Algorithm The approach uses a queue-based level-order traversal − Process each level completely before moving to the next For each level, store the ... Read More
The CSS pulse animation effect creates a rhythmic scaling animation that makes elements appear to "pulse" or "breathe" by smoothly growing and shrinking in size. This effect is commonly used to draw attention to buttons, notifications, or important content. Syntax @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } .pulse { animation-name: pulse; animation-duration: 2s; animation-iteration-count: infinite; } Example: Basic ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Economics & Finance