I am a beginner and I just bought a html book to get started. (Elizaeth Castro, 'visual quickstart guide' 6.ed). I have created a web page using TextEdit and have saved the file as .html. When I open the file in Safari the page will not display as a web page but only shows me the html code. I'm hoping to build upon this modest start but am stuck already.
Here's what I've got so far.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> <head>
> <meta-equiv="content-type" content="text/html; charset=utf-8"/>
> <title>
> My Title
> </title>
> </head>
>
> <body>
> <h1>Interests</h1>
> <p>Likes to play guitar and sing.</p>
> <h2>Favorite Guitar</h2>
> <p>My favorite guitar is an early seventies Les Paul.</p>
> </body>
> </html>
Thanks for any help,
Paperclip
Here's what I've got so far.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> <head>
> <meta-equiv="content-type" content="text/html; charset=utf-8"/>
> <title>
> My Title
> </title>
> </head>
>
> <body>
> <h1>Interests</h1>
> <p>Likes to play guitar and sing.</p>
> <h2>Favorite Guitar</h2>
> <p>My favorite guitar is an early seventies Les Paul.</p>
> </body>
> </html>
Thanks for any help,
Paperclip