Мой код JavaScript:
Код: Выделить всё
var link_english = document.createElement("img");
link_english.setAttribute("src", "images/english_out.png");
link_english.setAttribute("title", "The english version of Nauma.com"); //
link_english.className = "classEnglish";
Пример:
Код: Выделить всё
link_english.setAttribute("title", "here I want to put a special character for a German letter, the " ü " ");
Подробнее здесь: https://stackoverflow.com/questions/561 ... -title-tag
Мобильная версия