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