зеркало из https://github.com/mozilla/pjs.git
12 строки
289 B
HTML
12 строки
289 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function change()
|
||
|
{
|
||
|
document.getElementById("span").style.fontWeight = "bold";
|
||
|
}
|
||
|
</script>
|
||
|
<body onload="change();">
|
||
|
<span id="span">This is my happy span. <span style="display: block;">It's got an inline block.</span> It all should be bold.</span>
|
||
|
</body>
|
||
|
</html>
|