Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: cgi.pm problem

by neophyte (Curate)
on May 30, 2001 at 19:39 UTC ( #84293=note: print w/replies, xml ) Need Help??


in reply to HTML Tag attribute problems with CGI.pm

bgcolor is not really a tag, but an attribute to the body - tag, so you would have to put:
... -meta=>{'keywords'=>'PMI HR HumanResources', 'copyright'=>'copyright 2001 Kelly Berry'}, -style =>{'src'=>'../style.css'}, -bgcolor =>'blue'); ...

into your code. (Warning: I have not tested that piece of code)
But the body color attribute is already covered with CSS1, so you can put that in with your style-sheet.

neophyte Niederrhein.pm

updated: ah well, I never used cgi to create html, I just moved from here-docs to templates.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://84293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2023-03-21 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?