Book description
Teach Yourself HTML, CSS, and JavaScript All in One combines these three fundamental web development technologies into one clearly written, carefully organized, step-by-step tutorial that expertly guides the beginner through these three interconnected technologies.
In just a short time, you can learn how to use HTML, Cascading Style Sheets (CSS), and JavaScript together to design, create, and maintain world-class websites. Each lesson in this book builds on the previous ones, enabling you to learn the essentials from the ground up. Clear instructions and practical, hands-on examples show you how to use HTML to create the framework of your website, design your site's layout and typography with CSS, and then add interactivity with JavaScript and jQuery.
Step-by-step instructions carefully walk you through the most common web development tasks.
Practical, hands-on examples show you how to apply what you learn.
Quizzes and exercises help you test your knowledge and stretch your skills.
Learn how to...
- Build your own web page and get it online in an instant
- Format text for maximum clarity and readability
- Create links to other pages and to other sites
- Add graphics, color, and visual pizzazz to your web pages
- Work with transparent images and background graphics
- Design your site's layout and typography using CSS
- Make elements move on your page with CSS transformations and transitions
- Animate with CSS and the HTML5 Canvas element
- Write HTML that's responsive web design-ready
- Design a site for mobile devices
- Use CSS media queries and breakpoints
- Get user input with web-based forms
- Use JavaScript to build dynamic, interactive web pages
- Add AJAX effects to your web pages
- Leverage JavaScript libraries such as jQuery
- Make your site easy to maintain and update as it grows
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Authors
- Dedication
- Acknowledgments
- Accessing the Free Web Edition
- Reader Services
-
Part I: Getting Started on the Web
-
Lesson 1 Understanding How the Web Works
- A Brief History of HTML and the World Wide Web
- Creating Web Content
- Understanding Web Content Delivery
- Selecting a Web Hosting Provider
- Testing with Multiple Web Browsers and Devices
- Creating a Sample File
- Using FTP to Transfer Files
- Understanding Where to Place Files on the Web Server
- Distributing Content Without a Web Server
- Tips for Testing Web Content
- Summary
- Q&A
- Workshop
- Exercises
-
Lesson 2 Structuring an HTML Document
- Getting Prepared
- Getting Started with a Simple Web Page
- HTML Tags Every Web Page Must Have
- Organizing a Page with Paragraphs and Line Breaks
- Organizing Your Content with Headings
- Understanding Semantic Elements
- Using <header> in Multiple Ways
- Understanding the <section> Element
- Using <article>
- Implementing the <nav> Element
- When to Use <aside>
- Using <footer> Effectively
- Summary
- Q&A
- Workshop
- Exercises
- Lesson 3 Understanding Cascading Style Sheets
- Lesson 4 Understanding JavaScript
- Lesson 5 Validating and Debugging Your Code
-
Lesson 1 Understanding How the Web Works
-
Part II: Building Blocks of Practical Web Design
-
Lesson 6 Working with Fonts, Text Blocks, Lists, and Tables
- Working with Special Characters
- Boldface, Italic, and Special Text Formatting
- Tweaking the Font
- Using Web Fonts
- Aligning Text on a Page
- The Three Types of HTML Lists
- Placing Lists Within Lists
- Creating a Simple Table
- Controlling Table Sizes
- Alignment and Spanning Within Tables
- Page Layout with Tables
- Using CSS Columns
- Summary
- Q&A
- Workshop
- Exercises
-
Lesson 7 Using External and Internal Links
- Using Web Addresses
- Linking Within a Page Using Anchors
- Linking Between Your Own Web Content
- Linking to Non-HTML Files
- Linking to External Web Content
- Linking to an Email Address
- Opening a Link in a New Browser Window
- Giving Titles to Links
- Using CSS to Style Hyperlinks
- Using Links Effectively
- Summary
- Q&A
- Workshop
- Exercises
-
Lesson 8 Working with Colors, Images, and Multimedia
- Best Practices for Choosing Colors
- Understanding Web Colors
- Using Hexadecimal Values for Colors
- Using RGB and RGBa Values for Colors
- Using CSS to Set Background, Text, and Border Colors
- Choosing Graphics Software
- The Least You Need to Know About Graphics
- Preparing Photographic Images
- Creating Banners and Buttons
- Optimizing Images by Reducing or Removing Colors
- Creating Tiled Background Images
- Placing Images on a Web Page
- Describing Images with Text
- Specifying Image Height and Width
- Aligning Images
- Turning Images into Links
- Using Background Images
- Using Image Maps
- Linking to Multimedia Files
- Embedding Multimedia Files
- Additional Tips for Using Multimedia
- Summary
- Q&A
- Workshop
- Exercises
-
Lesson 6 Working with Fonts, Text Blocks, Lists, and Tables
-
Part III: Advanced Web Page Design with CSS
- Lesson 9 Working with Margins, Padding, Alignment, and Floating
- Lesson 10 Understanding the CSS Box Model and Positioning
- Lesson 11 Using CSS to Do More with Lists, Text, and Navigation
- Lesson 12 Creating Layouts Using Modern CSS Techniques
- Lesson 13 Taking Control of Backgrounds and Borders
- Lesson 14 Using CSS Transformations and Transitions
- Lesson 15 Animating with CSS and the Canvas
- Part IV: Responsive Web Design
-
Part V: Getting Started with Dynamic Sites
- Lesson 19 Understanding Dynamic Websites and HTML5 Applications
- Lesson 20 Getting Started with JavaScript Programming
-
Lesson 21 Working with the Document Object Model (DOM)
- Understanding the Document Object Model
- Using window Objects
- Working with the document Object
- Accessing Browser History
- Working with the location Object
- More About the DOM Structure
- Working with DOM Nodes
- Creating Positionable Elements (Layers)
- Hiding and Showing Objects
- Modifying Text in a Page
- Adding Text to a Page
- Summary
- Q&A
- Workshop
- Exercises
-
Lesson 22 Using JavaScript Variables, Strings, and Arrays
- Using Variables
- Understanding Expressions and Operators
- Data Types in JavaScript
- Converting Between Data Types
- Using String Objects
- Working with Substrings
- Using Numeric Arrays
- Using String Arrays
- Sorting a Numeric Array
- Using Functions
- Introducing Objects
- Using Objects to Simplify Scripting
- Extending Built-in Objects
- Using the Math Object
- Working with Math Methods
- Working with Dates
- Summary
- Q&A
- Workshop
- Exercises
- Lesson 23 Controlling Flow with Conditions and Loops
- Lesson 24 Responding to Events and Using Windows
- Lesson 25 JavaScript Best Practices
- Lesson 26 Using Third-Party JavaScript Libraries and Frameworks
- Part VI: Advanced Website Functionality and Management
- Index
Product information
- Title: Sams Teach Yourself HTML, CSS, and JavaScript All in One, Third Edition
- Author(s):
- Release date: November 2019
- Publisher(s): Sams
- ISBN: 9780135167069
You might also like
book
Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day, Covering HTML5, CSS3, and jQuery, 7th Edition
Thoroughly revised and updated with examples rewritten to conform to HTML5, CSS3, and contemporary web development …
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
Head First HTML and CSS, 2nd Edition
Tired of reading HTML books that only make sense after you're an expert? Then it's about …
video
Learning HTML & CSS
Your complete HTML & CSS video course: Learn the fundamentals of HTML and CSS, and master …