Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML Articles - Page 5 of 151
187 Views
An HTML5 input type enhances user experience and minimizes the requirement for JavaScript validation. Some HTML5 input types that are rarely used but can noteworthily improve form on websites are listed below. HTML5 input type ValuesInput TypePurposeNumeric keypads are displayed on mobile browsers, thereby enhancing UX on devices.Any specific date can be picked from a calendar, securing proper format.It minimizes the complexities of entering inputs for month/year related data. For example, setting up the expiry date of credit cards.It unifies the selection of files directly into the form and can specify the acceptable file types.It can be used to ... Read More
4K+ Views
To set the input type date in dd-mm-yyyy format using HTML. Discover simple techniques to customize date formats for better user experience and data consistency. Creating intuitive web forms is crucial for enhancing user experience, particularly with date inputs. Although HTML5 introduced the feature for easy date selection, it generally formats dates as YYYY-MM-DD. This can be inconvenient for users in regions that prefer the DD-MM-YYYY format. This article will guide you on various methods to implement date input in the DD-MM-YYYY format utilizing HTML, JavaScript, and external libraries. Approaches for Implementing DD-MM-YYYY Format To achieve a ... Read More
411 Views
Sometimes while writing the content of an HTML file, there might be the need to preserve blank spaces and line breaks. You might have noticed when you try to write something in the paragraph tag or the tag that has a lot of white spaces or a line break, it is not visible when the HTML page is rendered in the web browser. This article will show how to preserve those spaces while rendering the HTML page. Render an HTML String Preserving Spaces and Line Breaks Using HTML pre Tag ... Read More
591 Views
Sometimes we want to set a base attribute to everything and allow more specific selectors to adjust it for certain elements as needed. There are also cases, especially when doing brief temporary testing, where we want a font to apply to all text no matter what. Ways to Set Global Font You can use the below-mentioned approaches to set the global font to your entire HTML document. Using Universal Selector Using !important Keyword Get Started with Approaches Here you will see an example of each approach mentioned above ... Read More
292 Views
In this article, we will create a Neumorphism Loading Spinner using HTML and CSS. The loading spinner is a common UI element used to indicate a process in progress, such as loading content or waiting for data from the server. We’ll add a modern touch to it using the Neumorphism design technique. Neumorphic designs give a 3D look by combining highlights and shadows around elements, making them appear to protrude or sink into the surface. Approach Let’s walk through the steps to create the Neumorphism loading spinner. Setting Up the HTML Structure We'll start by writing ... Read More
328 Views
Glassmorphism is a design trend that makes elements appear translucent on the user interface. You may have seen on some websites a few components are semi-transparent looks like frosted glass which is an example of glass morphism. The morph part of glass morphism implies depth to elements, that is, elements appearing higher or lower than others about the view of the user. Approach to Create Glassmorphic Sidebar In this article, we are going to build a glass morphic sidebar in HTML and CSS. Let's begin. Step 1: In this step, we will ... Read More
1K+ Views
To build your career in front-end development, projects are important and you have to start with HTML and CSS. Before you start with these projects we will recommend you create basic components like layouts, lists, tables, forms, etc. HTML and CSS Projects These HTML and CSS projects cater to all skill levels from easy to hard. Gain hands-on experience and improve your web development capabilities with us. List of HTML & CSS Projects ... Read More
3K+ Views
To add an icon logo to the title bar of a website in HTML. The icon of the title bar is often referred to as a favicon (short for "favorites icon"). It appears in the browser tab, bookmarks, and history. What is a Favicon? A favicon is a small, 16x16 or 32x32 pixel image associated with a website or web page. It is used to display a visual representation of your company, brand or website. It helps users to quickly identify your site or company name among multiple open tabs. Steps to Add an Icon Logo in ... Read More
588 Views
To use PHP in HTML, you must enclose the PHP code with PHP start tag . In this article from the example we will learn to use and become comfortable with PHP in HTML. PHP (Hypertext Preprocessor) is a popular server-side scripting language used for web development. It allows you to embed dynamic content into your HTML. Approach to use PHP in HTML To effectively use PHP in HTML, you need to enclose PHP code within tags. Remember, PHP files must have a .php extension since PHP code is processed on the server before the page is ... Read More
611 Views
In HTML tables, the element is used to group and organize the content of the table into sections. It is especially useful when working with large tables. It helps to manage and style the data effectively. While a table contains one , you can have multiple elements within the same table to structure data into different sections or categories. Why to use Multiple Elements? Grouping Data: Multiple elements allow you to group related rows of data separately within the same table. Styling: You can apply ... Read More