-
Book Overview & Buying
-
Table Of Contents
Practical Web Development
By :
Practical Web Development
By:
Overview of this book
This book is perfect for beginners who want to get started and learn the web development basics, but also offers experienced developers a web development roadmap that will help them to extend their capabilities.
Table of Contents (17 chapters)
Preface
1. The World Wide Web
2. HTML
3. CSS
4. JavaScript
6. PHP and MySQL
7. jQuery
8. Ajax
9. The History API – Not Forgetting Where We Are
10. XML and JSON
12. Mobile First, Responsive Design with Progressive Enhancement
13. Foundation – A Responsive CSS/JavaScript Framework
14. Node.js
A. Bootstrap – An Alternative to Foundation
Index
The box model
All HTML elements can be treated as boxes. In CSS, the term box model is used while talking about design and layout. It is essentially a box that wraps around HTML elements and that can consist of, from outside to inside: margins, borders, padding, and the actual content.
So far in this book, we have given only short examples so that you could study away from a computer, and we will treat this as a textbook for as long as we can. However, to illustrate the box model, and for you to understand it, it is essential to take our examples and check them in a browser. Consider the following code:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>Paul Wellens - California anecdotes</title> <link rel="stylesheet" href="styles/packtpubch3_1.css" type="text/css" /> </head> <body> <div id="box"> June Lake, often called the gem of the Eastern Sierra, is a beautiful place that I visit as often as I can. </div> <...
Change the font size
Change margin width
Change background colour