Front End Technology Articles

Page 132 of 652

How to play a notification sound on websites?

Shubham Vora
Shubham Vora
Updated on 17-May-2023 8K+ Views

Nowadays, web development continues to evolve and find new ways to improve the user experience. One way to improve the user's experience is by adding notifications to the website to notify users of any event. Before we start with the tutorial, let’s understand why we need notifications with sounds on the website. Why Add Notification Sounds? As we said above, notification is used to enhance the user experience. We can use it to notify users for a task, such as when users completes the form submission, get a message in the chat app, for reminders, etc. If users are away ...

Read More

How to place cursor position at end of text in text input field using JavaScript?

Shubham Vora
Shubham Vora
Updated on 17-May-2023 12K+ Views

In HTML, the input field is used to take input from the users. Sometimes, we require to take string or long text messages in the input. In these scenarios, users may need to go to the end of the input field to add more content or message. So, we should set up something such that users can click the button, can go to the end of the input field. In this tutorial, we will learn to use JavaScript to place the cursor position at the end of the text in the input field. Using the setSelectionRange() method The setSelectionRange() method ...

Read More

How to disable resizable property of textarea using CSS?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 16-May-2023 1K+ Views

In CSS we can use the ‘resize’ property to resize the textarea box of a webpage. We can resize the height and width of the textarea box. In case if we set the resize value to none, the textarea box will not resize. In some situations, disabling the resizable functionality of a textbox area in HTML might be accessible if we wish to limit user interactions and control the layout of the input. The size of the text entry is important to the design and the layout of webpage or application is also required. In this article, we will create ...

Read More

How to Design Wave Images in HTML?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 16-May-2023 1K+ Views

HTML has an SVG element that can be used for designing wave images. The wave image shows the unique style of the webpage and it becomes more user interactive while adding the property of animation and transitions to it. The wave design is generally used in the landing page, button, and webpage image. To create the wave image, the SVG element is the best way to design the wave formation. Syntax The SVG element is used to draw the graphics. The viewbox attribute defines the position and dimension of the graphics. The ...

Read More

How to display paragraph elements as inline using CSS?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 16-May-2023 3K+ Views

CSS has internal and inline styles that can be used to display the paragraph element in an inline manner. CSS is a language used for styling the HTML and XML texts. Changing the display property of an HTML element is a typical CSS job. The display attribute of an element indicates how it should be presented, such as block, inline, or inline-block. When displaying a paragraph element inline, the display property must be modified from its default block value to inline. Here we are going to learn how to develop a css code that will display the paragraph elements as ...

Read More

How to display video control in HTML5?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 15-May-2023 502 Views

HTML has embed, object, and iframe tags to display the video control in HTML5. Sometimes we would like to watch a video and pause the video with the stop button but we don’t know what exactly happens to it. The boolean attribute is defined as controls and the attribute includes play, pause, volume, track, fullscreen mode, and subtitle ON/OFF. Visual Representation Syntax The following syntax is used in the examples are − The video element is used to display the video in an HTML document. The source element has src attribute that allows the user ...

Read More

How to disable the drop-down list in HTML5?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 15-May-2023 2K+ Views

The drop-down list defines the list of available options selected by the users. We visit many websites in our day-to-day work and on those web pages we will find various options in the drop-down list in one or more navigation to access that particular webpage. For example- Drop-down menus on large websites can help users save time by letting them skip one or two levels to the information they are looking for. The example used in this article will explain to create an HTML5 code that will disable such types of drop down list. Visual Representation Syntax …… ...

Read More

How to display incorrect content using HTML5?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 15-May-2023 184 Views

In HTML we have two elements i.e. s and del to display the incorrect content. There is no experimental difference between the ‘s’ and ‘del’ tags and also there is no proof that search engines take any action on these elements. For Example Let’s say there are two sentences to see the difference between an incorrect sentence vs correct sentence. The correct sentence is the same as of normal text whereas the incorrect sentence is marked by a black strike-through line. Syntax The tag represents the strike-through or line-trough text i.e. no longer correct or precise. ...

Read More

How to disable spell check from input box and text area in HTML forms?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 15-May-2023 1K+ Views

The term spell check is used to check the spelling of a word. The input box is defined by an input element in HTML that allows the user to text something on it. The textarea is termed by feedback or comment box that allows the user to write more lines of text. When we enter grammatically incorrect words into input or textarea fields in HTML forms, the idea of the spell check feature is essentially used. The incorrect words will have by default red underline. It is used to find spelling or grammar errors in text areas or input boxes. ...

Read More

Print all possible joints of a Trie constructed from a given list of string

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 15-May-2023 437 Views

In C++, the trie has an advanced data structure that is used for storing the collection of trees. The word tries came from the word retrieval and it is known as a digital tree or prefix tree. Let’s take an example of all possible joint by taking a given list of strings. We are defining the string input as {“tutor”, “true”, “tuo”} We can observe that the different string of characters is connected to the single string of the character. So here t and u are the list of characters in the string that joints all possible strings. In ...

Read More
Showing 1311–1320 of 6,517 articles
« Prev 1 130 131 132 133 134 652 Next »
Advertisements