如何在Firefox中打开此网页 [英] How do I open this web page in firefox

查看:93
本文介绍了如何在Firefox中打开此网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我尝试运行此代码(见下文)时,它都会给我一个符号,唯一出现或似乎正确的部分是document.bgColor =blanchedalmond



< HTML>

< HEAD>

< TITLE> Phonics的乐趣< / TITLE>



< / HEAD>

< BODY>

< IMG SRC =fun.jpgHSPACE = 5 VSPACE = 5 HEIGHT = 64 WIDTH = 129>







< SCRIPT LANGUAGE =JAVASCRIPT>

<! - 隐藏旧浏览器

document.bgColor =red

document.bgColor =white

document.bgColor =blue

document.bgColor =white

文件。 bgColor =green

document.bgColor =white

document.bgColor =blanchedalmond



// - >

< / SCRIPT>



< / BODY>

< ; / HTML>

Every time I try to run this code (see below) it gives me a broke symbol and the only part that appears or seem to correct is the "document.bgColor="blanchedalmond"

<HTML>
<HEAD>
<TITLE>Fun with Phonics</TITLE>

</HEAD>
<BODY>

<IMG SRC="fun.jpg" HSPACE=5 VSPACE=5 HEIGHT=64 WIDTH=129>




<SCRIPT LANGUAGE="JAVASCRIPT">
<!--Hide from old browsers
document.bgColor="red"
document.bgColor="white"
document.bgColor="blue"
document.bgColor="white"
document.bgColor="green"
document.bgColor="white"
document.bgColor="blanchedalmond"

//-->
</SCRIPT>

</BODY>
</HTML>

推荐答案

在每个语句后尝试半冒号。



Try semi colons after each statement.

document.bgColor="red";
document.bgColor="white";
document.bgColor="blue";
document.bgColor="white";
document.bgColor="green";
document.bgColor="white";
document.bgColor="blanchedalmond";


这篇关于如何在Firefox中打开此网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆