Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > BOOK: Beginning HTML and CSS (published March 2013)
|
BOOK: Beginning HTML and CSS (published March 2013)
This is the forum to discuss the Wrox book Beginning HTML and CSS by Rob Larsen; ISBN: 978-1-1183-4018-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning HTML and CSS (published March 2013) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 7th, 2013, 07:35 PM
Registered User
 
Join Date: Aug 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Question Difference between downloaded lesson code and code in book

A few days ago, I purchased this book and am now almost through chapter 2. I am finding it very helpful and easy to follow. Something I noticed, though, is that, when I look at the downloaded code for a couple of sections in chapter 1, it does not quite show as it does in the book. The page on the "user end" displays like it should but when I "inspect element", the mark-up is a bit different than indicated in the book. In particular, page 25 "Understanding Block and Inline Elements" figure 1-12 and the mark-up displayed above it - the mark-up in the book for figure 1-12 shows the named entities for the angle brackets in the text "the h1 and p elements will not sit on the same line," but when I look at the mark-up from the downloaded code, it displays that same h1 and p in the angle brackets - not their named entities. Having gotten to the section in chapter 2 where it discusses (page 51) "Using character entities for Special Characters," I know why the book shows what it does but why is the downloaded code showing it as if the named entities were not used? (This wasn't the only place this occurred for this issue. Is it my browser?) I hope this makes some sort of sense as I feel that there should have been a shorter why to ask my question.
 
Old August 7th, 2013, 07:52 PM
Wrox Author
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 3 Times in 3 Posts
Default

If you open ch01_eg09.html in a text editor you'll see that the code matches. Something in the way the inspector is working might be causing the apparent discrepancy.
The Following User Says Thank You to roblarsen For This Useful Post:
Alatha (August 7th, 2013)
 
Old August 7th, 2013, 08:34 PM
Registered User
 
Join Date: Aug 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It took a little bit but I did finally figure out how to open the code in the text editor I am using. It did show up properly there. I don't know why it doesn't in the browser but this should make things easier on my brain :-)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with downloaded code crashbandicoot BOOK: Beginning HTML, XHTML, CSS, and JavaScript 8 September 18th, 2012 07:57 PM
opening downloaded code mxk4701 BOOK: Java Programming 24-Hour Trainer by Yakov Fain 1 April 2nd, 2012 05:35 AM
downloaded code Joseph BOOK: Beginning SQL 5 December 23rd, 2007 09:35 PM
Downloaded code not Working!!!!!!!!! avats Wrox Book Feedback 3 April 13th, 2005 01:16 PM
ThePhile C# Downloaded code aruny2kprasad General .NET 3 April 16th, 2004 03:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.