HTML and CSS: Design and Build Websites
Jon Duckett
• Introduces HTML and CSS in a way that makes them accessible to everyone—hobbyists, students, and professionals—and it’s full-color throughout
• Utilizes information graphics and lifestyle photography to explain the topics in a simple way that is engaging
• Boasts a unique structure that allows you to progress through the chapters from beginning to end or just dip into topics of particular interest at your leisure
This educational book is one that you will enjoy picking up, reading, then referring back to. It will make you wish other technical topics were presented in such a simple, attractive and engaging way!
- Genres Programming Nonfiction Design Computer Science Reference Website Design Technology
514 pages, Paperback
First published October 25, 2011
About the author
Jon Duckett
31 books215 followersRatings & Reviews
Friends & Following
Community Reviews
فلنمر الان الى الكتاب الثاني
JavaScript and JQuery: Interactive Front-End Web Development
The problem with the book is that I'm not sure who the audience is. If you already know HTML and CSS, the majority of the book is probably beneath you. If you're new, then it might be over your head as it explores topics instead of really getting into the "how to" side of things.
There's enough good information to make it worth reading. The CSS section, in particular, has some good tips and even if you've been playing with web design for awhile, there's some good information on where HTML 5 is heading. It's a quick and easy read as well, so even if you don't gain a whole lot from the book, you'll probably gain enough to make it worth the time you invested.
Update 1: This book is a nice snapshot of HTML in 2011, but enough has changed since then that this book is now well out of date. I think this book gives you some easy access to some of the basics, but that's about it. If I were to pick up this book now, it would not tell me what I need to know in order to write good HTML and CSS.
Update 2 (2016): I think the time for books on HTML and CSS is over. Sites like Codecademy (free), Code School (subscription-based), and numerous other online learning sites (many of those free to use) do a much better job teaching you all the things that an updated version of this book would attempt to teach. Things like learning AngularJS and Bootstrap to create a JSON-driven website that utilizes the Model View View-Model (MVVM) pattern should be a more hands-on experience than reading a book. The most valuable learning I've received about HTML and CSS is simply through doing tutorials on modern web technologies, combined with troubleshooting any problems I encounter with resources like StackOverflow, W3Schools, the Mozilla Developer's Network, etc. When you build something, you learn how to build. That is the software development paradigm.
Update 3 (2018): Ok, ok, the time for books on HTML and CSS is not over. At least for CSS, I think you should check out "CSS in Depth" by Keith J. Grant if you're looking for good advice and distilled knowledge on how to use CSS effectively in web development, especially when scaling up to large web applications. Note that "CSS in Depth" won't cover all the angles that this reviewed book implies, but neither does this book!
*deep breath*
yes, it seems I am not destined to be a coder. reaaaally bummed about that. :P
18 August 2018
Another university text book, and honestly, I probably shouldn’t go on a rant about university text books, particularly since that everything these books tend to contain can pretty much be found, for free, on the internet. As you can probably tell, this book is basically all about web development, though this book is more about how to make a website look pretty as opposed to actually making the website do funky stuff. Yet, in reality, our lecturers and tutors never seem to refer to this book in particular, but rather refer us to w3 schools, namely because pretty much everything you need to know about web development is located there.
However, as a book, it is laid out pretty well, and isn’t anywhere near as dense as some of these other text books that I have landed up with are. Mind you, like all university text books, I highly doubt that I am ever going to actually look at them again after I finish my degree, particularly since web development really isn’t a field that I want to get into. Anyway, with content management systems such as Wix, among others, one wonders whether there is going to be a job for web developers in the future.
Actually, that is probably a silly question, because of course there is going to be work for web developers, though I do get the impression that while there is an awful lot of work out there for them, having an university degree isn’t something you really need to actually create web pages. In fact, there are a bunch of students (post-millennials mind you) that have been writing web pages since they were 12 years old. Honestly, that isn’t at all surprising, considering I technically fall into that category, though when I was 12 years old the internet as we know it today basically didn’t exist – it was all dial up modems and bulletin boards. Actually, it was the era of the Commodore 64, and the shady back room deals at high school where we would exchange disks containing pirated software.
The thing is that I’m one of those people that learn not so much by reading, but rather by doing, which is why I’m actually enjoying university – what we are learning we pretty much have to put into practice with regards to our assignments. Mind you, I’m dreading my web programming assignment, particularly since design really isn’t something that is my forte, though I’m going to do my best to produce something that is really, really pretty. However, the catch is that while you can work in pairs, team work in first year can be really hit and miss, particularly with the number of people that actually drop out of university in their first year. I would provide a link to the website, just so you can see how bad it is, but unfortunately it is password protected, so I guess I’m just going to have to leave it for my lecturer, and fellow students.
Oh, and one thing that I have learnt about web development is that there are a lot of no no’s out there, and a lot of things that I have no choice but to do when I am writing something on, say, Blogger. Well, I could create my own website, but honestly, Google (and Wordpress) have done all of the hard work for me so all I have to do is simply write stuff, so I won’t bother. Still, I do wonder what I can get away with Javascript on those sites.
The only complaint I have after reading (almost the entire) book is that now, I'm not really sure where to start. It would be helpful as a sort of last step for the author to say, "Now that I've told you all of these things, here's where you should start." But I can also see where it doesn't make sense to do that because everyone is reading the book for different reasons. I guess you just start by writing some HTML and then some CSS to go along with that HTML, upload all those files to your web hosting server, and voila, you have your website. In theory.
Either way, this book has really helped me get started with a web project that I volunteered to take on but have been procrastinating for the past four months. I can't say that the HTML or CSS I'm writing is probably the cleanest at this very early stage, and I'm constantly having to go back and look up pretty much everything, but I have a website started, and I have this book to thank for that!
Things are even better, when added to the fact that overall, it was pleasure to read too. It is hard to put down a book when it's almost perfectly tuned. The only times I accomplished the feat, was through sheer exhaustion and later in the book, when I had to try out some of the trickier but simply explained examples. Really this book is brilliant.
The beauty of it is this book is a simple read. It takes the complex and often time frustrating world of HTML and CSS and distills it. Everything is broken down and examined steadily, leaving you refreshed by complexities as well as the simpler points.
There were some minor niggles near the end of the book. "Two" or "three" headings that were miss-labeled or incorrectly positioned. A obvious typo referencing a non-existent tag. These were only obvious because the work, as a whole, is so very close to impeccable
The best thing I can say about this book, is this. I will read it again. Soon. I totally expect to enjoy it the second time as well.
So, I grabbed this book. It is awesome.
+ It's both a how-to and a reference book.
+ It's introductory and has more in-depth information.
+ It looks great with tons of color examples.
+ It has the code to create each example right there for you.
+ It has answered every question that I've bumped into.
+ It has a great index with a couple of reference sections like CSS properties.
This is one of the best tech books I've used. "A nicer way to learn"... so the author says on his website. Huzzah to that!
I didn't read every word of it, but given more time and energy I totally would have.
Easily the best textbook of my MLIS.
4 stars
I won a copy of this book in a Twitter contest from The East Wing podcast, one of my favorite web design podcasts. The author appeared in Episode 11: The Book Process with Jon Duckett.
Stock photos
• iStock Photo
• Getty Images
• Veer
• Stock.XCHNG
• Fotolia
Browser testing
• Adobe BrowserLab (free)
• Browsershots (free)
• CrossBrowserTesting (paid)
Text
• Leave body text at 16px, then adjust other font sizes using a scale.
• Setting font size in pixels is the best way to ensure that it appears as you intend, because percentages and ems vary depending on the text size set in the browser.
• Line-height should be 1.4 - 1.5em.
• Hide text with text-indent: -9999px.
Open source font sources
• Font Squirrel
• Fontex
• Open Font Library
• Google Web Fonts
Commercial font sources
• Typekit
• Kernest
• Fontspring
Styling tables
• Give cells padding.
• Make headings bold and uppercase, and add a background color or underline.
• Shade alternating rows.
• Use text-align to right-align numeric columns.
Styling forms
Use formalize.me to style forms consistently across browsers.
Aligning form controls (view source in this example to see HTML and CSS)
• Add the class “title” to elements containing form titles.
• Float the title class to the left.
• Set the width on the title class so they’re all the same width.
• Use text-align to align titles to the right, and use padding to put a gap between titles and form controls.
• Set the width and use padding-bottom to put vertical space between rows.
• Right-align the submit button.
Online wireframe tools (paid)
• Mockingbird
• Lovely Charts
SEO
On-page SEO
• Keywords should be in these places:
• Page title
• URL
• Headings
• Text (2-3 times in body)
• Link text
• Image alt text
• Meta descriptions
Off-page SEO
• Get other sites to link to yours, especially sites with related content.
• Links containing keywords are more relevant.
• Make sure words in links to your sites also appear on the page linked to.
Analytics
Direct traffic is traffic that didn’t come from another site. The visitor may have typed the URL, or clicked a link in an email or document.
My understanding of web design started through a CSS lens. In retrospect, beginning to learn web design by understanding the power and capabilities of the structure first—through HTML—would have been a much better first step.
Highly recommend to anyone who thinks they can't make a website, or curious how easy it is. This is a step by step explanation for any sort of "first steps into the web" and a wonderful refresher on the basics for anyone looking to freshen' up.
However There's a lack in the practical Information and it's not very professional
The textbook is a perfectly hands-on introduction to web design that gradually increases the code complexity. There are no practical exercises, but the chapters and topics are so composed that you somehow hear your calling and want to try to apply things on your own. When coding with a programming language you feel often overwhelmed by the underlying theory you struggle to grasp, while markdown and styling are immediately practical. After you read about the relevant concepts, you immediately feel like you are able to grasp what they are about.
This brings me to another point. Often computer-science textbooks provide good understanding of basic theory but leave you self-conscious about how they are applied in the real world. What I particularly loved about HTML & CSS was how Duckett offers best-practice advice throughout. This eases the transition from knowing what there is to knowing how best to apply it (like professionals do). Sure, you won't become a professional from just reading about what to do. But when in practice you suddenly wonder about the details of how to best move on you'll have a mentor to get comforting advice from.
I also have to say, the book is some seriously mesmerizing piece of design work. There is something truly convincing about a design book that is perfectly designed. There is comparatively little text per page, aligned within three columns, with colorfully highlighted code listings and often very large-size images that pop. All on a visually comforting backgrounds. And with examples at the end of each chapter that are impressive enough to immediately make you feel comfortable, maybe empowered even.
The explanations are concise as is necessitated by the design decisions, but still in-depth and sufficiently technical. The section about image resolutions is a good example. Most readers will know about the pixels of their various devices and might have bought something based on promises that higher resolutions promise sharper images. Yet, to build pleasing website designs it's necessary to understand what is really going on. To this purpose, technical concepts are introduced and related to their origins in print.
There are important shortcomings, though. At least in my 2011 edition there was very little in the way of responsiveness and how to make your website compatible with different screen sizes. There are sporadic mentions of the need to use relative measures and the likes, but there is no systematic introduction to concepts like mobile-first, fluid layouts, or the likes. There is a section on page layout, but in this respect my edition was rather dated, too. Today, the flexbox layout would probably deserve its own chapter.
Still, for these issues there is of course an overabundance of other sources to consult (and they might well be addressed and remedied in the most recent edition). Overall I feel like I've learned quite a lot from HTML & CSS and like to come back to it for inspiration on how to solve problems. Highly recommendable – it will sure be among the most stunning books on your shelf.
Rating: 4/5
Same goes for responsive design, you can sense that the author does not assume a lot of website visitors would be using devices with various screen sizes.
All of the latter is excused due to the release date, the web was a lot different back then.
All in all, great book if it were ~2011, decent book at the present times. Though I would not recommend it, I read it out of curiosity and the numerous recommendations.
The last third drags a bit if you’re just looking to learn the two languages. If you want to learn how to build and monitor your own website however the last third is useful.
Lastly, the pages are laid out awesomely. You know you’re reading the work of someone with great design skills when perusing these concise infographic-like pages.