Create Two-Column Div Layout with Fixed Width Right Column

Eesha Gandhi
Updated on 11-Sep-2023 11:54:44

884 Views

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 More

Create a Teardrop in HTML

Eesha Gandhi
Updated on 11-Sep-2023 11:47:42

483 Views

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 More

Create a List with Dashes in HTML

Eesha Gandhi
Updated on 11-Sep-2023 11:41:56

7K+ Views

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 More

Create Hidden Div Without Line Break or Horizontal Space

Eesha Gandhi
Updated on 11-Sep-2023 11:34:11

920 Views

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 More

Assign Checked Initial Value to Radio Button

Eesha Gandhi
Updated on 11-Sep-2023 10:50:45

635 Views

Using the HTML element, we can take input from users in a variety of ways. One such method is to collect input by giving users options from which to choose. We use HTML Radio buttons for this purpose, giving users a variety of options from which to choose their response. The HTML Radio button defines the small circles that are highlighted when clicked. When a label is linked to a radio button, clicking the label selects the radio button. These buttons are typically displayed in radio groups (a collection of radio buttons describing a set of related options). ... Read More

Allow File Input to Accept Only Image Files

Eesha Gandhi
Updated on 11-Sep-2023 10:47:17

4K+ Views

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 More

Allow Only Positive Numbers in Input Number Type

Eesha Gandhi
Updated on 11-Sep-2023 10:34:00

18K+ Views

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

Applications of DBMS

Bhanu Priya
Updated on 10-Sep-2023 08:28:07

41K+ Views

The Database Management System (DBMS) is defined as a software system that allows the user to define, create and maintain the database and provide control access to the data.It is a collection of programs used for managing data and simultaneously it supports different types of users to create, manage, retrieve, update and store information.Applications of DBMSIn so many fields, we will use a database management system.Let’s see some of the applications where database management system uses −Railway Reservation System − The railway reservation system database plays a very important role by keeping record of ticket booking, train’s departure time and ... Read More

Flags Register in 8085 Microprocessor

Arjun Thakur
Updated on 10-Sep-2023 08:26:37

44K+ Views

In 8085 microprocessor, the flags register can have a total of eight flags. Thus a flag can be represented by 1 bit of information. But only five flags are implemented in 8085. And they are:Carry flag (Cy), Auxiliary carry flag (AC), Sign flag (S), Parity flag (P), andZero flag (Z).The respective position of these flag bits in flag register has been show the below figure. The positions marked by “x” are to be considered as don't care bits in the flags register. The user is not required to memorize the positions of these flags in the flags register.Fig. Flags registerNow ... Read More

Turn Off Ticks and Marks of Matplotlib Axes

Rishikesh Kumar Rishi
Updated on 10-Sep-2023 08:25:31

51K+ Views

To turn off the ticks and marks of a matplotlib axes, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create x and y data points using numpy.Plot x and y data points using plot() method.Get the current axis of the plot.Use set_tick_params() to hide X and Y axes label marks.Use set_xticks() and set_yticks() to hide X and Y axes tick marks.To display the figure, use show() method.Exampleimport numpy as np from matplotlib import pyplot as plt # Set the figure size plt.rcParams["figure.figsize"] = [7.00, 3.50] plt.rcParams["figure.autolayout"] = True ... Read More

Advertisements