Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Yaswanth Varma
Page 30 of 31
How slideDown() function works in jQuery event handler?
The JavaScript library "jQuery" is regarded as the most effective lightweight JavaScript library. Based on the built-in methods, it encapsulates several lines of JavaScript code to carry out a given functionality. A single line of code can easily be used to call these methods. While doing the necessary operation, it shortens the code. The sliding effect is one of the more useful animation-designing methods among the many Effect-creating techniques that are available with jQuery. Let’s dive into the article to learn about the slideDown()function in jQuery. slideDown() in jQuery A sliding effect can be produced with the slideDown() method ...
Read MoreHow to add a new class to an element that already has a class using jQuery?
jQuery is a well-known JavaScript library that makes it easier to manipulate HTML elements, handle events, and carry out numerous operations on web pages. Adding or changing HTML element classes can also be done using jQuery. Using it, we can easily add a new class to an element that already has one or more classes. This enables you to combine many styles or actions on a single element without deleting any already-existing classes. Let’s dive into the article to learn about adding a new class to an element that already has a class. This can be done by using the ...
Read MoreHow to add a list elements within an unordered list element using jQuery?
A well-known JavaScript library called jQuery makes interacting with HTML documents and carrying out different operations on web sites making it more effective. Let’s dive into the article to add list elements to an unordered list. Unordered lists are frequently employed to provide a group of items in a bulleted order. Using jQuery, you may quickly add new list items to an unordered list for any purpose, such as a navigation menu or to-do list. This can be done by using the jQuery append() method. jQuery append() method jQuery's append() method enables you to add stuff, such HTML elements or ...
Read MoreDifference between prop() and attr() methods in jQuery
The prop() and attr() methods in jQuery are both used to change the attributes and properties of HTML elements, but they accomplish slightly different tasks. Although they are sometimes used interchangeably, knowing how they vary might help you decide which approach is best for your particular use case. Let’s dive into the article to learn more about the differences between the prop() and attr() methods in jQuery. jQuery prop() method Prop() is a jQuery method that is used to set or return properties and values for the selected elements. When this method is used to get a property value, it ...
Read MoreExplain the working of HTTPS
The basic protocol used to transmit data between a web browser and a website is HTTP, while HTTPS is the secure version of HTTP. To strengthen the security of data transport, HTTPS is encrypted. This is crucial when customers register into a bank account, email account, or health insurance provider and transfer sensitive data. HTTPS should be used on all websites, especially those that demand login information. Websites that do not employ HTTPS are marked differently than those which employ HTTPS. If you want to know whether a website is secure, look for a padlock in the URL bar. Google ...
Read MoreHow to add a class to the last paragraph element using jQuery?
jQuery is a well-known JavaScript library that makes it easier to manipulate HTML elements, handle events, and carry out numerous operations on web pages. Adding or changing HTML element classes can also be done using jQuery. Using it, we can easily add a new class to the last paragraph element. Let’s dive into the article to learn more about adding a class to the last paragraph element using JQuery. This can be done by using the addclass() method and append() methods. Let’s discuss them one by one. jQuery addclass() method One or more class names are added to the ...
Read MoreDrop Shadow with HTML5 Canvas
In HTML5 canvas, you can add shadows to shapes, lines, texts, and images to give them the appearance of depth. You can use the following canvas context attributes to add shadows when using the HTML5 canvas. shadowOffsetX() shadowOffsetY() shadowColor() shadowBlur() shadowOffsetX() The property can be used to get or set a shadow's horizontal distance of a shadow from a page. To change the location of a shadow, you can use positive or negative numbers. Zero is the default value. Syntax Following is the syntax for shadowOffsetX() ctx.shadowOffsetX = h_distance; where h_distance belongs to the horizontal distance ...
Read MoreHTML5 Fonts for Macintosh Systems
Due to the fact that the browser doesn't need to download any font files because it is already using one, utilizing the system font of a specific operating system by default can improve efficiency. But it is true of any web-safe typeface. System fonts have the advantage of matching the fonts that the current OS uses, making them visually pleasing. There are some fonts from the Microsoft list that are also compatible with Macintosh Systems. Those are Andale Mono, Arial, Arial Black, Comic Sans MS, Courier New, Impact, Trebuchet, Verdana, Symbol, Webdings and Times New Roman The fonts ...
Read Moreinput type week really exist in HTML5?
The tag designates a field for user-enterable data. The most significant form element is the element. Depending on the type attribute, the element can be presented in a number of different ways. The input element denotes a field for a week input because it has the value "week" in its type property. Instead of requiring users to input the value as a string, these fields could be represented in supporting browsers by controls that let users update it graphically (such as a calendar, for example). Let’s jump into the article to discuss more about input type week ...
Read MoreRadial Gradient HTML5 Tag
The progressive change from one hue to another is known as a gradient. It lets designers practically invent a new hue. By giving a design a new level and reality, gradients help objects stand out. We can find three types of gradients in HTML, but the given task we are going to perform is about radial gradient. Let’s discuss for getting a better understanding of radial gradient HTML5 tag. Radial Gradient A radial gradient differs from a linear gradient. It radiates outward from one central point. The gradient will by default have an elliptical shape, be the largest corner, start ...
Read More