Пређи на садржај


С Википедије, слободне енциклопедије


My name is Amir E. Aharoni.

I am an administrator in Hebrew and English Wikipedias and i also write a little in the Russian Wikipedia. In other Wikipedias i mostly correct interwiki links.

You can find more details about me in the English Wikipedia: Amir E. Aharoni in the English Wikipedia.

I know Russian, so i can read a bit of Serbian, but i cannot write it.

The wonders of the lang attribute[уреди | уреди извор]

The next lines show how the HTML lang attribute affects the display of fonts. If your font, your operating system and your browser properly support this, then you'll see one letter in Serbian (sr) and Macedonian (mk) and another letter in Bulgarian (bg) and Russian (ru). Actually, this is the same letter and the same Unicode character, but for historical reasons the tradition is to write it slightly differently in Serbian and Macedonian.

So, if you are an HTML programmer and you thought that the lang attribute is pointless, this is just one of the many examples that show why it is not pointless.

  • б with lang=sr: б
  • б with lang=mk: б
  • б with lang=bg: б
  • б with lang=ru: б

Споменице и захвалнице[уреди | уреди извор]

100 измена