Yaswanth Varma has Published 279 Articles

Execute a script when the element is being double-clicked in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 13:12:14

233 Views

The dblclick event is triggered when a pointing device button, such as the mouse's main button, is double-clicked, or when it is quickly clicked twice on the same element in a brief period of time. Following are the examples… Example: Using ondblclick attribute in HTML In the following example we ... Read More

How do we include a table caption in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 13:08:43

349 Views

The element is used to add caption to an HTML table. A "caption" must be the first descendant of a parent "table" in an HTML document, however it can be visually positioned at the bottom of the table using CSS. SyntaxTable title... The element contains global attributes ... Read More

How to specify which form element a calculation is bound to with HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:55:33

94 Views

The HTML label tag enables us to click on the label, which will be treated as if we had clicked on the appropriate input type. The HTML can accept several input kinds, such as a radio button or checkbox. The for attribute provides the form element to which a label ... Read More

Set where to send the form-data when a form is submitted in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:54:15

136 Views

When a form is submitted, the input control's processing file's URL is specified using the HTML formaction property. The formaction attribute is invoked when the form has been submitted. After submitting the form, the form's data must be delivered to the server. Following are the examples… Example: Using method ... Read More

How to work with the dirname attribute in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:53:02

142 Views

The HTML dirname Attribute is utilised to enable the text direction of the input and the Textarea Field after submitting the form. The name of the input field and textarea followed by ".dir" must be the value of the dirname property. Following are the examples… dirname attribute in ... Read More

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

233 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 add a base font in a HTML page?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:44:01

364 Views

The HTML tag specifies the standard font-family, font-size, and colour for the text in the HTML document. It is advised that you format the text in the document using CSS attributes like font, font-family, font-size, and colour since this tag was deleted in HTML5. Note − Not supported in ... Read More

How to specify whether the element is to have its spelling and grammar checked or not in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:30:10

258 Views

Grammar and spelling errors in text fields can be found using the HTML spell check tool. Using the spellcheck property, the spell check capability may be added to HTML forms. The spellcheck attribute is an enumerated attribute that specifies whether or not the HTML element will be checked for ... Read More

How do we include big text in HTML?

Yaswanth Varma

Yaswanth Varma

Updated on 05-Sep-2022 12:28:04

547 Views

The HTML makes the enclosed content shown with a font size that is one level bigger than the text (medium becomes large, for example). The size is limited to the largest font size supported by the browser. Syntax Contents... Following are the examples… Example In ... 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

135 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

Advertisements