trouble writing HTML

liunx

Guest
hi,<br />
I am just starting a web page- still in part 2 of the tutorial in 'html goodies'. I can make bold and italic words and I can make breaks and pararaphs but I can't seem to get an HR or the typewriter font. Ive checked and rechecked my writing and cant find the error. Here is a copy of what Ive written:<br />
<br />
<HTML> <TITLE> Lupum Auribus Teneo </Title> <B>Test version</B><BR><br />
<br />
<HR> <br />
<B> <I> This website will astound you</I> <B/> <BR><br />
<TT> And my writing is supreme</TT> <p><br />
</HTML><br />
<br />
Thanks in advance for your help<!--content-->Though technically unnecessary, it's a good idea to always throw the <body> tags in there... You also have a few other errors in that code (your second ending bold tag has the slash in the wrong spot, you have a <p> tag at the end, etc... Take a look at this code:<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br />
"http://www.w3.org/TR/html4/loose.dtd"><br />
<html><br />
<head><br />
<title>Lupum Auribus Teneo</title><br />
</head><br />
<body><br />
<p><b>Test version</b><br><br />
<hr><br />
<b><i>This website will astound you</i></b><br><br />
<tt>And my writing is supreme</tt></p><br />
</body><br />
</html>I'd also recommend not using HTML Goodies. Try <!-- m --><a class="postlink" href="http://www.w3schools.com/html">http://www.w3schools.com/html</a><!-- m -->, instead.<!--content-->I just want to back up Pyro in the idea of not using HTML Goodies. The code on their site is severly outdated and even the code they use to code their own site with is outdated and poorly done. I would also look into W3schools, but also make sure to go and validate your pages at W3C's validator. See link in my sig. W3schools may be current, but it doesn't mean it's valid either.<!--content-->I just thought this would be intersting to point out. Try going to w3schools on any netscape / mozilla based browser. If you go into the dhtml section you will see numerous errors where they did not design their scripts for multi browsers. They work fine on ie and opera but once you get near ns it all goes to crap.<!--content-->
 
Back
Top