HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML dirname Attribute

HTML dirname Attribute



The dirname attribute allows the submission of the text direction of the input field or textarea. The dirname attribute value is always the name of the input field or textarea, followed by .dir .


Used With:-


Elements Attribute
input dirname
textarea dirname




Its syntax is:- < element dirname="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML