Written as an illustrated, step-by-step guide for beginners, this book will introduce you to HTML and CSS with lab exercises and examples of code.
You'll begin by setting up the development environment such as local web server and html editor. The next few chapters cover web servers, the basics of HTML such as language syntax, tags, and how to write a program. Next, you'll learn how to put together simple web pages demonstrating how the code works and how to use various HTML tags and CSS to style the pages. Finally, the use of CMS to build websites such as Drupal and WordPress and how HTML and CSS fits in. At the end there are reference libraries for both HTML tags and CSS.
The Absolute Beginners Guide to HTML and CSS provides you with the tools, confidence, and inspiration to start building web pages and websites. If you are a programmer, developer or a student, or just someone who wants to learn on their own, this book is for you.
What You'll Learn
Understand basic computer programming concepts
See how to use HTML and CSS to build web pages
Apply the syntax of HTML and CSS
See how HTML and CSS fits into CMS systems such as Drupal and WordPress
Who This Book Is For
Software programmers, developers, students, and anyone who wants a quick reference for HTML and CSS
Author(s): Kevin Wilson
Publisher: Apress
Year: 2023
Language: English
Pages: 244
Table of Contents
About the Author
About the Technical Reviewer
Introduction
Chapter 1: Getting Started
Linking Pages Together
Where Are Web Pages Stored?
What Is a URL?
Index Pages
HTML5
What Is CSS?
Hosting
Installing Our Web Server
Starting the Web Server
Saving Your Web Pages
Local Machine
Using a Web Host
Development Tools and Code Editors
Lab Demo
Lab Exercises
Summary
Chapter 2: Introduction to HTML
Structure of an HTML Page
HTML Element Structure
Metadata
Lab Exercises
Summary
Chapter 3: Getting Started with HTML
Setting Up
Elements for Formatting Text
Headings
Paragraphs
Bold Text
Italic Text
Page Background Color
Text Color
Fonts
HTML Entities
Adding Images
Understanding Image Dimensions
Image Alignment
Background Image
Adding Tables
Adding Links
Using Images As Links
Preserve Formatting
Adding Lists
Unordered List
Ordered List
Structuring Your Web Page
Lab Exercises
Summary
Untitled
Chapter 4: Cascading Style Sheets
External CSS Files
CSS Syntax
Element Type Selector
Class Selector
ID Selector
Universal Selector
Grouping Selectors
Styling Text
Specifying Colors
Keyword
Hex Value
RGB Value
Understanding Measurement Units
Padding, Margins, and Borders
Layouts
Flexbox
Putting Flexbox into Practice
CSS Grid
Putting CSS Grid into Practice
Responsive Grid Layouts
Lab Exercises
Summary
Chapter 5: Special Effects
Text Effects
Rounded Image Corners
Buttons
Gradients
Lab Exercises
Summary
Chapter 6: Multimedia
Adding Video
Adding Audio
Adding Image Maps
Lab Exercises
Summary
Chapter 7: HTML Forms
Adding Forms
Input Types
Text Fields
Text Area
Radio Buttons
Checkbox
Select List
Labels
Submit Button
Building a Form
Styling a Form
Processing the Form Data
Configure the Web Server to Execute Scripts
Executing the Script
Submission Method
Get
Post
Lab Exercises
Summary
Untitled
Chapter 8: Introduction to JavaScript
JavaScript Syntax
Statements
Blocks
Identifiers
Keywords
Comments
First Program
Lab Exercise
Summary
Chapter 9: Content Management Systems
Set Up WordPress on Our Server
Web Development Frameworks
Summary
Appendix A: HTML Element Reference
A
B
C
D
E
F
H
I
K
L
M
N
O
P
Q
S
T
U
V
W
Appendix B: CSS Selector Reference
A
B
C
D
F
H
I
J
K
L
M
O
P
R
S
T
U
V
W
Appendix C: CSS Color Codes
Index
Capture.PNG
Capture.PNG