Most basic web first step viewing problem

Just beginning and can’t get the first step to view as a web page. any thoughts? I wrote from the book the following and saved as html . thanks

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd&gt;
<html xmlns=http://www.w3.org/1999/xhtml&gt;
<head>
<title>FLEMING DESIGN STUDIO</title>
<meta http-equiv=”Content-Type”
content=”text/html; charset=utf-8”/>
</head>
<body>
<h1>PROFILE ARCHITECTURE FURNITURE DESIGN ARCHIVE CONTACT</h1>
<p>This is a very simple web page to get you started. Hopefully you will get to see how the markup that drives the page relates to the end result that you can see on screen.</p>
<p>Madera Street Residence</p>
</body>
</html>

What are you doing to try to get it to display as a webpage, and what happens when you try?

What software did you use to write and save that?

You shouldn’t be using curly or smart quotes the following would be fine though:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>
      FLEMING DESIGN STUDIO
    </title>
    <meta http-equiv="Content-Type" content=
    "text/html; charset=UTF-8" />
  </head>
  <body>
    <h1>
      PROFILE ARCHITECTURE FURNITURE DESIGN ARCHIVE CONTACT
    </h1>
    <p>
      This is a very simple web page to get you started.
      Hopefully you will get to see how the markup that drives
      the page relates to the end result that you can see on
      screen.
    </p>
    <p>
      Madera Street Residence
    </p>
  </body>
</html>

You should be using a simple text editor like Notepad and saving with an *.htm or *.html extension. Make sure you file extension is not hidden or you’ve accidentally saved the file a such as; index.htm.txt

thanks for your trying to help. I still only get text. I’m on a mac, use text edit, have txt extensions off, use plain text, have tried both quotes and * and still get text only. I copied your suggestion. any thoughts? I have tried both extensions you mentioned: *.htm and *.html. How does the * influence result? If any? this is what I wrote:

<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<title>
FLEMING DESIGN STUDIO
</title>
<meta http-equiv=Content-Type content=
“text/html; charset=UTF-8” />
</head>
<body>
<h1>
PROFILE ARCHITECTURE FURNITURE DESIGN ARCHIVE CONTACT
</h1>
<p>
This is a very simple web page to get you started.
Hopefully you will get to see how the markup that drives
the page relates to the end result that you can see on
screen.
</p>
<p>
Madera Street Residence
</p>
</body>
</html>

To stevue D. thanks for the reply. I’m opening safari and going to open file then clicking on document in sites file.
text edit

Stevie D sorry for misspelling

to both xhtmlcoder and stevie D,
I found my way to web site by saving doc as plain text instead of doing it in preferences. it worked then.
thanks for your help. ( both " and * work )

Don’t use *, you’ve misunderstood. Use ".

When xhtmlcoder has used * above, that is to indicate you can use any filename you want as long as you use the htm or html file extenstion.

There should NOT have been asterisks in the markup! I was only referring to a wildcard for the file name only NOT markup. So don’t use it in the code. It was referring to a substitution for something like: somefile.htm, kangaroo.htm, index.htm, etc. where they all had *.htm as their file extension.