Computer Programming

How to use and implement lang attribute and dir attribute in "<td class="sd">Sindhi Text</td>" ? Is It necessary to use span element for this purpose ? What is right way to use lang dir attribute according to w3.org ? Which elements/tag like block and inline etc. support lang dir attribute ?

1 Answer
1 answers

How to use and implement lang attribute and dir attribute in "<td class="sd">Sindhi Text</td>" ? Is It necessary to use span element for this purpose ? What is right way to use lang dir attribute according to w3.org ? Which elements/tag like block and inline etc. support lang dir attribute ?

1
Both dir and lang attributes are supported in inline and block elements.
So you can use it on span as well as div, td, tr, etc.

For better structuring of your content, it's recommended that you use the dir attribute on block elements.

To see how the dir element is applied on table, see following link:
Wrote answer · 3/9/2022
Karma · 1435

Related Questions

How to fix error Argument of type 'MonoTypeOperatorFunction<RouterEvent>' is not assignable to parameter of type 'OperatorFunction<Event_2, RouterEvent>' in Angular?
What is the figure of IPO cycle?
How do robots provide best experience to the customers?
What is this cow?
The average is called .............. in statistical language?
यथाशक्ती, पाऊसपाणी या सामातजक शब्दाांचा करून प्रकार तलहा (२)?
How many dash can I use in CSS .class Selector value ?