The Comprehensive Guide
Jürgen Wolf
HTML#
CSS#
CSS3#
Web developers―this is your all-in-one guide to HTML and CSS! Learn to use HTML to format text and structure web pages. Understand the HTML document skeleton before creating forms, referencing hyperlinks, embedding active content, and more. Then style your pages with CSS: Create consistent designs with selectors, the box model, the cascade algorithm, and inheritance. Round out your client-side development experience by getting to know JavaScript. With detailed code examples, you’ll master HTML and CSS in no time!
Table of Contents
1 Introduction to the HTML Universe
2 Basic Structure of HTML and HTML Documents
3 Head Data of an HTML Document
4 The Visible Part of an HTML Document
5 Tables and Hyperlinks
6 Graphics and Multimedia
7 HTML Forms and Interactive Elements
8 Introduction to Cascading Style Sheets 9 The Selectors of CSS
10 Inheritance and Cascading
11 The Box Model of CSS
12 CSS Positioning
13 Creating Responsive Layouts with CSS
14 Styling with CSS
15 Testing and Organizing
16 The CSS Preprocessor Sass and SCSS
17 A Brief Introduction to JavaScript
18 Arrays, Functions, and Objects in JavaScript
19 Changing Web Pages Dynamically
20 An Introduction to Ajax
HTML for Formatting and Structure
Master HTML syntax and document structure. Work with tags, elements, and attributes to build HTML documents. Create tables and forms, embed images, configure links, and develop interactive HTML elements.
CSS for Style and Design
Develop simple and complex web layouts with CSS rules, selectors, declarations, combinators, pseudoclasses, and pseudoelements. Understand the principles of cascading, specificity, and inheritance. Learn to use the CSS box model, the position property, and more.
JavaScript Fundamentals
Expand your knowledge with an introduction to JavaScript. See how to use variables, statements, functions, arrays, and objects to write and run simple programs. Explore the basics of Ajax for interactive web application design.
Format, structure, and design your web pages with this comprehensive guide to HTML and CSS. You’ll begin with the basics: learn about HTML documents and understand how to use HTML tags, elements, attributes, and comments for text markup and page structure. See how to display header and body data, embed graphics and videos, design tables and forms, and much more! Once you’ve got a good grasp of HTML, it’s time to work with CSS. You’ll learn about the key principles and features of CSS, including selectors, the cascade, inheritance, and styling. See how to embed CSS in HTML, use combinators, design boxes, control positioning, and create responsive layouts. Finally, learn to validate your HTML and CSS with testing.
Of course, no understanding of HTML and CSS is complete without some knowledge of JavaScript, so this book also includes a useful introduction to the programming language. See how JavaScript works with HTML and CSS to design complete web applications. You’ll even get to know Ajax for building asynchronous web applications.
Throughout this book, you’ll find useful, hands-on code examples to support your learning. Download each code listing to practice on your own time!
Beginners will gain a comprehensive understanding of HTML and CSS. It offers downloadable code examples for practicing with your own web pages. Web developers, and those working with PHP or programming for MySQL should read this book end to end for a complete overview, or use it as a reference for daily tasks. This book will help bloggers and content creators maintain pages with useful, easy-to-understand guidance about HTML and CSS. Additionally, it can serve as a refresher if you’ve worked with previous versions and want to know how HTML is used in modern websites—no more styling or layout design. You’ll also understand how to use CSS to fill in those gaps.
This book includes:
Jürgen Wolf is a web and software developer and the author of several seminal works about programming and photography.