954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

puzzled?

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

hapiscrap
Light Poster
26 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

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

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

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.
-//w3c//DTD XHTML 1.0 Transitional//EN”

Line 1, Column 22: cannot continue because of previous errors.
-//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”
- Tom Wolfe, <cite>Books in NYC</cite>
</blockquote>
<p>The Labyrinth
151 Varick St.
Manhattan, NY 10013
(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
Webmaster: Michael Westfield [email]michael@thelabyrinth.com[/email]
© copyright 2007 the Labyrinth
</address>
</body>
</html>
hapiscrap
Light Poster
26 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

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. -//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

Walkere
Junior Poster in Training
57 posts since Jan 2008
Reputation Points: 29
Solved Threads: 5
 

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

DangerDev
Posting Pro in Training
485 posts since Jan 2008
Reputation Points: 165
Solved Threads: 59
 

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.

Suetan
Junior Poster in Training
76 posts since Feb 2008
Reputation Points: 11
Solved Threads: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You