Found 10483 Articles for Web Development

How to create sliding text reveal animation using HTML and CSS?

Tanmay Chandhok
Updated on 24-Feb-2023 14:53:38

3K+ Views

You might have seen sliding text reveal animation at different websites like personal portfolio websites and even different video content which gives a different experience to the user as well as the text feels more lively. The sliding text animation can be easily made using HTML and CSS which will catch the attention of the user that visits our website for the website. In this article we are going to have a look at how can we create our sliding text reveal animation using only HTML and CSS How to create the sliding animation? Let's talk about that the approach ... Read More

A text- portrait using CSS?

Tanmay Chandhok
Updated on 24-Feb-2023 14:51:27

623 Views

Styling a website is the most integral part of creating a website, as it serves as a hook-point for the user, who is visiting your website for the first time. We can create many types of designs and interactive experiences using CSS. A text portrait can be created used illustrator or Photoshop to make the design attractive. In this article we are going to have a look at how can we generate and create a text portrait using CSS and some JavaScript function so as to achieve our text portrait. Creating the text portrait A text portrait is an image ... Read More

How to style every element that have adjacent item right before it?

Tanmay Chandhok
Updated on 24-Feb-2023 13:49:31

107 Views

Selectors are an important part of the CSS styling as all the properties which are applied to the elements are done using the selectors> it is also possible to select the elements on the basis of their relationship with some other element like a element which has a preceding element or any other element in the series. There are sibling combinator, child combinator and adjacent sibling combinator. In this article we are going to have a look at how can we style the element that have an adjacent item right before it Styling elements with adjacent items The elements which ... Read More

How to scroll to a particular element or skip the content in CSS?

Tanmay Chandhok
Updated on 24-Feb-2023 13:43:07

442 Views

When visiting certain websites, the user may feel the need to skip the content which is irrelevant and jump right to the content in which the user is interested in and there are many ways to do so in CSS. The user may want to click on a button or maybe link to take them to an element which is present on the same page. The user might be able to want to scroll to a particular element or be able to skip the content. In this article we are going to have a look at how can we scroll ... Read More

How to simulate target="_blank" in JavaScript ?

Gungi Mahesh
Updated on 24-Feb-2023 13:33:10

7K+ Views

The onclick event occurs only when a user clicks the elements and it is a purely JavaScript attribute. Whenever you click on the onclick event it does some actions like displaying a message or redirects the user another page. The onclick event must be used very less in the website, because it may create the confuse to the users. So, use these event very wisely. The window.open() method is used to open the links or web pages in a new window or tab in the browser. It is supported by all the famous browsers like chrome, firefox, and opera. window.open() ... Read More

How to simulate a click with JavaScript ?

Gungi Mahesh
Updated on 24-Feb-2023 13:30:57

2K+ Views

The getElementById() produces an object of element which represents the element whose id attribute matches the provided string. Because element IDs must be unique if supplied, they're a convenient method to rapidly retrieve a single element. Whenever you click on the onclick event it does some actions like displaying a message or redirects the user another page. The onclick event must be used very less in the website, because it may create the confuse to the users. So, use these event very wisely. The ‘textContent’ property of the element, is used to set or return the content of the text. ... Read More

How to set the opacity level for a division element using CSS?

Gungi Mahesh
Updated on 24-Feb-2023 13:28:43

232 Views

The style.opacity property is used to set the opacity for the element’s, and it returns the string value. These property is used to set or return opacity of a different HTML elements. It is one of the HTML Style Opacity properties. The onclick event occurs only when a user clicks the elements and it is a purely JavaScript attribute. Whenever you click on the onclick event it does some actions like displaying a message or redirects the user another page. The onclick event must be used very less in the website, because it may create the confuse to the users. ... Read More

How to set textarea scroll bar to bottom as a default using JavaScript/jQuery?

Gungi Mahesh
Updated on 24-Feb-2023 13:25:28

3K+ Views

The scrollTop property of HTML DOM elements is used to set or return the number of pixels of an elements content which is scrolled vertically. Suppose if the scroll bar is not generated by the content elements then the value of the scrollTop is zero. The onclick event occurs only when a user clicks the elements and it is a purely JavaScript attribute. Whenever you click on the onclick event it does some actions like displaying a message or redirects the user another page. The onclick event must be used very less in the website, because it may create the ... Read More

How to set location and location.href using JavaScript?

Gungi Mahesh
Updated on 24-Feb-2023 13:15:27

4K+ Views

As we know, the onclick event occurs only when a user clicks the elements and it is a purely JavaScript attribute. Whenever you click on the onclick event it does some actions like displaying a message or redirecting the user to another page. The onclick event must be used very less in the website, because it may create the confusing to the users. So, use these event very wisely. The window.location object is used to get the current page URL and it redirects the browser completely to a new page. It can be written without the prefix i.e., window-like location.href, ... Read More

How to set full-screen iframe with height 100% in JavaScript?

Gungi Mahesh
Updated on 24-Feb-2023 13:13:05

4K+ Views

The style.height property is used to set the full-screen iframe with 100% height, and it returns the string value, which represents the height of an element. Auto is the default value of these height property. Here we use the onclick event to make changes effective after clicking the button. The onclick event occurs only when a user clicks the elements and it is a purely JavaScript attribute. Whenever you click on the onclick event it does some actions like displaying a message or redirects the user another page. The onclick event must be used very less in the website, because ... Read More

Advertisements