Found 10711 Articles for Web Development

How to create the LESS file and how to compile it

Aman Gupta
Updated on 11-Apr-2023 14:47:48

530 Views

Overview  A Leaner Style Sheets (LESS) is a dynamic preprocessor language the base language of it is Cascading Style Sheet (CSS). All the preprocessor languages are the upgraded version of the base language, so the LESS also has many more additional features. The LESS has a feature of variable, parent selector, mixins, nested selector, etc. In java on compiling the source code of “.java” file it produces the output as the “.class” file, same as java the LESS file on compiling the “.less” file produces a new file “.css” as output Approach To create and compile a LESS file we ... Read More

How to create Home icon using jQuery Mobile

Aman Gupta
Updated on 11-Apr-2023 14:23:12

302 Views

Overview The home icon can be created from the jQuery mobile icons library. This home icon is useful in the navbar area of a web page for navigation to the home page. So the home icon gives an attractive look to the navbar of the webpage. To create a home icon the jQuery mobile icons library has predefined classes which can be used to create a home icon. These classes can be defined in any element as class name and the home icon will be created for that particular element in which the classes are defined. Approach To ... Read More

How to create a header cell in a table using HTML5

Aman Gupta
Updated on 11-Apr-2023 14:08:07

198 Views

Overview A cell in a table is a convergence of two things, a row and a column. The header is the top row of the table whose columns contain a category name of what category the data will be in below cells. So as in this problem we are going to create a cell for header of a table, so for header cell the convergence of the table row that is “” and convergence of table header column that is “” will create a header cell for a table in HTML5. Syntax The syntax to create header cell in ... Read More

How to create a group of related options in a drop-down list using HTML

Aman Gupta
Updated on 11-Apr-2023 14:06:28

438 Views

Overview A group of related options is a group in which all the items lie under the same category. For example apple, banana, kiwi all lie under the same group called fruits and BMW, Audi, G-Wagon these all lie under a category of cars. So sometimes to give a good user experience we need to define a category under which the other options lie. For this there is a tag in HTML to provide a feature, to group the same options under a category known as “” tag. Syntax The syntax to define the group of related options is ... Read More

How to create Grid icon using jQuery Mobile

Aman Gupta
Updated on 11-Apr-2023 14:04:28

145 Views

Overview The Grid icon in any web application can also be developed using jQuery Mobile, as the jQuery mobile icon library provides the benefit of many icons. So to create the jQuery Grid icon there are some pre-built classes by the jQuery icon library that can be used to create the grid icon. As we define the class name for any element in the bootstrap to create a component the same as it is we have to define the class in the HTML element which will create a grid icon. Approach To create a clickable grid icon button ... Read More

How to create a form with custom buttons in HTML

Aman Gupta
Updated on 11-Apr-2023 13:59:53

365 Views

Overview Buttons are the components in HTML which perform a certain action when clicked. Various buttons perform various actions. The HTML has some predefined buttons with a certain type of action. In a HTML form when the tag is used by default, the simple button inside the form tag is of type submit. So when you click on a button inside the form tag it will submit the form on your desired path and depends on the GET and POST request. The submit location is defined in the action attribute of the form. The HTML form by default is ... Read More

How to create form dynamically with the JavaScript

Aman Gupta
Updated on 11-Apr-2023 13:59:00

5K+ Views

Overview To create a HTML form fully dynamic can be created using some of the Document Object Model (DOM) methods such as createElement(), setAttribute(), appendChild(). These DOM methods will help us to build a dynamic HTML form. Our approach to building this dynamic form will be by creating all the elements in the script tag , setting the attribute to add some functionality and at last when our element is ready to serve we will append it in the parent of the element. So all the elements appended inside the parent form tag are the children elements. Syntax The ... Read More

How to create a FAQ page using JavaScript

Aman Gupta
Updated on 11-Apr-2023 13:54:40

576 Views

Overview The Frequent Asked Question (FAQ) is the main feature for the website which deals with the selling of products, registration for training or companies in a particular domain. There are many problems which arise for many users or can arise, so these questions and the solution for these problems are displayed in the FAQ section, so that if any user is facing any error he can resolve it by going through the FAQ part of the website and can continue his work. Approach The main approach to make a FAQ is an accordion. All the frequently asked questions ... Read More

How to Create a Dropdown List with Array Values using JavaScript

Aman Gupta
Updated on 11-Apr-2023 13:49:54

7K+ Views

Overview To attain the options in the Dropdown list without disturbing the frontend of the web page can be with the help of array. As in the array we can store as many numbers of the option or values. So without directly putting those values in the HTML part of the code in the select tag we can render them from an array which makes it easy to add more value without disturbing the User Interface (UI) of the page. Approach This is a very simple technique, by using this technique we can easily render the options value to ... Read More

How to create div that contains the multiple fixed-size images

Aman Gupta
Updated on 11-Apr-2023 13:49:16

903 Views

Overview To make the images of the fixed size can be done by styling the tag. We can style each tag and set its width and height by its tag name, class name or id name. The only thing is that while styling we have to carefully use the “.”, “#”, “tag”. As because tag name can be directly used styled but class name and id name cannot be directly used they are written followed by “.className”, “#idName” respectively. Approach The main approach to attain this task is to style the tag only once in the ... Read More

Advertisements