Tag Archives: CSS-Misc

In this article, we will specify an input field that must be filled out before submitting the form. The HTML required attribute is a Boolean… Read More
The HTML <input> type attribute is used to specify the type of <input> element to display. The default type of <input> type attribute is text.… Read More
In this article, we will specify the type of an input element using HTML. The HTML <input> type attribute is used to specify the type… Read More
In this article, we will set the value of an input element using HTML. The value attribute for <input> element in HTML is used to… Read More
In this article, we will set the font-weight of a text dynamically using JavaScript. Ti change the font weight dynamically, we use HTML DOM Style… Read More
The Button disabled property in HTML DOM is used to set or return whether a Button element would be disabled or not. A disabled element… Read More
In the following article,  we dynamically add and remove list items using JavaScript. We are using JavaScript to add and/or remove list items dynamically which… Read More
In this article, we will use <input> pattern attribute to set the regular expression pattern for an input field that checked against. The HTML <input>… Read More
Given a string in and the task is to write a JavaScript code to convert the given string into snake case and print the modified… Read More
The placeholder attribute specifies a short hint for input field that describes the expected value of an input field/text area. The short hint is displayed… Read More
In this article, we will see how we can make a div that will contain images having a fixed size. This can be very helpful… Read More
In this article, we will align the text content into center using HTML. We use align=”center” attribute to set the text content into center. Syntax:… Read More
GlassmorphismUI which is a modern soft UI used in designing web elements, frames, and screens and is also a relatively new design trend that achieved… Read More
In this article, we will set the alignment of content using JavaScript. The DOM Style alignContent property is used to align the items of a… Read More
tn this article, we will disable the input field using HTML. The disabled attribute for <input> element is used to specify that the input field… Read More