Nitya Raut has Published 276 Articles

How to add a spellchecker for text in HTML?

Nitya Raut

Nitya Raut

Updated on 10-Nov-2023 03:09:42

1K+ Views

To add a spellchecker, use the spellcheck attribute in HTML. The attribute checks spelling and grammer for text in input elements, elements and editable elements. Adding spellcheck Write spellcheck="true" inside the text type tag. Note − It works for input elements, but ... Read More

What is Hamming Distance?

Nitya Raut

Nitya Raut

Updated on 01-Nov-2023 00:43:11

49K+ Views

Hamming DistanceHamming distance is a metric for comparing two binary data strings. While comparing two binary strings of equal length, Hamming distance is the number of bit positions in which the two bits are different.The Hamming distance between two strings, a and b is denoted as d(a, b).It is used ... Read More

Flow control in Data Link Layer

Nitya Raut

Nitya Raut

Updated on 13-Sep-2023 15:16:26

29K+ Views

Flow control is a technique that allows two stations working at different speeds to communicate with each other. It is a set of measures taken to regulate the amount of data that a sender sends so that a fast sender does not overwhelm a slow receiver. In data link layer, ... Read More

Error Correcting Codes - Hamming codes

Nitya Raut

Nitya Raut

Updated on 06-Sep-2023 11:22:51

43K+ Views

Errors and Error Correcting CodesWhen bits are transmitted over the computer network, they are subject to get corrupted due to interference and network problems. The corrupted bits leads to spurious data being received by the receiver and are called errors.Error-correcting codes (ECC) are a sequence of numbers generated by specific ... Read More

How to embed a video using HTML code?

Nitya Raut

Nitya Raut

Updated on 02-Sep-2023 11:22:37

61K+ Views

To embed a video in an HTML page, use the element. The source attribute included the video URL. For the dimensions of the video player, set the width and height of the video appropriately.The Video URL is the video embed link. The video we will be embedding our example ... Read More

How to draw a hollow circle in SVG?

Nitya Raut

Nitya Raut

Updated on 16-Dec-2021 09:26:36

2K+ Views

To draw a hollow circle in SVG, use the element. For that, use fill=”none” and draw the outline.SVG stands for Scalable Vector Graphics and is a language for describing 2D-graphics and graphical applications in XML and the XML is then rendered by an SVG viewer. Most of the web ... Read More

CSS align-items property

Nitya Raut

Nitya Raut

Updated on 03-Jul-2020 10:38:37

138 Views

Use the align-items property to align the flex items.ExampleYou can try to run the following code to implement the align-items property −Live Demo                    .mycontainer {             display: flex;             ... Read More

Create a disabled look of a button with CSS

Nitya Raut

Nitya Raut

Updated on 03-Jul-2020 10:24:23

257 Views

To create a disabled button look, use the CSS opacity property.ExampleYou can try to run the following code to create a disabled look of a button −Live Demo                    .btn1 {             color: black; ... Read More

Usage of CSS align-items property flex-start value

Nitya Raut

Nitya Raut

Updated on 03-Jul-2020 07:50:54

93 Views

Use the align-items property with value flex-start to align flex items on the top.ExampleYou can try to run the following code to implement the flex-start value −Live Demo                    .mycontainer {             display: flex;   ... Read More

CSS object-fit Property

Nitya Raut

Nitya Raut

Updated on 03-Jul-2020 07:38:56

109 Views

Use the object-fit property in CSS to resize image or video to fit its container.ExampleYou can try to run the following code to learn how to work with the object-fit property −Live Demo                    .myimg {             width:250px;             height:350px;             object-fit:cover;          }                     SWIFT          

1 2 3 4 5 ... 28 Next
Advertisements