Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Main Page HTML

Posted by: riotgirl_57 Apr 6 2007, 11:21 AM

Hello,I'm new here.
I've made sites before but it's been awhile.And I need help with html.
When you make a new page,what is the code you put on it.
Is it this?
<html>
<head>
<title>TITLE HERE</title>
</head>

<body>
<center>
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">


<style type="text/css">

A:link
{ text-decoration: none; }

body
{ background-color: #000000; }
</center>
</style>
</body>
</html>

Please help.Thanks

Posted by: pandy Apr 6 2007, 12:38 PM

¡Hola! laugh.gif

Uhm, no. A basic HTML skeleton, you mean? I'd remove the meta tags altogether. If you keep them they shouldn't be in BODY but in HEAD. So should the style block. CENTER is an old, deprecated tag. Off it goes. The document also lacks a doctype.

http://htmlhelp.com/reference/html40/structure.html

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)