Book description
Harness the latest capabilities of HTML5 and CSS to create a single UI that works flawlessly on mobile phones, tablets, and desktops — plus everything in-between – now with color images! Purchase of the print or Kindle book includes a free eBook in PDF format.
Key Features
- Understand what responsive web design is and its significance for modern web development
- Explore the latest developments in responsive web design and CSS, including layout with Grid and Subgrid, CSS Cascade Layers, Wide Gamut colors, and CSS Functions
- Get to grips with the uses and benefits of new HTML elements and attributes
Book Description
Responsive Web Design with HTML5 and CSS, Fourth Edition, is a fully revamped and extended version of one of the most comprehensive and bestselling books on the latest HTML5 and CSS techniques for responsive web design. It emphasizes pragmatic application, teaching you the approaches needed to build most real-life websites, with downloadable examples in every chapter.
Written in the author's friendly and easy-to-follow style, this edition covers all the newest developments and improvements in responsive web design, including approaches for better accessibility, variable fonts and font loading, and the latest color manipulation tools making their way to browsers. You can enjoy coverage of bleeding-edge features such as CSS layers, container queries, nesting, and subgrid.
The book concludes by exploring some exclusive tips and approaches for front-end development from the author.
By the end of the book, you will not only have a comprehensive understanding of responsive web design and what is possible with the latest HTML5 and CSS, but also the knowledge of how to best implement each technique. Read through as a complete guide or dip in as a reference for each topic-focused chapter.
What you will learn
- Use media queries, including detection for touch/mouse and color preference
- Learn HTML semantics and author accessible markup
- Facilitate different images depending on screen size or resolution
- Write the latest color functions, mix colors, and choose the most accessible ones
- Use SVGs in designs to provide resolution-independent images
- Create and use CSS custom properties, making use of new CSS functions including ‘clamp’, ‘min’, and ‘max’
- Add validation and interface elements to HTML forms
- Enhance interface elements with filters, shadows, and animations
Who this book is for
Are you a full-stack or back-end developer who needs to improve their front-end skills? Perhaps you work on the front-end and you need a definitive overview of all modern HTML and CSS has to offer? Maybe you have done a little website building but you need a deep understanding of responsive web designs and how to achieve them? This is the book for you! All you need to take advantage of this book is a working understanding of HTML and CSS. No JavaScript knowledge is needed.
Table of contents
- Preface
- Section I: The Fundamentals of Responsive Web Design
- The Essentials of Responsive Web Design
-
Writing HTML Markup
- Getting the start of HTML pages right
- All hail the mighty <a> element
-
New semantic elements in HTML5
- The <main> element
- The <section> element
- The <nav> element
- The <article> element
- The <aside> element
- The <header> element
- The <footer> element
- The HTML5 outline algorithm
- A note on h1-h6 and the <hgroup> element
- The <div> element
- The <p> element
- The <blockquote> element
- The <figure> and <figcaption> elements
- <details> and <summary> elements
- The <address> element
- HTML text-level semantics
- Obsolete HTML features
- Putting HTML elements to use
- WCAG accessibility conformance and WAI-ARIA for more accessible web applications
- Embedding media in HTML5
- The loading attribute
- The <dialog> element
- Summary
- An exercise
- Media Queries and Container Queries
- Fluid Layout and Flexbox
- Layout with CSS Grid
- Section II: Core Skills for Effective Front-End Web Development
- CSS Selectors, Typography, and More
- CSS Color
- Stunning Aesthetics with CSS
- Responsive Images
-
SVG
- A brief history of SVG
- An image that is also a readable web document
- Creating SVGs with popular image editing packages and services
- Inserting SVGs into your web pages
- Reusing graphical objects from symbols
- What you can do with each SVG insertion method (inline, object, background-image, and img)
- Extra SVG capabilities and oddities
- Optimizing SVGs
- SVG implementation tips
- Summary
- Further resources
- Transitions, Transformations, and Animations
- Custom Properties and CSS Functions
- Forms
- Section III: Latest Platform Features and Parting Advice
- Cutting-Edge CSS Features
-
Bonus Techniques and Parting Advice
- Truncating text
- Creating horizontal scrolling panels
- Parting advice
- Summary
- Other Books You May Enjoy
- Index
Product information
- Title: Responsive Web Design with HTML5 and CSS - Fourth Edition
- Author(s):
- Release date: September 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803242712
You might also like
book
HTML & CSS: Design and Build Websites
A full-color introduction to the basics of HTML and CSS from the publishers of Wrox! Every …
video
HTML CSS and JavaScript for Beginners - A Web Design Course
This course starts from scratch, teaches you how to create websites, and covers everything from the …
book
CSS: The Definitive Guide, 5th Edition
If you're a web designer or app developer interested in sophisticated page styling, improved accessibility, and …
book
Learn Enough HTML, CSS and Layout to Be Dangerous: An Introduction to Modern Website Creation and Templating Systems
All You Need to Know, and Nothing You Don’t, to Start Creating and Deploying Web Sites---In …