Home>Store

Learn Enough HTML, CSS and Layout to Be Dangerous: An Introduction to Modern Website Creation and Templating Systems

Best Value Purchase

Book + eBook Bundle

  • Your Price: $43.19
  • List Price: $71.98
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from yourAccountpage after purchase:

    ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe ReaderPDFThe popular standard, used most often with the freeAdobe® Reader®software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options

Book

  • Your Price: $31.99
  • List Price: $39.99
  • Usually ships in 24 hours.

eBook (Watermarked)

  • Your Price: $25.59
  • List Price: $31.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from yourAccountpage after purchase:

    ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe ReaderPDFThe popular standard, used most often with the freeAdobe® Reader®software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Description

  • Copyright 2022
  • Dimensions: 7" x 9-1/8"
  • Pages: 688
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-784310-0
  • ISBN-13: 978-0-13-784310-7

All You Need to Know, and Nothing You Don't, to Start Creating and Deploying Web Sites---In Full Color

To design, build, and deploy modern websites, you need three core skills: the ability to write and edit HTML, wield CSS to control page design, and create efficient web layouts that serve users well. But you don't need to learn "everything" about HTML, CSS and web layout, just how to use them efficiently to solve real problems. InLearn Enough HTML, CSS and Layout to Be Dangerous, expert developer Lee Donahoe and renowned instructor Michael Hartl teach the specific concepts, skills, and approaches you need to get the job done.

Even if you've never created a web page, the authors help you quickly build technical sophistication and master the lore you need to succeed. Focused exercises help you internalize what matters, without wasting time on details pros don't care about. Soon, it'll be like you were born knowing this stuff--and you'll be suddenly, seriouslydangerous.

Learn enough about . . .

  • Deploying a simple but real website to the live Web right away
  • Adding advanced styling to websites, including CSS Flexbox and CSS Grid
  • Installing and configuring Jekyll, a static site generator
  • Getting started with templating systems and programming languages
  • Mastering key layout principles for web design
  • Registering and configuring custom domains, with custom URLs and email addresses
  • Receiving email at your domain with Google's G Suite
  • Setting up analytics to better understand your sites visitors
  • Making all these technologies work well together
Michael Hartl's Learn Enough series includes books and video courses that focus on the most important parts of each subject, so you don't have to learn everything to get started--you just have to learn enough to be dangerous and solve technical problems yourself.

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Downloads

Downloads

Download the code listings from the author's Github site:
https://github.com/learnenough/learn_enough_html_css_and_layout_code_listings

Extras

Author's Site

Please visit the author's site atlearnenough.com.

Sample Content

Online Sample Chapter

Laying It All Out

Sample Pages

Download the sample pages(includes Chapter 9)

Table of Contents

Preface xvii
About the Authors xxiii

Part I: Hypertext Markup Language 1

Chapter 1: Basic HTML 3
1.1 Introduction 6
1.2 HTML Tags 8
1.3 Starting the Project 12
1.4第一个标签17
1.5 An HTML Skeleton 20

Chapter 2: Filling in the Index Page 29
2.1 Headings 29
2.2 Text Formatting 31
2.3 Links 35
2.4 Adding Images 41

Chapter 3: More Pages, More Tags 51
3.1 An HTML Page About HTML 51
3.2 Tables 54
3.3 Divs and Spans 62
3.4 Lists 66
3.5 A Navigation Menu 68

Chapter 4: Inline Styling 73
4.1 Text Styling 74
4.2 Floats 79
4.3 Applying a Margin 82
4.4 More Margin Tricks 85
4.5 Box Styling 88
4.6 Navigation Styling 90
4.7 A Taste of CSS 93
4.8 Conclusion 98

Part II: Cascading Style Sheets and Page Layout 101

Chapter 5: Introduction to CSS 103
5.1 You're a Front-End Developer 106
5.2 CSS Overview and History 109
5.3 Sample Site Setup 116
5.4 Start Stylin' 121
5.5 CSS Selectors 128

Chapter 6: The Style of Style 133
6.1 Naming Things 134
6.2 When and Why 137
6.3 Priority and Specificity 140
6.4 How to Be a Good Styling Citizen 145

Chapter 7: CSS Values: Color and Sizing 157
7.1 CSS Color 157
7.2 Introduction to Sizing 163
7.3 Pixels (and Their Less-Used Cousin, the Point) 164
7.3.1 Exercise 168
7.4 Percentages 169
7.4.1 Percentage Fonts 174
7.4.2 Exercises 174
7.5 em 175
7.6 rem Isn't Just for Dreaming 181
7.7 vh, vw: The New(er) Kids on the Block 184
7.8 Just Make It Look Nice 190

Chapter 8: The Box Model 193
8.1 Inline vs. Block 193
8.2 Margins, Padding, and Borders 199
8.3 Floats 206
8.4 A Little More About the overflow Style 214
8.5 Inline Block 219
8.6 Margins for Boxes 223
8.7 Padding . . . Not Just for Chairs 234
8.8 Fun with Borders 235

Chapter 9: Laying It All Out 251
9.1 Layout Basics 251
9.2 Jekyll 253
9.3 Layouts, Includes, and Pages (Oh My!) 259
9.4 The Layout File 261
9.5 CSS File and Reset 264
9.6 Includes Intro: Head and Header 275
9.7 Advanced Selectors 284
9.8 Positioning 291
9.9 Fixed Header 309
9.10 A Footer, and Includes in Includes 312

Chapter 10: Page Templates and Frontmatter 327
10.1 Template Content 327
10.2 There's No Place Like Home 330
10.3 More Advanced Selectors 342
10.4 Other Pages, Other Folders 356

Chapter 11: Specialty Page Layouts with Flexbox 361
11.1 Having Content Fill a Container 363
11.2 Vertical Flex Centering 371
11.3 Flexbox Style Options and Shorthand 375
11.4 Three-Column Page Layout 381
11.5 A Gallery Stub 386

Chapter 12: Adding a Blog 397
12.1 Adding Blog Posts 398
12.2 Blog Index Content Loop 412
12.3 A Blog Post Page 419

Chapter 13: Mobile Media Queries 429
13.1 Getting Started with Mobile Designs 429
13.2 Mobile Adaptation 438
13.3 Mobile Viewport 449
13.4 Dropdown Menu 453
13.5 Mobile Dropdown Menu 463

Chapter 14: Adding More Little Touches 475
14.1 Custom Fonts 475
14.2 Favicons 488
14.3 Custom Title and Meta Description 490
14.4 Next Steps 497

Chapter 15: CSS Grid 499
15.1 CSS Grid at a High Level 501
15.2 A Simple Grid of Content 504
15.3 minmax, auto-fit, and auto-fill 515
15.4 Grid Lines, Areas, and Layouts 527
15.5 Grid on the Inside 556
15.6 Conclusion 589

Part III: Custom Domains 591

Chapter 16: A Name of Our Own 593
16.1 Custom Domain Registration 594
16.2 Cloudflare Setup 599
16.3 Custom Domains at GitHub Pages 606

Chapter 17: Custom Email 619
17.1 Google Mail 619
17.2 MX Records 622
17.3 Site Analytics 626
17.4 Conclusion 630

Index 635

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simplyemailinformation@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through ourContact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

这个网站目前不回应不交易ck signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on theAccount page. If a user no longer desires our service and desires to delete his or her account, please contact us atcustomer-service@informit.comand we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive:www.e-skidka.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information toNevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read ourSupplemental privacy statement for California residentsin conjunction with this Privacy Notice. TheSupplemental privacy statement for California residentsexplains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • 调查or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Pleasecontact usabout this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


我们可以修改这个隐私通过updat通知ed posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020