Yaswanth Varma has Published 307 Articles

How to store custom data private to the page or application in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:48:03

564 Views

Custom attributes are those that are specifically designed and are not included in the standard HTML5 attributes. They enable us to customise HTML tags by adding our own data. A custom attribute is any attribute whose name begins with data-. We can embed custom attributes on all HTML components using ... Read More

How to represent text that must be isolated from its surrounding for bidirectional text formatting in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:26:38

293 Views

The HTML element instructs the bidirectional algorithm of the browser to treat the text it contains independently of the content around it. It's very helpful when a website dynamically adds some text without knowing which direction it should go. For example, few languages like Arabic, Urdu or Hebrew are ... Read More

How to create the tabbing order of an element in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:24:36

6K+ Views

tabindex is a global attribute that enables an HTML element to get focused in a sequential keyboard order (usually using the TAB key of keyboard). In order to function in an accessible manner, it requires a value of 0, a negative number or a positive. The tabindex attribute can be ... Read More

How to add an address element in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 02-Sep-2022 11:21:48

1K+ Views

The address tag in HTML identifies a person's or an organization's contact details. The address tag has several meanings when used in different places in an HTML page, such as, when it is used within the tag, it will display the document's contact information; and if it appears inside ... Read More

Create a shortcut key to activate an element in HTML

Yaswanth Varma

Yaswanth Varma

Updated on 02-Sep-2022 11:16:45

3K+ Views

We can design a keyboard shortcut to carry out certain actions, such clicking a link or button, for Displaying the Keyboard text. When defining the element, we may utilise the accesskey attribute to specify a keyboard shortcut for that control element. This attribute must contain at least one printable character, ... Read More

What is the correct way of using
,
, or
in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 02-Sep-2022 11:05:24

8K+ Views

There are multiple correct ways to use a br tag in the web documents. In HTML, a line break is made with the tag. We don't need to close because it's an empty tag. To break a line, either or are acceptable. However, tags are ... Read More

Why do we use DOCTYPES in HTML document?

Yaswanth Varma

Yaswanth Varma

Updated on 02-Sep-2022 10:55:02

2K+ Views

A DOCTYPE is nothing more than a document type declaration, which is a list of guidelines that must be attached to a certain html, xml, or sgxml online document. Because it is required for the HTML version, if the user application experiences any problems at that time, it can be ... Read More

Advertisements