puzzled?

Reply

Join Date: Aug 2007
Posts: 26
Reputation: hapiscrap is an unknown quantity at this point 
Solved Threads: 0
hapiscrap hapiscrap is offline Offline
Light Poster

puzzled?

 
0
  #1
Feb 6th, 2008
How does someone view the web page from the html code input?
Is it the FTP from server?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,260
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: puzzled?

 
0
  #2
Feb 6th, 2008
If you can elaborate on your question that will help to getter better understanding what you are upto and get you better answer
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 26
Reputation: hapiscrap is an unknown quantity at this point 
Solved Threads: 0
hapiscrap hapiscrap is offline Offline
Light Poster

Re: puzzled?

 
0
  #3
Feb 6th, 2008
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”





  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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 57
Reputation: Walkere is an unknown quantity at this point 
Solved Threads: 5
Walkere Walkere is offline Offline
Junior Poster in Training

Re: puzzled?

 
0
  #4
Feb 6th, 2008
Originally Posted by hapiscrap View Post
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 483
Reputation: DangerDev has a spectacular aura about DangerDev has a spectacular aura about 
Solved Threads: 59
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Pro in Training

Re: puzzled?

 
0
  #5
Feb 7th, 2008
also, dont copy code from pdf it sucks......
Freedom in the Mind, Faith in the words.. Pride in our Souls...
Indian Developer
http://falaque.wordpress.com/
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 55
Reputation: Suetan is an unknown quantity at this point 
Solved Threads: 4
Suetan Suetan is offline Offline
Junior Poster in Training

Re: puzzled?

 
0
  #6
Feb 7th, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 772 | Replies: 5
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC