Website Creation in Plain English Outline
Back to the Main Page
- Beginning
- Prologue
- Content
- Likely-To-Be-Asked Questions
- So You Want To Print These Pages
- Page Breaks
- Graphic Sizes
- Saving Your Settings
- Acknowledgements
- Table Of Contents
- (eXtensible) HyperText Markup Language
- Introducing (X)HTML
- What HTML And XHTML Are
- How HTML and XHTML Differ
- A Bit Of History
- A Few Quick Definitions
- Some Advice
- The Basics Of Markup
- Elements
- Tags
- The Anatomy of a Tag
- The Symbols
- The Name
- Nesting Elements
- Element Ancestry
- Root Element
- Ancestor Elements
- Parent Elements
- Sibling Elements
- Child Elements and Descendant Elements
- Document Type Declarations
- XML Declaration
- Editing Tools
- Your First Webpage
- Starting Off
- The HTML Doctype
- Eight Basic Elements
- The (X)HTML Root Element
- The Head Element
- The Title Element
- The Body Element
- Four Common Body Elements
- Block Elements
- The First-Level Header Element
- The Paragraph Element.
- Inline Elements
- The Emphasize Element.
- The Strong Element.
- Building Your Webpage
- Final Notes
- Validation
- On the Character Encoding Warning
- Special Characters
- How To Create A Character Reference
- Numerical Character References
- Decimal
- Hexadecimal
- Numerical Character References You May Not Use
- Character Entity References
- Character Entity References Specific To HTML
- Character Entity References And XML-Derived Languages
- Attributes
- Anatomy of an Attribute
- Where To Put An Attribute
- What To Avoid
- Common Attributes
- The Core Attributes
- The
title
Attribute
- Usage
- The
class
Attribute
- Usage
- Rules of Class Names.
- The
style
Attribute
- Usage
- The
id
Attribute
- Usage
- Rules of ID Names
- Valid ID Values
- Invalid ID Values And The Reasons
- ID Examples
- A Final Note on
class
And id
- Language Attributes
- The
lang
Attribute
- Usage
- The
dir
Attribute
- Usage
- Sample Languages
- Other Attributes
- The
xmlns
Attribute
- Hyperlinks
- Hyperlinks And URIs
- Absolute URIs.
- The Protocol
- The Domain
- The Path
- The File Name
- Relative URIs
- The Path in a Relative URI
- Errata
- When to use Absolute or Relative URIs
- Telling the difference
- URIs And Special Characters
- Character References In URIs
- Percent-Encoding
- Creating A Hyperlink
- The
a
Element
- The
href
Attribute
- Usage
- Links Off The World Wide Web
- Other Protocols
- Email Links
- Example Hyperlinks
- Empty Elements And Semantics
- Empty Elements
- The Horizontal Rule Element
- The Image Element
- Why Empty Elements Are Empty
- XML And Empty Elements
- Semantics
- Comments, HTML, Head and its Children, Body
- Comments
- The (X)HTML Root Element
- Required Attributes
- Implied Attributes
- The Head Element
- Implied Attributes
- The Metadata Element
- Implied Attributes
- Required Attributes
- Specifying Character Encoding
- The Link Element
- Implied Attributes
- The Base URI Element Element
- Required Attributes
- The Title Element
- Implied Attributes
- The Body Element
- Implied Attributes
- On To The Body Elements
- Inline Elements
- About The Attributes
- Common Attributes
- Specialized Attributes
- The Text Span Element
- The Phrase Elements
- The Abbreviation Element
- The Acronym Element
- The Citation Element
- The Code Fragment Element
- The Definition Element
- The Emphasis Element
- The Keyboard Input Element
- The Sample Output Element
- The Strong Text Element
- The Variable Element
- The Presentational Elements
- Replacing Presentational Elements.
- The Bold Element
- The Big Text Element
- The Italic Element
- The Small Text Element
- The Teletype Text Element
- Specialized Elements
- The Anchor Element
- Implied Attributes
- The Bi-Directional Override Element
- Required Attributes
- The Line Break Element
- Forbidden Attributes
- The Button Element
- Implied Attributes
- The Deleted And Inserted Text Element
- Implied Attributes
- The Image Element
- Required Attributes
- Implied Attributes
- The Quotation Element
- Implied Attributes
- The Subscript Element
- The Superscript Element
- Common Block Elements
- The Paragraph Element
- The Address Element
- The Header Elements
- The Horizontal Rule Element
- The Preformatted Text Element
- The Division Element
- The Block Quote Element
- Implied Attributes
- The Deleted and Inserted
Text Elements
- As Inline Elements
- As Block Elements
- On More Block Elements
- Lists
- Item Lists
- The List Item Element
- The Unordered List Element
- Example Unordered List
- The Ordered List Element
- Example Ordered List
- Definition Lists
- Definition List Element
- Definition Term Element
- Definition Description Element
- Example Definition List
- Lists and Links
- Unordered Lists
- A Sample Navigation List
- Ordered Lists
- A Sample Navigation List Using an Ordered List
- Definition Lists
- A Sample Link List Using an Definition List
- Lists within lists
- Image Maps
- Image Map Elements
- The Image Map Element
- Required Attributes:
- The Map Area Element
- Required Attributes:
- Implied Attributes:
- Modifying The Image Element
- Image Map Example
- Image Map Drawbacks
- If The Image Doesn't Appear
- Server Side Image Maps
- (X)HTML Objects
- Object Elements
- The Object Element
- Implied Attributes
- Where Object Elements Go
- The Object Parameter Element
- Required Attributes
- Implied Attributes
- Forbidden Attributes
- Demonstrating Objects
- Embedding a Webpage
- Embedding SVG Images
- Embedding Flash Animations
- Other Media
- Tables
- Simple Tables
- Table Elements
- The Table Element
- Implied Attributes
- The Table Caption Element
- The Table Row Element
- The Table Header Cell and Table Data Cell Elements
- Implied Attributes
- An Example Table
- Complex Tables
- Table Section Elements
- The Table Header Element
- The Table Footer Element
- The Table Body Element
- Table Columns
- The Column Element
- Implied Attributes
- The Column Group Element
- Implied Attributes
- Usage Of
colgroup
And col
Elements
- An Example Complex Table
- More Than (X)HTML
- Presentation
- Behavior
- Cascading Style Sheets
- Introduction to CSS
- Why Use CSS?
- Before CSS: Presentational Markup
- Code Bloat
- Accessibility Problems
- Redesigning With Presentational Markup
- Print-Friendly Pages
- The Advantages Of CSS
- Lack of Code Bloat
- Greater Accessibility
- Redesigning With CSS
- Print-Friendly Style Sheets and Other Media
- Who Supports CSS?
- A Note On Demonstrated Code
- Syntax Of And Using CSS
- Syntax of CSS
- Adding CSS Comments
- Adding Style Sheets
- Internal Style Sheets And The Style Element
- Required Attributes
- Implied Attributes
- Forbidden Attributes
- The
style
Element In XHTML
- External Style Sheets
- Linking To An External Style Sheet
- Setting The Default Style Language
- Arranging A Style Sheet
- CSS Selectors
- Basic Selectors
- Type Selectors
- Class Selectors
- Identity Selectors
- Other Selectors
- The Universal Selector
- Attribute Selectors
- Selecting By Attribute Presence
- Selecting By Attribute Value
- Variations
- Pseudo-Classes
- Hyperlink Pseudo-Classes
- Dynamic Pseudo-Classes
- The Child Pseudoclasses
- The Nth-Child Pseudo-Classes
- :lang()
- :not()
- Pseudo-Elements
- :first-line and :first-letter
- Compound Selectors
- Selecting According To Nesting
- Ancestor/Descendant
- Parent/Child
- By Preceding Sibling
- Mixing The Above
- Other Examples
- Tables And Nesting
- Multiple Selectors
- Final Notes
- CSS Value Types
- Colours
- The named colours
- Red, Green, And Blue: The Primary Colours of Light
- Hexadecimal Notation
- Compact Hexadecimal
- RGB Notation
- HSL Notation
- Colour Transparency
- On URIs
- Length
- Absolute Lengths
- Relative Lengths
- Degrees
- Inheritance And The
inherit
Property
- A Quick Note on Default Values
- Font And Text
- Font Properties
- The Font
- Generic Fonts
- Specific Fonts
- Style
- Variant
- Weight
- Size
- Absolute Font Sizes
- Relative Font Sizes
- Font Sizes By Length
- Font Sizes By Percentage
- The Collective Font Property
- Using The font Declaration
- Text Properties
- Indentation
- Alignment
- Underline, Overline, Strike-through, and Blink
- Capitalization
- Other Properties For Text
- Colour
- Line Spacing
- As A Number
- As A Length
- As A Percentage
- Letter and Word Spacing
- Borders, Padding, And Margins: The CSS Box Model
- Short-hand Expressions
- The Border
- Border Width
- Border Colours
- Border Style
- Shorthand Border Notation
- The Padding
- The Margin
- CSS Backgrounds
- Background Colour
- Background Images
- The Background Image
- How The Background Is Repeated
- Background Image Position
- Keywords
- Numerically
- Percentage
- Length
- Example Page With Centered Background
- Background Image Behavior
- Background Shorthand
- Image Rollover Effect
- CSS For Lists
- List Style Type
- Unordered List Style Types
- Ordered List Style Types
- Limitations Of Numbered Lists
- List Style Position
- List Style Image
- List Style Shorthand
- CSS-Generated Content
- Text
- Special Characters in CSS
- Issues With CSS NCRs
- Concatenation
- Text From Attributes
- Counters
- (Re)Setting a Counter
- Not Resetting A Counter
- Making a Counter Count
- Putting a Counter To Work
- Counter Number Style
- Quotation Marks
- Images
- Pseudoelements In This Manual
- Chapter And Appendix Reference Links
- Headers, Examples, Images, And Tables
- Arranging the Page
- Element Display
- Height and Width
- Content Overflow
- Position
- position:absolute;
- position:fixed;
- position:relative;
- Float
- Clear
- Making It All Work
- How I Styled The Initial Letter Of This Chapter
- A Specially-Styled Menu
- CSS For Printing
- Page Selectors
- Page Psuedo-Classes
- Page Breaks
- Breaking Before or After An Element
- Breaking Inside An Element
- Widows and Orphans
- CSS For Audio Media
- The Properties Of Audio CSS
- Importing Stylesheets
- Syntax Of Importing
- Importing Versus Linking
- JavaScript
- Dynamic Behavior And Scripting
- What Does Scripting Do?
- The Script Element
- Required Attributes
- Implied Attributes
- Forbidden Attributes
- The No Script Element
- Introducing JavaScript
- Comments
- Procedures and Objects
- Functions And Methods
- Objects
- Setting The Default Scripting Language
- The Document Object Model
- DOM Nodes
- Node Types
- The Document Node
- Element Nodes
- Attribute Nodes
- Text Nodes
- Text Nodes And Child Elements
- Character Data Section Node
- Document Type Node
- Accessing Nodes
- Accessing The Document Node
- Accessing Element Nodes
- By ID
- By Tag Name
- Picking From The List
- What Won't Work
- Accessing Attribute Nodes
- Internet Explorer and Element Class
- Accessing Text Nodes
- Navigating The Nodes
- Manipulating Text Nodes
- Cautionary Notes
- Script Placement
- On Text Nodes
- The
tbody
Element And HTML DOM
- Variables
- Declaring A Variable
- Variable Names
- Values
- Assigning Nodes
- Arrays
- Assigning Values To An Array
- Arrays Within Arrays
- Working With An Array
- Arrays Vs. Element Node Lists
- The Index of an Array
- Changing The Value Of A Variable
- Variables and Procedure Calls
- Text
- Creating Strings
- Concatenating Strings
- Adding Text To A String
- Concatenation Shorthand
- String Methods
- Substring Methods
split
substr
substring
& slice
- Case Methods
- Search Methods
indexOf
, lastIndexOf
, & search
match
replace
- Strings As Arrays
- Converting a value to a string
- Special Characters
- Regular Expressions
- Regular Expression Terms
- Creating A Regular Expression
- Using Regular Expressions
- Checking Against Two Different Patterns
- Groups Of Characters
- Character Ranges
- Ranges and extra characters.
- Excluding Characters
- Special Characters In Regular Expressions
- Subpatterns In Regular Expressions
- Repetition In Regular Expressions
- Flags In Regular Expressions
- Numbers and Math
- Basic Mathematics
- Math Operators
- Math With Variables
- Adjusting A Variable's Value
- Shorthand
- Incrementing And Decrementing
- More Complex Equations
- Mathematical Constants
- Mathematical Procedures
- Standalone Functions
- Math Methods
- Rounding Methods
- Rounding to Something Else
- The
toFixed
Method
- Getting Around A JavaScript Glitch
- A Little Trick
- Decisions
- If Statements
- Special Characters
- Comparison Operators
- Automatically False
- Simple If Statements
- if/else Statements
- If/Else Shorthand
- Advantages of Shorthand Statements
- Disadvantages of Shorthand Statements
- If, Else If, Else
- Nested If Statements
- If Statements and Strings
- Multiple Conditions
- The Order Of Subconditions
- If Statements And Regexes
- The Confirm Dialogue Box
- Switch Statements
- Loops
- Loop Syntax
- While Loops
- Do-While Loops
- Nodes and While Loops
- For Loops
- For Loops And Arrays
- For Loops and Node Lists
- For-In Loops
- Nesting Loops
- Fixing Examples With Loops
- Procedures
- Where To Put A Procedure
- Creating A Procedure
- Getting Something Out Of The Procedure
- Returning Multiple Values
- Procedure Variables
- Procedures and Variable Scope
- Nesting Procedures
- Recursive Procedures
- Procedures As Conditions
- JavaScript Objects
- Object Creation
- Directly Creating An Object
- Direct Creation Shorthand
- Creating An Object Through A Template
- Adding Methods
- Nesting Objects
- Getting Object Info
- Objects And Loops
- Events
- The Events
- Assigning An Event
- Assigning Through A Loop
- Assigning Through An Object Template
- JavaScript Styling
- JavaScript vs. CSS
- Demonstrations
- Collapsing Menu
- Adding Another Mouse Event
- Adding A Special Element
- Dropdown Menus
- Tabbed Menus
- The Illusion of Tabs
- (X)HTML Forms
- How JavaScript Accomodates Forms
- The Name Attribute
- The Value
- The Form Element
- Required Attributes
- Implied Attributes
- Entering Data
- Common Attributes
- The Input Element
- Input Types
- Text and Password Boxes
- Attributes for Text And Password Boxes
- Getting Text From Text And Password Boxes
- Checkboxes and Radio Buttons
- Attributes for Checkboxes And Radio Buttons
- Getting A Value From Radio Buttons And Checkboxes
- Buttons and Reset Buttons
- Others
- The Text Area Element
- Required Attributes
- Implied Attributes
- Using A Text Area
- Dropdown Menus
- The Select Element
- Implied Attributes
- The Option Element
- Implied Attributes
- The Option Group Element
- Implied Attributes
- Using A Dropdown Menu
- Labelling And Arranging The Form
- The Label Element
- Implied Attributes
- The Fieldset Element
- The Field Legend Element
- Example Form
- Manipulating Forms
- DOM Manipulation
- Text and Element Nodes
- Creating Nodes
- Creating An Element Node
- Creating A Text Node
- Placing Nodes
- Appending Nodes
- Inserting Nodes
- Generating Any Number Of Nodes
- Removing Nodes
- Replacing Nodes
- Manipulating Tables
- Attribute Nodes
- Setting Attributes
- Removing Attributes
- Using This To Your Styling Advantage
- JavaScript Hover Effects
- Image Rollover Effects With JavaScript
- Preloading An Image
- Mimicking
:hover:after
- Other Things You Can Do With The DOM
- Document URI
- Filtering DOM Nodes
- Browser Peculiarities
- Creating The First Page With JavaScript
- More About Website Building
- Transitional, Obsolete, and Proprietary HTML
- Transitional (X)HTML
- Transitional Elements
- Transitional Attributes
- Obsolete HTML
- Proprietary HTML
- Frames
- The Structure Of A Frames Page
- The Elements Of A Frames Page
- The Frame Set Element
- Implied Attributes
- Forbidden Attributes
- The Frame Element
- Implied Attributes
- Forbidden Attributes
- Targetting A Frame
- The No Frames Element
- Using Frames
- Nested Framesets
- The Inline Frame Element
- Implied Attributes
- Forbidden Attributes
- Coding Shortcuts And Other Things
- Coding Shortcuts
- Optional Tags
- Attribute Shortcuts
- HTML Conditionals
- The
javascript:
Pseudoprotocol
- XML And HTML5
- An Overview of XML
- Rules Of XML
- XML Processing Instructions
- An Example of XML
- Combining XML Languages
- Combining XML And Validation
- Namespaces In CSS
- HTML5
- Server-Side Scripting
- Server-Side Includes
- Dynamic Content
- Server-Side Programming Languages
- Tips And Tricks Of Website Design
- Design Tips
- Consistency Is Good
- Contrast Is Important
- Clean Code Isn't Everything
- This Book Does Not Teach Everything
- Design Tricks
- Appendices
- The Periodic Table of (X)HTML Elements
- The Deprecation of (X)HTML Elements
- Attributes
- The Elements Of HTML 4.01/XHTML 1.0 Strict
- Deprecated (X)HTML Elements
- Frameset Elements
- Obsolete HTML Elements
- The First 256 Characters Of UTF-8
- The Characters
- Control Characters
- ASCII Control Codes
- ISO-8859-1 Control Codes
- Named CSS Colours
- Picking Apart The Doctype
- Make Your Own Character Entity References
- Common Markup Languages
- HTML
- XML
- W3C Document License
- Statuses of Relevant W3C Documents
- CSS 2.1 Status
- HTML 4.01 Status
- HTML 5 Status
- XHTML 1.0 Status
- The Main Stylesheet For This Book
- Sheet Outline
- Import chapter_numbers.css
- HTML Element
- Headers
- Lists
- Item Lists
- Definition Lists
- Paragraphs
- Block Quotes
- Tables
- Language Classes
- Coding
- Inline HTML Code
- Inline CSS Coding
- Inline JavaScript Coding
- Code Examples
- Graphics
- Example Links
- References to Chapters and Appendices
- General Styles
- First Letter
- Bibliography
- Glossary