document.getElementByTagName is not a function
<p>The code supposed to be use javascript between the <code>&lt;script&gt;</code> tags that
consists of a mouseover event, and the list items in the HTML page must
be styled as follows: normal - black, 12, bold and over yellow, 15, bold, italic.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt; Using mouseover eve &lt;/title&gt;
&lt;script language = "javascript"&gt;
&lt;!--
    function changeStyle() {

        var item = document.getElementByTagName("li");
        item.style.color = "yellow";
        item.style.fontSize = "15pt";
            item.style.fontWeight = "bold";
        item.style.fontStyle = "italic";

    }
--&gt;
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;ul style = "color: black; font-size: 12pt; font-weight: bold" &gt;
    &lt;li onMouseOver = "changeStyle()"&gt; item 1 &lt;/li&gt;
    &lt;li onMouseOver = "changeStyle()"&gt; item 2 &lt;/li&gt;
&lt;/ul&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
