Add Sub Heading Using HTML

Shabaz Alam
Updated on 10-Mar-2023 09:28:33

5K+ Views

A subheading is a text element used to organize and structure the content of a webpage in HTML. Subheadings are commonly used to break up large blocks of text and provide a clear hierarchy of information for users. Subheadings are mostly created using the "H2", "H3", "H4", "H5", or "H6" tags in HTML. These tags indicate the level of the heading, with H1 being the highest level heading and H6 being the lowest level subheading. Adding sub heading using HTML HTML is a markup language used to structure and format content on the web page. One of the important aspect ... Read More

Change Text Cases in Paragraph Using CSS

Shabaz Alam
Updated on 09-Mar-2023 17:50:04

708 Views

CSS (Cascading Style Sheets) is a powerful tool for controlling the layout and appearance of text on a website. In this article we will learn how to change the cases of text in paragraphs using CSS. When it comes to styling text on a website, one of the basic and common styling options is changing the case of the text, and we can do this easily with the text-transform property in CSS. The text-transform property can take one of the following values − "capitalize" will capitalize the first letter of each word in the selected element. "uppercase" will ... Read More

Insert a Character After Every N Characters in JavaScript

Pranay Arora
Updated on 09-Mar-2023 16:38:08

4K+ Views

Insertion of a specific character after every n characters in Javascript is an easy to understand concept and gives us a better understanding about Javascript's functions. Here n can be any whole number ranging from 1 to less than the length of the string. In this article we will deal with a variable inputString = "abcdefghijklmnopqrstuvwxyz, " and aim to append a "-" character after every 5 characters. There are several ways to accomplish this with JavaScript, which are as follows − Making use of the slice() method In JavaScript, the slice() function is used to extract a portion of ... Read More

Increment a Given Date in JavaScript

Pranay Arora
Updated on 09-Mar-2023 16:31:13

2K+ Views

In this article, we are going to discuss how to increment a given date using JavaScript. First, we will analyse and understand what is meant by this. Given a certain date x = “05-02-2023”, we want to add y = 7 days to this date and print the resulting date which is “12-02-2023”. As a human we can manually add 7 days to 5th February and get the resultant. But we need JavaScript to do this programmatically for us. There are few techniques to do so which we shall be discussing in this article. Using addDays() function The addDays function ... Read More

Pet Astrology: Are You and Your Pet Compatible?

Bhaswati Mukherjee
Updated on 09-Mar-2023 14:51:43

775 Views

Pet astrology typically follows the same zodiac system used for humans based on the sun's position at birth. Each sign is associated with certain qualities and tendencies, such as Aries being known for their energy and independence and Taurus for their loyalty and love of comfort. Pet Astrology Pet astrology uses a pet's birth date and time to determine its astrological sign and analyze its personality traits and behaviors based on its associated characteristics. Some people believe that understanding their pet's astrological signs can help them better understand their pet's personality and behavior and provide insights into their likes, ... Read More

Change Font Size Using CSS

Shabaz Alam
Updated on 09-Mar-2023 14:35:21

1K+ Views

CSS, or Cascading Style Sheets, is a powerful tool for controlling the visual presentation of a webpage. One aspect of this is the ability to adjust the font size of text elements on the page. This can be done by using the font-size property. To set a specific font size for a particular element, we use a class or ID selector in conjunction with the font-size property. In this article we will see multiple example to change the font size using CSS - By using the font-size property, we can set a specific font size for a specific element ... Read More

Add Space After an Element Using After Selector in CSS

Shabaz Alam
Updated on 09-Mar-2023 14:28:51

6K+ Views

The space character (" ") is used to add space between elements in CSS. it used in the content property of a pseudo-selector, such as :after or :before, it creates a blank space that can be used to separate elements or add visual spacing to a web page. In annexation to using the space character, we can also use other CSS properties such as margin, padding, border, or width to add space between elements. These properties allows to control the amount of space and the position of space between elements. Adding space (" ") after an element using :after ... Read More

Add Non-Standard Font to a Website in CSS

Shabaz Alam
Updated on 09-Mar-2023 14:24:27

711 Views

A non-standard font refers to any font that is not a part of the default set of fonts that are available in most browsers in CSS. Default fonts, including Arial, Times New Roman, and Verdana, are standard fonts because they are pre-installed on most computers and devices. Non-standard fonts are fonts that are not pre-installed and must be specifically loaded onto a website in order to be used. These fonts can be obtained from websites such as Google, Adobe, or MyFonts. They can also be custom-designed or purchased. Using non-standard fonts helps to add a unique and personalized touch ... Read More

Add Quoted Section from Another Source Using HTML

Shabaz Alam
Updated on 09-Mar-2023 14:16:50

242 Views

A quote is a text element that is used to indicate a quotation or a passage of text that is being referenced or cited. There are two main ways to create a quote in HTML: the "blockquote" tag and the "q" tag. Adding a section that is quoted from another source using HTML To add a section that is quoted from another source in an HTML document, we use the tag. The tag is used to indicate that the enclosed text is a quote from another source. To use the tag in your HTML ... Read More

Add Rounded Corner to an Element Using CSS

Shabaz Alam
Updated on 09-Mar-2023 14:11:44

2K+ Views

Rounded corners add a soft and smooth look to a website and make it more visually appealing. It is a subtle design element that can make a big difference in the overall look and feel of a website. In CSS, a rounded corner is a design element that creates a rounded edge on the corners of an HTML element, such as a div, a button, a form, or an image. The "border-radius" property is used to create rounded corners in CSS. The value of this property determines the radius of the rounded corners. The "border-radius" property can be applied ... Read More

Advertisements