HTML/CSS/Text/bdo

Материал из Web эксперт
Перейти к: навигация, поиск

bdo dir="rtl"

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>BDO</title>
</head>
<body><p>this is a test. <bdo dir="rtl">this is a test. </bdo></p>
</body>
</html>



Bidirectional override

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Bidirectional override</title>
</head>
<body>
  <p>A passage of text containing one <em lang="en" xml:lang="en"><bdo dir="rtl">reversed</bdo></em> word.</p>
</body>
</html>