943,519 Members | Top Members by Rank

Ad:
Feb 6th, 2008
0

puzzled?

Expand Post »
How does someone view the web page from the html code input?
Is it the FTP from server?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
hapiscrap is offline Offline
26 posts
since Aug 2007
Feb 6th, 2008
0

Re: puzzled?

If you can elaborate on your question that will help to getter better understanding what you are upto and get you better answer
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Feb 6th, 2008
0

Re: puzzled?

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”





html Syntax (Toggle Plain Text)
  1. <!DOCTYPE html Public “-//w3c//DTD XHTML 1.0 Transitional//EN”
  2. http://www.w3.org/TR/xhtml1/DTD/transitional.dtd>
  3. <html>
  4. <head>
  5. <title>The Labyrinth</title>
  6. </head>
  7. <body>
  8. <a name=”top”><h1>The Labyrinth: Old Books/New Readers</h1></a>
  9. <blockquote>
  10. “Reading is so fun”<br />
  11. - Tom Wolfe, <cite>Books in NYC</cite>
  12. </blockquote>
  13. <p>The Labyrinth<br />
  14. 151 Varick St.<br />
  15. Manhattan, NY 10013<br />
  16. (212) 555-1234
  17. </p>
  18. <a name=”contents”><h2>Contents</h2></a>
  19. <ul>
  20. <li><a href=”#about”><h2>About The Labyrinth</a></li>
  21. <li><a href=”#recent”><h2>Recent Titles</a></li>
  22. <li><a href=”#upcoming”><h2>Upcoming Events</a></li>
  23. </ul>
  24. <hr />
  25. <a name=”about”><h2>About The Labyrinth</h2></a>
  26. <p>The Labyrinth is not the typical bookstore offering customers a maze with fantastic reads all the way through.
  27. The Labyrinth offers:</p>
  28. <ul>
  29. <li>Dungeon walls and maze for the adventurous</li>
  30. <li>Courteous and helpful staff</li>
  31. <li>New releases and updated New York Times Best Seller section</li>
  32. </ul>
  33. <p>Our hours are <strong>10am to 12pm</strong> weekdays,<strong>noon to 10<7</strong> on weekends.</p>
  34. <p><a href=”#contents”>Back To Contents</a> | <a href=”top”>Back to Top</a></p>
  35. <hr />
  36. <a name=”recent”><h2>Recent Titles (as of 17-Nov-2007)</h2></a>
  37. <ul>
  38. <li>Ian Ayers, <a href=”supercrunchers.html”>
  39. <cite>Supercrunchers</cite></a></li>
  40. <li>John Perkins, <a href=”confessions of an economic hitman.html”
  41. <cite>Confessions of an Economic Hitman</cite></a></li>
  42. </ul>
  43. <p><a href=”#contents”>Back to Contents</a> <a href=”#top”> Back to Top</a></p>
  44. <hr />
  45. <a name=”upcoming”><h2>Upcoming Events</h2></a>
  46. <ul>
  47. <li><b>Coffee and Liquer</b>Show up between 5pm and 7pm on Wednesday and receive complimentary coffees and drinks(adults only).</li>
  48. <li><b>Monday Madness</b>Monday Sale; buy any two books receive the third one for free.</li>
  49. </ul>
  50. <p><a href=”#contents”>Back to Contents</a> | <a href=”#top”>Back to Top</a></p>
  51. <hr />
  52. <address>
  53. Last Updated: 17-Nov-2007<br />
  54. Webmaster: Michael Westfield [email]michael@thelabyrinth.com[/email]<br />
  55. © copyright 2007 the Labyrinth<br />
  56. </address>
  57. </body>
  58. </html>
Last edited by peter_budo; Feb 7th, 2008 at 3:04 am. Reason: Please use [code] tags for posting your code
Reputation Points: 10
Solved Threads: 0
Light Poster
hapiscrap is offline Offline
26 posts
since Aug 2007
Feb 6th, 2008
0

Re: puzzled?

Click to Expand / Collapse  Quote originally posted by hapiscrap ...
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
Reputation Points: 29
Solved Threads: 5
Junior Poster in Training
Walkere is offline Offline
57 posts
since Jan 2008
Feb 7th, 2008
0

Re: puzzled?

also, dont copy code from pdf it sucks......
Reputation Points: 165
Solved Threads: 59
Posting Pro in Training
DangerDev is offline Offline
485 posts
since Jan 2008
Feb 7th, 2008
0

Re: puzzled?

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.
Reputation Points: 11
Solved Threads: 5
Junior Poster in Training
Suetan is offline Offline
75 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Background color question
Next Thread in HTML and CSS Forum Timeline: How to right align numbers?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC