Closed
Bug 69072
Opened 24 years ago
Closed 24 years ago
doctype tag prevents font color tag from working
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: bbyer, Assigned: karnaze)
Details
The following produces red text:
<html>
<font color="ff0000">spam</font>
</html>
The following produces unstyled text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<font color="ff0000">spam</font>
</html>
I'm not sure if that is correct behavior, but it differs from Netscape 4.x and
IE behavior.
Thanks!
Comment 1•24 years ago
|
||
Apart from the missing HEAD, BODY and the fact that the FONT tag shouldn't be
used in HTML4, the example works if you insert the "#" befre the color code:
<font color="#ff0000">spam</font>
Ommitting the DOCTYPE declaration causes Mozilla to use Quirks Mode, so that it
show some more non-standard but NS4.x-like behavior.
Proposing WONTFIX.
Comment 2•24 years ago
|
||
INVALID. (Note: <BODY> and <HEAD> are optional tags.)
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•