I have an html document containing Hebrew and Latin text. It is encoded using utf-8:
<!DOCTYPE HTML>
<html>
<head>
<title>Title</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
</head>
<style type='text/css'>
.h { color: green}
</style>
<body>
<div>
here are some words הנה כמה מילות (100, 200)
</div>
<div>
here are some words <span class='h'>הנה כמה מילות</span> (100, 200)
</div>
<div>
here are some words <span class='h'>הנה כמה מילות</span> <span>(100, 200)</span>
</div>
<div>
here are some words <span class='h'>הנה כמה מילות</span> <b>WORD</b> <span>(100, 200)</span>
</div>
</body>
</html>
The first three lines are not displayed, it seems to me. Fourth (with an optional <b>WORD</b>before brackets).
Here's how this document displays in Firefox:

Change . Even copying / pasting my html text does not work correctly, so here is a screenshot of the original html (sorry, but it seems that it is impossible to get this text correctly)

source
share