Re: how specify phrase or word language without using span

On 18/11/2023 01:57, జిందం వాఐి wrote:
> * use of <span> is meaningless from
> accessibily view per w3schools.[ 1 ]

It's meaningless on its own as it doesn't convey any semantics/structure 
... it's just an inline wrapper.

If you use a <span> to specify that the content inside uses a different 
language though, the span then serves to do that (it still won't convey 
any new/specific *structure*, but will convey that the content inside is 
in a certain language). Also, I'd be careful referring to w3schools as a 
source of truth...while they have gotten better, it's still far from 
correct/comprehensive in many places (and to be clear, w3schools is not 
associated, and has nothing to do with, W3C).

> * if the above statement is correct,
> how do i specify language for below
> text. i want to update in <footer>.
> * text_ telugu and english
> <footer>
> <p>తక్షణ సందేశం [matrix]_ @jindam.vani:oikei.net</p>
> </footer>


<footer>
<p><span lang="tel">తక్షణ సందేశం</span> [matrix]_ @jindam.vani:oikei.net</p>
</footer>

P
-- 
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
https://mastodon.social/@patrick_h_lauke | skype: patrick_h_lauke

Received on Saturday, 18 November 2023 09:59:17 UTC