HTML Articles

Page 137 of 151

How to Hide Scrollbar Using CSS?

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 534 Views

To hide scrollbar using CSS, we will understand different approaches. Scrollbars are core components of web browsers that allow users to navigate content areas larger than the viewable window. We can hide scrollbars while maintaining scrolling functionality using the overflow property. Syntax selector { overflow-x: value; overflow-y: value; } /* Or shorthand */ selector { overflow: value; } Possible Values ValueDescription visibleContent is not clipped, may render outside the element hiddenContent is clipped and scrollbars are hidden scrollContent is clipped but ...

Read More

How to Separate Header from Body in HTML?

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 628 Views

To separate header from body in HTML, you can create visual and structural distinction between the header section and the main content. The header typically contains navigation, titles, and introductory elements, while the body holds the primary content of the webpage. In this article, we will explore different approaches to effectively separate the header from the body content using HTML structure and CSS styling. Approaches to Separate Header from Body Using Semantic HTML Tags Using CSS Styling Using Multiple Headers Method 1: Using Semantic HTML Tags HTML5 provides semantic tags that help create ...

Read More

How to Decompile an HTML File?

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 388 Views

Decompiling an HTML file refers to examining and understanding the source code that creates a webpage. Unlike compiled programming languages, HTML is already in human-readable format, making it easily accessible for analysis and learning purposes. In this article, we will explore various methods to examine and work with HTML file content. Method 1: Viewing Source Code in Browser The most straightforward approach to examine HTML code is through your web browser's built-in source viewing feature. Steps Navigate to the webpage you want to examine Right-click anywhere on the page and select "View Page Source" ...

Read More

How to Compare Two HTML Elements?

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 419 Views

Comparing HTML elements in JavaScript is a common requirement when building dynamic web applications. You might need to check if two elements have the same tag name, classes, content, or other properties. This article explores two effective methods for comparing HTML elements using JavaScript. Method 1: Manual Element Comparison Manual comparison gives you complete control over which properties to compare. This method directly checks specific attributes like tag name, class name, and content − Manual HTML Elements Comparison ...

Read More

How do I CSS transition a modal dialog element when it opens?

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 547 Views

CSS transitions can significantly improve the user experience of modal dialogs by providing smooth animations when they open and close. Using the modern HTML element combined with CSS transitions creates professional-looking modals that feel responsive and polished. Syntax dialog { transition: property duration timing-function delay; } Basic Modal Structure First, create the HTML structure with a button to trigger the modal and the dialog element itself − button { padding: 10px ...

Read More

Create survey form in HTML and CSS

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 757 Views

Creating a survey form in HTML and CSS allows you to build interactive forms for collecting user feedback and data. This tutorial demonstrates how to create a professional, responsive survey form with modern styling and interactive elements. Syntax /* Basic form styling */ form { display: flex; flex-direction: column; } .form-group { margin-bottom: 1rem; } input, select, textarea { padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; } Complete ...

Read More

9 Dot Menu using HTML and CSS

Souvik Chakraborty
Souvik Chakraborty
Updated on 15-Mar-2026 601 Views

The 9 dots menu is a grid of nine clickable icons arranged in a 3x3 layout. When clicked, the menu expands to reveal individual icons that provide quick access to different functions. In this tutorial, we will learn how to create a 9 Dot Menu using HTML, CSS, and a little bit of JavaScript. Syntax .navigation { position: relative; width: 70px; height: 70px; transition: width 0.5s, height 0.5s; } .navigation.active { width: 200px; ...

Read More

Credit Card UI Design in HTML & CSS

Jugal
Jugal
Updated on 15-Mar-2026 393 Views

To design a Credit Card UI in HTML & CSS, we create a responsive form that mimics the appearance and layout of a real credit card. This involves structuring HTML elements for card details and styling them with CSS to create an attractive, user-friendly interface. Steps to Create Credit Card UI Design To design a credit card UI in HTML and CSS, we will create the following structure ? HTML structure with form elements for card details CSS styling for visual design and responsive layout ...

Read More

How to Create Facebook Login Page in HTML and CSS

AYUSH MISHRA
AYUSH MISHRA
Updated on 15-Mar-2026 141 Views

HTML stands for Hyper Text Markup language that is used to create the structure or layout of any webpage. CSS stands for cascading style sheets that are used to format and add styles to web pages. In this article, we are going to discuss how we can create a Facebook login page using HTML and CSS. Facebook Login Page A login page is the first page of any application or website. If we had already created our account on any website or app then we enter our login credentials on the login page to access our account. The ...

Read More

How to Make the CSS overflow: hidden Work on a Element?

Shefali Jangid
Shefali Jangid
Updated on 15-Mar-2026 642 Views

The CSS overflow: hidden property is used to hide content that extends beyond the boundaries of an element. However, for it to work effectively, especially on table cells, you need to combine it with other CSS properties to control how the content is displayed. Syntax selector { overflow: hidden; } Approaches to Make the CSS overflow: hidden Work Using table-layout: fixed Property Using text-overflow and white-space Properties Method 1: Using table-layout: fixed Property By default, tables adjust column ...

Read More
Showing 1361–1370 of 1,509 articles
« Prev 1 135 136 137 138 139 151 Next »
Advertisements