How does someone view the web page from the html code input?
Is it the FTP from server?

Recommended Answers

All 5 Replies

If you can elaborate on your question that will help to getter better understanding what you are upto and get you better answer

I recieve the following at the w3c validate page:

Validation Output: 2 Errors

Line 1, Column 22: character "“" invalid: only minimum literal and parameter separators allowed.
<!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”

Line 1, Column 22: cannot continue because of previous errors.
<!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”

<!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”
http://www.w3.org/TR/xhtml1/DTD/transitional.dtd>
<html>
<head>
<title>The Labyrinth</title>
</head>
<body>
<a name=”top”><h1>The Labyrinth: Old Books/New Readers</h1></a>
<blockquote>
“Reading is so fun”<br />
- Tom Wolfe, <cite>Books in NYC</cite>
</blockquote>
<p>The Labyrinth<br />
151 Varick St.<br />
Manhattan, NY 10013<br />
(212) 555-1234
</p>
<a name=”contents”><h2>Contents</h2></a>
<ul>
<li><a href=”#about”><h2>About The Labyrinth</a></li>
<li><a href=”#recent”><h2>Recent Titles</a></li>
<li><a href=”#upcoming”><h2>Upcoming Events</a></li>
</ul>
<hr />
<a name=”about”><h2>About The Labyrinth</h2></a>
<p>The Labyrinth is not the typical bookstore offering customers a maze with fantastic reads all the way through.
The Labyrinth offers:</p>
<ul>
<li>Dungeon walls and maze for the adventurous</li>
<li>Courteous and helpful staff</li>
<li>New releases and updated New York Times Best Seller section</li>
</ul>
<p>Our hours are <strong>10am to 12pm</strong> weekdays,<strong>noon to 10<7</strong> on weekends.</p>
<p><a href=”#contents”>Back To Contents</a> | <a href=”top”>Back to Top</a></p>
<hr  />
<a name=”recent”><h2>Recent Titles (as of 17-Nov-2007)</h2></a>
<ul>
<li>Ian Ayers, <a href=”supercrunchers.html”>
<cite>Supercrunchers</cite></a></li>
<li>John Perkins, <a href=”confessions of an economic hitman.html”
<cite>Confessions of an Economic Hitman</cite></a></li>
</ul>
<p><a href=”#contents”>Back to Contents</a> <a href=”#top”> Back to Top</a></p>
<hr />
<a name=”upcoming”><h2>Upcoming Events</h2></a>
<ul>
<li><b>Coffee and Liquer</b>Show up between 5pm and 7pm on Wednesday and receive complimentary coffees and drinks(adults only).</li>
<li><b>Monday Madness</b>Monday Sale; buy any two books receive the third one for free.</li>
</ul>
<p><a href=”#contents”>Back to Contents</a> | <a href=”#top”>Back to Top</a></p>
<hr />
<address>
Last Updated: 17-Nov-2007<br />
Webmaster: Michael Westfield [email]michael@thelabyrinth.com[/email]<br />
© copyright 2007 the Labyrinth<br />
</address>
</body>
</html>

I recieve the following at the w3c validate page:

Validation Output: 2 Errors

Line 1, Column 22: character "“" invalid: only minimum literal and parameter separators allowed.
<!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”

You need to change the quotes around your doctype stuff. Notice how they slant in and out? That's a special type of quote (probably created an an escape sequence), that doesn't work for quoting attributes.

Write over it with a regular ".

If you copied and pasted your HTML from a word processor, that could cause the problem. Word Processors love to auto-change quotes to special characters. It's much better practice to type your HTML up in a simple text editor (a-la Notepad, Notepad++, or Gedit) or some kind of programming IDE (Dreamweaver, Quanta, etc). That would prevent problems like this.

- Walkere

also, dont copy code from pdf it sucks......

When I do code I use Notepad, Notepad++ or Wordpad. I've tried it in Word when I first started doing web design, and I had the same problem.

If you need to download Notepad++ here's the link.

http://sourceforge.net/projects/notepad-plus/

When you download Notepad++, you'll see how it really can help you out with your code, rather it's XHTML, PHP, Pearl, Java, or a very large number of others.

Hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.