User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 401,628 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,933 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 387 | Replies: 5
Reply
Join Date: Aug 2007
Posts: 24
Reputation: hapiscrap is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
hapiscrap hapiscrap is offline Offline
Newbie Poster

puzzled?

  #1  
Feb 6th, 2008
How does someone view the web page from the html code input?
Is it the FTP from server?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,220
Reputation: peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough 
Rep Power: 10
Solved Threads: 270
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: puzzled?

  #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)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Aug 2007
Posts: 24
Reputation: hapiscrap is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
hapiscrap hapiscrap is offline Offline
Newbie Poster

Re: puzzled?

  #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 2:04 am. Reason: Please use [code] tags for posting your code
Reply With Quote  
Join Date: Jan 2008
Posts: 55
Reputation: Walkere is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 5
Walkere Walkere is offline Offline
Junior Poster in Training

Re: puzzled?

  #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  
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation: DangerDev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 32
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Whiz

Re: puzzled?

  #5  
Feb 6th, 2008
also, dont copy code from pdf it sucks......
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
Reply With Quote  
Join Date: Feb 2008
Location: Oneida, NY, USA
Posts: 51
Reputation: Suetan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 4
Suetan Suetan is offline Offline
Junior Poster in Training

Re: puzzled?

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 5:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC