Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Eesha Gandhi
Page 5 of 5
How to Create a Two-Column Div Layout with the Right Column Having Fixed Width?
The element is one of the most widely used elements in HTML. The term "" refers to a container that divides the page into sections. These sections are extremely useful for grouping elements together. elements don’t inherently have a visual representation, but they are very useful when we want to apply custom styles to our HTML elements. They allow us to group elements to apply the same styles for all elements inside. We can also style the entire div> element. It is simple to style by using the class or id attribute. ExampleHere is a simple example showing ...
Read MoreHow to Create a Teardrop in HTML?
Creating shapes using HTML and CSS is quite an easy task until the shape is not very complex. A class and CSS styling properties like height, width and border can help us create shapes like square, rectangle, circle, triangle etc. Here is a simple example of making a square shape using HTML and CSS only. Example body{ margin:30px; } ...
Read MoreHow to Create a List with Dashes in HTML?
A list is any information that is displayed in a logical or linear format. It is a collection of items written in a meaningful group or sequence and denoted by bullet points, numbers, and so on. HTML Lists aid in the semantic display of a list of information. In HTML, there are three types of lists: Unordered list or Bulleted list (ul)The list items in an HTML unordered list are not in any particular order or sequence. Because the items are marked with bullets, an unordered list is also known as a Bulleted list. It begins with the ...
Read MoreHow to Create a Hidden Div without a Line Break or Horizontal Space?
The HTML division tag, abbreviated "div, " is a special element that allows you to group together similar sets of content on a web page. It can be used as a generic container to group together similar content. The tag is thus used to divide an HTML document into sections. CSS styles can also be applied to multiple elements at once by using the tag. The div tag is versatile; we can use it to accomplish a variety of tasks on a web page. We mostly use it in web layouts and CSS art, but it's extremely versatile. ...
Read MoreHow to Allow the File Input Type to Accept Only Image Files
The tag in HTML creates an input control that accepts user input. Depending on the kind of the attribute, an input field might be of different forms. It is a blank element with only attributes.The tag is typically found within the tag and can be used to represent text fields, checkboxes, dropdowns, buttons, and other inputs by simply setting the appropriate type attribute. It has many other attributes such as value, placeholder, name, accept, size, height, width etc. The behaviour of an tag varies greatly depending on the value of its type attribute. The type ...
Read MoreHow to Allow only Positive Numbers in the Input Number Type
The tag specifies a data entry field for the user. It is the most crucial form element. It is utilized to design interactive controls for online forms that collect user data. Depending on the type attribute, it can be displayed in a variety of ways. Because of the sheer number of input type and attribute combinations, it is one of the most powerful and complex tools in HTML. The Type The type attribute indicates the type of element that will be displayed. The default type is "text" if no type attribute is specified. The syntax is ...
Read More