Sai Subramanyam has Published 102 Articles

How to change text font in HTML?

Sai Subramanyam

Sai Subramanyam

Updated on 06-Sep-2023 14:02:36

41K+ Views

To change the text font in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML tag, with the CSS property font-family, font-size, font-style, etc.HTML5 do not support the tag, so the CSS style is used ... Read More

How to mark strikethrough text in HTML?

Sai Subramanyam

Sai Subramanyam

Updated on 29-Dec-2021 07:28:48

9K+ Views

To mark strikethrough text in HTML, use the … tag. It renders a strikethrough text. HTML deprecated this tag and it shouldn’t be used in HTML5. As an alternative, use the CSS text-decoration property.To use the CSS property, use the style attribute. The style attribute specifies an inline style for ... Read More

How to draw a Bezier Curve with HTML5 Canvas?

Sai Subramanyam

Sai Subramanyam

Updated on 16-Dec-2021 10:18:06

1K+ Views

The HTML5 tag is used to draw graphics, animations, etc. using scripting. It is a new tag introduced in HTML5. The canvas element has a DOM method called getContext, which obtains rendering context and its drawing functions. This function takes one parameter, the type of context 2d.To draw a ... Read More

The Modulation and Multiplexing

Sai Subramanyam

Sai Subramanyam

Updated on 02-Jul-2020 13:07:43

6K+ Views

ModulationModulation is the process of transforming a carrier signal so that it can carry the information of a message signal. It superimposes the contents of the message signal over a high-frequency carrier signal, which is then transmitted over communication channels.Modulation can be of two types −Analog ModulationDigital ModulationAnalog ModulationHere, the ... Read More

How to set the maximum height of an element with JavaScript?

Sai Subramanyam

Sai Subramanyam

Updated on 23-Jun-2020 13:20:09

500 Views

Use the maxHeight property in JavaScript to set the maximum height. You can try to run the following code to set the maximum height of an element with JavaScript −ExampleLive Demo    #box {       width: 300px;       background-color: gray;       ... Read More

C# int.Parse Method

Sai Subramanyam

Sai Subramanyam

Updated on 23-Jun-2020 07:14:09

14K+ Views

Convert a string representation of number to an integer, using the int.Parse method in C#. If the string cannot be converted, then the int.Parse method returns an exceptionLet’s say you have a string representation of a number.string myStr = "200";Now to convert it to an integer, use the int.Parse(). It ... Read More

How BEFORE UPDATE triggers can be used to emulate CHECK CONSTRAINTfor updating values in the table?

Sai Subramanyam

Sai Subramanyam

Updated on 22-Jun-2020 12:59:22

53 Views

As we know that MySQL supports foreign key for referential integrity but it does not support CHECK constraint. But we can emulate them by using triggers. It can be illustrated with the help of an example given below −ExampleSuppose we have a table named ‘car’ which can have the fix ... Read More

How to sort an array of objects containing null elements in java?

Sai Subramanyam

Sai Subramanyam

Updated on 16-Jun-2020 11:50:33

2K+ Views

Whenever we try to sort elements with null values using the sort method it throws an exception.The sort() method of the Arrays class also accepts a Comparator along with the array. Using comparator, you need to specify the order in which the elements need to be sorted.Using this method push ... Read More

How to create and populate two-dimension Java array?

Sai Subramanyam

Sai Subramanyam

Updated on 16-Jun-2020 09:53:19

624 Views

A two-dimensional array in Java is represented as an array of one-dimensional arrays of the same type. Mostly, it is used to represent a table of values with rows and columns −Example Live Demopublic class Creating2DArray { public static void main(String args[]) { int[][] myArray = new int[3][3]; myArray[0][0] = ... Read More

How to delete elements from an array?

Sai Subramanyam

Sai Subramanyam

Updated on 16-Jun-2020 08:45:29

1K+ Views

To delete an element at a particular position from an array. Starting from the required position, replace the element in the current position with the element in the next position.Example Live Demopublic class DeletingElementsBySwapping { public static void main(String args[]) { int [] myArray = {23, 93, 56, 92, 39}; System.out.println("hello"); ... Read More

1 2 3 4 5 ... 11 Next
Advertisements