To get the most out of this book
- You’ll need a text editor such as Sublime Text, Neovim, or VS Code
- You’ll need a modern browser such as Firefox, Edge, Safari, or Chrome
- You’ll need an appreciation of mediocre jokes and popular 90s film references
Download the example code files
The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Responsive-Web-Design-with-HTML5-and-CSS-Fifth-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781837028238.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter/X handles. For example: “We can fix that prior problem easily by adding this snippet in <head>.”
A block of code is set as follows:
img {
max-width: 100%;
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
img {
max-width: 100%;
display: inline-flex;
}
Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes, also appear in the text like this. For example: “When writing HTML, you will typically be marking up or writing content inside a series of tags or elements.”
Warnings or important notes appear like this.
Tips and tricks appear like this.