Help - Search - Members - Calendar
Full Version: easy html css question
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Alex G
Hi I'm starting to play around with html and css as in the near future I would like to make a website.

anyway, what I can't seem to do is make my css code work with html.

this is what i have

<html lang="en">


<body> <h1 id="title"> 123456
</h1> </body>

and the CSS is:

#title { font-style:italic;

Can someone please help me and find where I have gone wrong? Because when I preview it, '123456' isn't in italics.

Thank you
Christian J
The LINK element must be inside the HEAD section. Also check that the file homeaj.css exists in the same directory.

You should always use a Doctype.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.