I managed to use the html that increased the size of my title, but so far haven’t figured out how to use colour for my titles.
I use Yahoo small business. The file manager is a lot like the one I used when I had a Geocities site (before it went belly-up) and for some reason, I can’t get any other colour than olive green.
I’ve never used css; just html. I have an unusual situation in that, before Geocities closed, I cut and pasted all the html in many, many pages and kept them in my word processor until I got this account. Then I pasted all files into the Yahoo small busines file manager. Everything appears just as it did in my Geocities site; except for the titles. In Geocities, the title appeared right after the <html>
and this:
<head>
When I used html in my Geocities file manager, page titles and colours:
<H1 ALIGN=CENTER>This is a test header</H1>
<HR WIDTH=“100%”>
What should I do? BTW, thanks for the speedy reply.
Or the better way is to add it to a separate file and save it as styles.css (or whatever.css) than link to it from the <head> section of every HTML file:
Serendipity rocks, Ben. I’ve been trying to remember that CSS Basics link for a while now, as I’m ginning up my middle-school Web design class for another go-round. (Don’t know why I couldn’t get it to come up on Google, must have been searching for beach bongo tequila festival or something similar instead.) Thanks!
Lonely, stick around, we can help you through the initial rough patches in learning to apply CSS to your designs.
Hey mate, if this is your actual HTML from the page, it’s a bit mixed up. That <title> tag is for putting text into the user’s Browser title…
It should look something like this (note the usage of the title tag, H1 for the titles in the page, and also your BODY tag was a bit messed up too):
<html>
<head>
<title>This text will appear in their browser titlebar</title>
</head>
<BODY BGCOLOR="#FFCC00" TEXT="#FF0000" LINK="#38B0DE" VLINK="#FFFFFF">
<h1>This is a title for the page itself</h1>
<p>This is where your page content goes.</p>
</body>
</html>
That would fix your code, but in saying that, the guys on this thread are right… ultimately you should be putting your “styles” (colours, fonts, etc) seperately, using CSS… so you’d end up with something like this:
<html>
<head>
<title>This text will appear in their browser titlebar</title>
<style type="text/css">
body { background-color: #ffcc00; color: #ff0000 }
a:link { color: #38b0de }
a:visited { color: #ffffff }
h1 { color: #00ff00 }
}
</style>
</head>
<body>
<h1>This is a title for the page itself</h1>
<p>This is where your page content goes.</p>
</body>
</html>
Some browsers are even starting to ignore those antiquated HTML ways of doing things that were superseded in 1999 and will only display the page with the expected appearance if you use CSS.
I would like to see browsers phasing out stylistic HTML entirely (TBH), the education system is a mess because there’s so many ways (rightly or wrongly) to achieve something. At least if we purged the HTML style effects we could prevent this kind of hideous practice from being continued to this day. I mean it’s scary how people are able to still produce HTML like mentioned in this thread which has been abandoned as poor practice for many years.