Candyce Mairs

Candyce Mairs

Validating Form Data

Slide Duration:

Table of Contents

Section 1: Course Introduction
What is Dreamweaver?

3m 15s

Intro
0:00
Dreamweaver Introduction
0:07
Dreamweaver Interface
0:32
Code View
0:48
Design View
1:04
Preview in Browser
1:08
Adobe Products
1:29
Panels and Menus
1:47
Summary
2:31
How to Use the Project Files for this Course

3m 42s

Intro
0:00
Course File Instructions
0:08
Extras Folder
1:46
Summary
2:44
Section 2: Introduction to the Web
URL Basics

5m 53s

Intro
0:00
Domain Name
0:22
Protocol
1:34
Folders and Website Files
2:54
Web page file extension
4:33
Client Server Environment

6m 39s

Intro
0:00
Web Server Example
0:21
Port Number
2:17
Browser Environment
3:45
Other Browsers
4:31
Summary
5:07
Static vs. Dynamic Pages

4m 56s

Intro
0:00
Static Page Request Process
0:30
Dynamic Page Request Process
1:32
Application Server
2:24
Server Side Languages
3:01
Summary of Differences between Static and Dynamic
3:44
Separation of Content & Presentation

6m 35s

Intro
0:00
Three Parts of a Browser
1:15
HTML - Page Structure
1:25
CSS - Styling
2:16
JS - User Interactivity
4:29
Interpreters
5:24
Summary of the Three Parts of a Browser
6:03
Planning the Website Development Process

5m 8s

Intro
0:00
Design Development process
1:24
Initiate Project Process
1:55
Site Development Process
2:08
Project Planning Documents

5m 8s

Intro
0:00
Project Plan
1:16
Design Document Questionnaire
1:45
Design Document Items
2:25
Homepage Wireframe
2:42
Website Wireframe
3:12
Login Process Flowchart
3:35
HTML Naming Conventions

6m 46s

Intro
0:00
Examples of Different Naming Conventions
0:49
Headless Camel Casing
2:34
File Extension Options
4:22
Summary of Naming Conventions
5:25
Creating the Page Designs

5m 44s

Intro
0:00
Examples of Page Designs and Programs
0:40
Photoshop Example
1:27
FireWorks Example
2:11
JPEG Format Example
4:25
Copyright on the Web

3m 30s

Intro
0:00
Copyright Law Links
0:50
Copyrighted Page
1:26
Website Accessibility & the 508 Standard

6m 4s

Intro
0:00
Accessibility Definition
1:53
Accessibility Features
2:30
Four Principles of Accessibility
3:30
Section 3: Working in the Browser
HTML Versions & DOCTYPE

8m 25s

Intro
0:00
XHTML Document Type
0:37
Set Default Document Type
2:31
HTML 5 Document Type and Comparison
4:21
Browser Differences

8m 28s

Intro
0:00
Testing Different Browsers
1:10
Google Analytics
3:36
Browser Developer Tools

6m 11s

Intro
0:00
Google Chrome Developer Tools
0:15
Firefox Web Console
1:32
Internet Explorer Developer Tools
2:34
Change Browser Mode
2:49
Quirks Mode
4:31
CSS Viewer
5:16
Additional Browser Tools

7m 36s

Intro
0:00
Web Developer Toolbar
0:53
View Document Size
1:34
Populate Form Fields
2:24
ColorZilla
2:54
Firefox Extensions
3:53
Install Extension
4:46
Customize Toolbar
5:41
Using Firebug for CSS/JS

5m 50s

Intro
0:00
Installing Firebug
0:28
Firebug Tabs
2:30
JavaScript Console
2:36
HTML Tab
2:47
CSS Tab
3:35
Inspect Elements
3:58
Link to Firebug
5:21
Section 4: The Dreamweaver Interface
The Workspace Switcher

5m 31s

Intro
0:00
Workspace Templates
0:28
Reset Workspace
1:47
Classic Workspace
2:25
Workspace Switcher
3:06
Manage Workspaces
3:35
New Workspace
3:43
Dreamweaver Interface Overview

6m 29s

Intro
0:00
Menus
0:43
Create New HTML
1:33
Design View
1:49
Insert Bar and Tabs
2:21
Document Window
3:24
Properties Tab
4:11
Panels
5:05
Overview and Summary
5:21
Navigating the Interface

8m 14s

Intro
0:00
Modify/Customize Panels
0:44
Move Panels
3:53
Rearrange Panels
4:42
Open and Close Properties Tab
7:13
Dreamweaver Preferences

4m 10s

Intro
0:00
General Preferences
0:23
Allow Multiple Consecutive Spaces
0:44
Fonts
1:09
New Document
1:43
Preview in Browser
2:43
Insert Bar & Insert Menu

4m 26s

Intro
0:00
Create New HTML
0:16
Insert Bar
0:46
Forms Tab
1:03
Common Tab
1:18
Insert Menu
1:39
Insert Bar within Designer Workspace
3:36
Working in Code View

7m

Intro
0:00
Example Page
0:26
Coding Toolbar
1:13
Apply HTML Comment
3:57
Remove Comment
4:39
Properties Area
4:56
Line Numbers
5:58
Summary
6:08
Installing Additional Browsers in Dreamweaver

5m 50s

Intro
0:00
Edit Browser List
0:56
Add a browser
1:49
Set Secondary Browser
3:58
Select Preview in Browser
4:42
Section 5: Getting Started
Defining a Site in Dreamweaver

11m 18s

Intro
0:00
Manage Sites
1:38
Create a New Site
2:57
Files Panel
6:16
Rearranging Site Files
7:10
Local View
9:40
Summary
10:14
The Importance of the Files Panel

7m 2s

Intro
0:00
Blank Example Site in Files Panel
0:13
Files Panel Options
0:59
Edit Menu
2:06
View Menu
2:22
Site Menu
2:30
Delete Files
2:51
Rename File
3:54
Files Refresh
5:31
Section 6: Creating a Page Using a Pre-Defined Layout
Pre-Defined CSS Layout Options

8m 21s

Intro
0:00
Course Files
0:21
Files in Files Panels
1:37
New Document
2:38
Page Type
3:14
Layout Options
3:21
Creating a Pre-Defined CSS Layout Page

7m 18s

Intro
0:00
New HTML5 Layout Page
0:49
Preview in Browser
2:28
Save Page
2:43
Browser Preview
4:35
Page in Files Panel
5:12
Building the Header Area

15m 39s

Intro
0:00
Code View and Comments
0:40
Customizing the Header
1:22
Removing Image Placeholder
2:36
Select Regions
3:38
Adding Text
3:55
Set Page Title
4:24
CSS Styles Panel
7:31
Edit Header Color
8:39
Edit Header Text
9:58
Add CSS Style Rule
11:15
Rule Definition
12:35
Summary
14:36
Modifying the Navigation Column, Part 1

9m 1s

Intro
0:00
Modifying the Side Bar
0:23
Tag Selection
1:07
Changing Position and Background Color
2:04
Changing Text Color
4:59
Changing Hover Text and Background Color
6:49
Summary
8:17
Modifying the Navigation Column, Part 2

10m 36s

Intro
0:00
Modifying the Side Bar
0:30
Editing Link Text
0:34
Correcting Mistakes
1:20
Inserting an Image
3:52
Fixing Format Errors
5:08
Modifying the Header
7:28
Add new Margin Property
8:03
Summary
9:52
Adding Content to the Page

9m 42s

Intro
0:00
Modifying the Main Content Area
0:23
Removing Content
1:15
Inserting Code and Content
2:35
Page and Text Formatting
4:30
Summary
9:21
Modifying the Footer Area

7m 38s

Intro
0:00
Modifying the Footer
0:22
Footer Tag
0:31
Changing the Background Color
1:36
Customizing Text
2:22
Customize Address Tag
3:42
Preview in Safari
5:46
Format Troubleshooting
6:09
Changing the Page Background Color

4m 41s

Intro
0:00
Modify Background Color
1:01
CSS Short Hand
1:39
Save Command Shortcut
2:53
Browser Preview
3:10
Summary
4:03
Section 7: Building a Web Page from Scratch
HTML Page Code

5m 58s

Intro
0:00
HTML5 Page
0:41
Change Default Doctype to HTML5
1:16
HTML5 Code
2:39
Head Section Code
3:01
Title Tag Code
3:41
Importance of Code View
4:16
Summary
5:12
Creating a New Page

4m 34s

Intro
0:00
Keyboard Shortcut to Create New Page
0:49
Saving a New Page
1:21
Create New Page with New Document
3:27
The Importance of a Title

4m 43s

Intro
0:00
Importance of a Title on a Page
0:10
New Document
0:17
Save Document
0:35
Preview in Chrome
0:52
Default Bookmark Title
1:13
Search Engine Optimization
1:35
Preview in Firefox
3:35
Section 8: Adding Text Content
Discovering Paste Special

11m 1s

Intro
0:00
Paste Special Command from Word
1:05
Create New and Save
1:22
Paste Special with Full Formatting
2:44
Clean Up Source Code
4:42
Paste Special with Basic Formatting
5:34
Paste Special with Structure Only
6:30
Paste Special with Text Only
7:29
Change Paste Preferences
8:06
Importing a Word Document

3m 52s

Intro
0:00
Create New and Save
0:42
Add Title
1:11
Import Word Document
1:32
Summary
2:38
Setting Headings

6m 17s

Intro
0:00
Create New and Save
0:17
Add Title
0:40
Add Text
0:47
Insert Heading Tags into Text
1:55
Importance of a Heading Tag
2:43
Paragraphs & Line Breaks

8m 25s

Intro
0:00
Paragraph Tags
1:11
Selecting Text
3:14
Insert Line Break Tag
4:05
Creating a Bulleted List

10m 31s

Intro
0:00
Formatting Content
0:42
Add Title
1:07
Insert Heading Tag
1:39
Creating a List
2:13
Creating an Unordered List
3:07
Example of Incorrect List Formatting
3:23
Creating Nested Lists
5:16
Indent List
5:59
Changing List Type
7:50
Change to Numbered List
8:37
Change Bullet Type
9:04
Creating a Numbered List

4m 21s

Intro
0:00
Formatting Content
0:20
Merging Multiple Lines into Paragraph
1:03
Inserting Header Tag
1:34
Create Numbered List
2:36
Create Ordered List
3:08
A Definition List

4m 27s

Intro
0:00
Creating a Definition List
0:30
Select Text
1:11
Create Definition List from Format Menu
1:29
Definition List Tags
3:21
Setting Bold & Italics

6m 12s

Intro
0:00
Add Bold and Italics to Definition List
0:12
The Destinations Page
0:23
Making Terms Bold
1:12
Bold Tag Information
1:42
Making Definition Italic
4:02
Summary
5:41
Inserting Special Characters

7m 23s

Intro
0:00
ASCII Characters
0:12
Create Copyright Message
2:10
Insert Copyright Symbol
3:23
Section 9: CSS Basics
What is CSS?

6m 3s

Intro
0:00
Cascading Style Sheets
0:05
Example CSS Layouts
0:59
Turning CSS Off Examples
3:27
The Syntax for a CSS Rule

9m 24s

Intro
0:00
Create New and Save
0:27
Add Title
1:05
Adding CSS Styles to a Page
1:18
Dragging Tags
2:24
Placing Content
2:48
Adding a Selector
3:28
Creating Style Rules
4:16
Properties and Values
7:19
CSS Syntax Examples
7:53
CSS Rule Locations

9m 3s

Intro
0:00
Three Locations for Placing Style Rules
0:31
Inline Rule
0:58
Internal or Embedded Rule
1:22
External Rule
1:41
Inline Style Rule
2:08
Internal or Embedded Style Rule
3:35
Examples of Internal/Embedded Style Rule
5:09
External Style Rule
5:59
Example of Linking a Style Sheet
7:13
Summary
8:40
Types of CSS Selectors

9m 51s

Intro
0:00
Three Main Selector Types
0:16
HTML Tag Selector Type
0:35
Class Selector Type
2:40
ID Selector Type
4:35
Selector Rules and Examples
7:17
HTML Tag Selector Example
7:46
Class Selector Example
8:09
ID Selector Example
8:28
Section 10: Formatting with Text Using CSS
Creating an Inline Style Rule

9m 54s

Intro
0:00
Code View for Creating an Inline Header Style
2:02
Creating a Font Type Style
3:14
Creating a Color Style
4:26
Creating a Font Size Style
5:16
Split Horizontally
6:06
Creating Paragraph Styles
7:00
Summary
9:17
Creating an Internal or Embedded Rule

10m 32s

Intro
0:00
Create New and Save
0:35
Add Title
0:45
Adding Text Content
1:26
Add New CSS Style Rule
5:44
Assigning Style Properties
6:56
Duplicate Style Rule
8:12
Modify Style Rule
8:46
Summary
10:17
Working with an External CSS File

9m 27s

Intro
0:00
Move CSS Rules to External Style Sheet
0:32
CSS File in Styles Panel
2:00
Remove Style Tag
2:35
External Style Sheet
2:46
Related Files Toolbar
3:13
Adding Additional Styles
4:53
Summary
8:56
Attaching a Style Sheet

6m 34s

Intro
0:00
Apply External Style Sheet to Another Page
0:56
Attach External Style Sheet
1:09
Apply Same Style Rules to Multiple Tags
2:39
Troubleshooting Style Problems
4:30
Summary
5:44
Creating a Class Selector

12m 29s

Intro
0:00
Create New and Save
0:16
Add Title
0:48
Adding Text Content
0:59
Attaching a Style Sheet
2:05
Adding and Formatting Headers
3:18
Creating a Class
4:27
New CSS Rule
5:24
Setting Class Definition
5:55
Applying a Class to Text
7:30
Troubleshooting Class Errors
7:55
Editing Class Properties
8:53
Edit Rule Definition
8:59
Other Methods for Applying Classes
9:42
Preview in Safari
11:10
Summary
11:53
Dreamweaver Style Tools

11m 14s

Intro
0:00
Code Navigator
0:30
Enable/Disable Styles Option
3:50
Comments Out Style Rule
5:02
Enable/Disable All
6:05
Live View
6:37
Live Code
7:56
Inspect
8:24
Summary
10:10
Section 11: Working with Fonts on the Web
Creating a Custom Font Stack

8m 58s

Intro
0:00
Create New Page
0:13
Properties Area
0:28
Edit Font List
1:36
Adding Style Rules to Content
5:17
Preview in Browser
6:55
Summary
8:35
Working with Web Fonts

5m 36s

Intro
0:00
Fonts Overview
0:07
Adobe Type Service
1:52
Google Fonts
2:40
Font Squirrel
3:26
Font Licensing
3:34
Summary
4:49
Using Google Fonts

13m 32s

Intro
0:00
Google Fonts
0:05
Access and Preview Fonts
0:29
Font Collection Area
2:50
Review Font
4:05
'Use Font' Feature
4:23
Adding Google Fonts
6:21
Adding New Style with Google Font
9:31
Preview in Browser
11:29
Summary
13:10
Adding Fonts from Fontsquirrel

18m 2s

Intro
0:00
Font Squirrel Fonts
0:08
Font Squirrel Website
1:23
Download Font Zip File
2:28
Extract Font File
3:04
Web Font Generator
4:23
Download Web Font Kit
6:38
Extract Web Font Kit
7:44
Working with Font Squirrel Fonts
8:20
HTML Font File Preview
9:29
CSS Font File
9:54
Copying over Font Styles
10:26
Adding Styles
11:56
Preview in Browser
12:40
Troubleshooting Errors
13:25
Adding more Styles
15:13
Preview in Browser
16:13
Summary
16:58
Section 12: Inserting Images
Web Image File Formats

16m 44s

Intro
0:00
Two Different Image Formats
0:43
Vector Graphics
0:52
Raster Images
2:05
Raster Image Formats
2:49
Three Types of Raster Image Formats
2:52
Optimization Process
3:48
GIF Image Format
6:27
JPG Image Format
8:49
PNG Image Format
9:39
Vector Graphics
11:40
Scalable Vector Graphics
12:35
Web Page Image Creation Tips
14:18
Summary
16:20
The Assets Panel

7m 32s

Intro
0:00
Assets Panel
0:35
Colors Used
1:54
URLs Outside the Website
2:21
Flash Files
2:38
Shockwave Files
2:56
Movie Files
3:13
Scripts, Templates, Library
3:29
Images Category
3:41
Inserting an Image & Alternate Text

9m 7s

Intro
0:00
Inserting an Image
0:40
Insert Image using Image Name
1:17
Inserting Alternate Text
1:27
Insert Image using Image Icon
3:09
Insert Image using Insert Button
5:23
Preview in Browser
7:11
Summary
8:31
The Difference between Alternate Text & Title

6m 22s

Intro
0:00
Image Alternate Text Explanation
0:10
Image Title Explanation
0:51
Add an Image Title
1:39
Preview in Browser
2:46
Editing Image Titles
3:06
Setting the Default Editors for Dreamweaver

6m 9s

Intro
0:00
Setting Default Image Editors
1:07
Set Preferences
1:16
Adding Image Editors
2:08
Set Primary Editor
3:39
Removing Editors
4:38
Editor Icon Shortcut
5:09
Summary
5:39
Incorporating Photoshop Smart Objects

6m 44s

Intro
0:00
Photoshop Smart Object Explanation
0:09
Inserting Image from Files Panel
0:27
Image Optimization
1:43
Editing with Photoshop
3:36
Update from Original
5:20
Summary
5:53
Section 13: Adding Video to Web Pages
Inserting Flash Files

8m 57s

Intro
0:00
Create New HTML Page
0:10
Inserting SWF File
0:37
Preview SWF File
3:00
Add SWF File
3:32
Autoplay and Loop Options
5:05
SWF File Flash Player Error Message
6:12
Copy Dependent Files
6:52
Summary
8:22
Inserting Flash Video

10m 19s

Intro
0:00
Add Flash Video using Insert Menu
1:51
Insert FLV
2:33
Browse File Location
3:10
Setting Controls Skin
3:32
Set Auto Rewind
6:28
Preview in Browser
7:29
Add a Title
8:22
FLV File Flash Player Error Message
8:44
Summary
9:04
Inserting HTML5 Video

14m 43s

Intro
0:00
Setting up an HTML5 Video
0:44
History of Videos on the Web
1:43
Video Coding
3:26
Video Tag
5:14
Controls
5:48
Poster for Video
6:00
Width and Height
6:24
Preview In Browser
6:40
Troubleshooting Video and Browser Issues
8:59
Insert FLV
11:36
Preview In Browser
12:02
Video Formats
13:15
Section 14: Creating Hyperlinks
Linking to Website Files

13m 46s

Intro
0:00
Creating Hyperlinks between Web Pages
0:30
Create New File
3:14
Assigning a Hyperlink using Point to File
5:01
Assigning a Hyperlink using Browse for File
7:21
Preview in Browser
7:48
Creating Hyperlinks to other Files
10:02
Features of Point to File
10:39
Preview in Browser
11:59
Linking Image to Web Page
12:47
Linking to Files Outside Your Website

7m 37s

Intro
0:00
Linking to a Website
0:45
Link Area
1:14
Open Link in New Tab
4:15
Another Link Example
5:39
Summary
6:25
Email Links

10m 20s

Intro
0:00
Creating an Email Link
0:21
Insert Email Link
1:02
Adding Subject Line Information
6:12
Adding CC Recipients
8:40
Summary
9:54
Named Anchors

10m 6s

Intro
0:00
Adding Links to Page Content
0:26
Insert Image
1:00
Creating Navigation Bar with Links
2:41
Insert Named Anchor
3:46
Linking to Anchor
5:10
Preview in Browser
6:31
Add Link to Top of Page
7:11
Image Maps/Hotspots

11m 45s

Intro
0:00
Creating an Image Map
0:47
Select Image
1:35
Image Map/Hotspot Tools
1:43
Link Hotspot
3:06
More Hotspot Tools
3:55
Preview in Browser
8:37
Troubleshooting Image Hotspots
9:34
Summary
10:53
Creating the Navigation Bar

5m 47s

Intro
0:00
Create New Contact Us Page
0:11
Add Title
0:37
Add Header
0:48
Add Text Content
1:19
Bulleted List
2:56
Create Hyperlinks to Pages
3:17
Assigning Links
4:22
Summary
5:38
Adding Styles for Hyperlinks

13m 20s

Intro
0:00
Basic Hyperlink Styles
0:36
Create New CSS Style
1:18
Selector Type
1:32
Selector Name
2:09
Set Font Family
3:14
Set Font Size
3:47
Text-transform
4:20
Set Color
4:31
Text Decoration
4:39
Set Line Height
4:55
Set Font Weight
5:29
Preview in Browser
5:47
Add Visited Link Style
6:38
Add Hover Link Style
8:40
Change Background Color
10:00
Add Active Link Style
11:26
Summary
12:37
Section 15: Positioning Content Using CSS
How to Use CSS for Page Layout

7m 51s

Intro
0:00
Page Layout Example
0:10
HTML Tasks
1:16
CSS Tasks
2:34
Code Examples
3:50
HTML Code Example
4:01
CSS Code Example
5:47
Understanding the Box Model

8m 33s

Intro
0:00
The Box Model Explanation
0:19
Add Padding
2:01
Add Border
3:43
Add Margin
4:01
Disabling Styles
6:15
Summary
8:17
Creating Boxes on the Page

11m 56s

Intro
0:00
Create New Page
0:07
Insert Div Tag Box
0:41
New ID CSS Rule
1:36
Assign Properties
2:50
Modify Box Properties
4:26
Insert Div Tag Box on Left
4:53
Set Insert Location
5:48
Assign Properties
6:25
Insert Div Tag Box on Right
7:13
New ID CSS Rule
8:16
Assign Properties
8:33
Code View of Boxes
9:14
Preview In Browser
10:00
Summary
10:43
Controlling Content Boxes Using CSS

14m 53s

Intro
0:00
Create New Page
0:18
Creating Divs with Matching IDs
0:32
Insert Div Tag
0:41
New ID CSS Rule
1:14
Assign Properties
1:47
Insert Header Div Tag
3:42
Assign Properties
4:56
Add Text
6:11
Building Navigation Bar
6:50
Insert Div Tag
6:57
Set Insert Location
7:00
Assign Properties
7:33
Add Text
8:31
Create Content Area
9:07
Insert Div Tag
9:15
Assign Properties
9:46
Modify Header Style
11:01
Add Float Property
11:39
Add Padding Property
12:20
Add Margin-Left Property
13:11
Summary
13:47
Section 16: Types of Positioning
Absolute Positioning

14m 51s

Intro
0:00
Absolute Positioning Introduction
1:15
Modifying Div Color
1:33
Code View of Elements
3:11
Delete Styles
3:52
Using Absolute Positioning
4:34
Add Position Property
5:42
Add Left Property
8:08
Adjusting Position and Width
10:04
Insert Right Div Tag
10:39
Assign Properties
11:07
Adjusting Position and Height
12:10
Summary
14:19
Exploring Floats

10m 50s

Intro
0:00
Float Property
0:05
Preview in Browser
1:14
Display Boxes
1:31
Float Left Property
4:32
Float Right Property
8:00
Summary
10:18
What is a Clear?

10m 34s

Intro
0:00
Div Float and Dimension Properties
0:44
Adding a Clear Property
6:50
Preview in Browser
8:32
Height Discussion
8:49
Summary
9:58
Fixed Positioning

10m 48s

Intro
0:00
Fixed Positioning Examples
0:11
Fixed Positioning with an Image
2:18
Current CSS Styles
2:38
CSS Text File
4:17
Preview in Browser
5:30
CSS Properties for Fixed Positioning
6:17
Preview in Browser
7:48
Z-Index
9:19
Summary
10:17
Section 17: Working With Tables
Creating a Table

9m 48s

Intro
0:00
Page Table Example
0:19
Correcting Tags
1:17
Creating a Table
3:11
Insert Table
3:46
Header Option
5:01
Non-Breaking Space
5:50
Add Content to Table
6:31
Summary
9:08
Customizing & Modifying Table Properties

13m 9s

Intro
0:00
Save Page
0:33
Modifying the Table
3:05
Table Widths
3:59
Select Table
5:17
Borders
6:01
Cell Padding
6:49
Select Column of Content
7:40
Remove Column
8:42
Add and Remove Rows
9:19
Merge Columns
11:10
Summary
12:45
Using CSS for Formatting Tables

11m 13s

Intro
0:00
Table Styling
0:33
Table Header Tag
1:16
Removing a Class
4:16
Content Styles
5:15
Preview in Browser
7:59
Fixing Table Size
8:39
Summary
10:53
Importing Spreadsheet Data onto a Page

12m 4s

Intro
0:00
Create and Save New Page
0:49
Locating Saved Files
1:14
Importing Spreadsheet Data
3:45
Import Excel Document
4:25
Delete/Merge Cells
5:57
Customizing Table Content
6:23
Importing Delimited Data
7:59
Import Tabular Data
8:34
Choosing a Delimiter
9:07
Table Formatting Options
9:31
Table Content Styles
10:24
Summary
11:16
Merging & Splitting Table Cells

10m 5s

Intro
0:00
Create and Save New Page
0:10
Insert Table
0:54
Table Options
1:05
Moving Cursor in Front of Table
4:04
Adding an Image
5:35
Moving a Table
6:29
Merging and Splitting Table Cells
7:41
Merging Cells
7:53
Splitting a Cell
8:42
Summary
9:12
Modifying Rows & Columns

5m 12s

Intro
0:00
Save Page
0:19
Hiding Table Widths
0:23
Modifying Rows and Columns
1:15
Insert Column
1:33
Moving through Cells
2:28
Tabbing into New Row
3:08
Deleting Rows
3:36
Summary
4:31
Aligning Table Content

4m 46s

Intro
0:00
Modifying Table Content
0:38
Table Tag Properties
0:46
Cell Alignment
2:11
Center Content in a Row
2:44
Align Content in a Column
3:21
Summary
4:01
Section 18: Creating Forms
Creating an HTML Form

9m 22s

Intro
0:00
Creating a Contact Us Form
0:52
Adding Content
1:20
Insert Form
2:24
Insert Text Field with Form Tag
3:54
Form Tag Properties
4:47
Summary
8:29
Text Field Elements

8m 37s

Intro
0:00
Adding a Field Set
0:26
Insert Field Set
0:51
Adding Name Text Field
1:35
Text Field Attributes
2:05
Text Field Tag Properties
3:46
Adding Email Text Field
4:58
Text Field Tag Properties
5:24
Preview in Browser
5:58
Summary
8:02
Radio Buttons & Select Lists

12m 23s

Intro
0:00
Adding more to the Field Set
0:26
Create another Field Set
1:29
Adding a Radio Button
2:25
Insert Radio Button Group
3:42
Radio Button Group Options
4:09
Set Initial State of Radio Button Group
6:52
Adding a Drop Down Menu
8:07
Insert Select (List/Menu)
8:29
Set Drop Down Menu Attributes
8:59
Edit List Values
9:38
Preview in Browser
10:46
Add Choose Prompt
11:11
Summary
12:07
Checkboxes & Submit Button

8m 9s

Intro
0:00
Adding a Field Set
0:36
Adding a Checkbox Group
1:33
Checkbox Group Attributes
2:14
Arrange Checkboxes
4:38
Adding a Submit Button
4:56
Submit Button Attributes
5:25
Submit Button Tag Properties
6:00
Preview in Browser
6:25
Summary
7:28
Validating Form Data

20m 58s

Intro
0:00
Form Field Validation Example
0:32
Client Side and Web Server Validation
2:54
Adding a Comment Section
6:14
Comment Text Field Attributes
7:04
Comment Text Field Tag Properties
7:34
Add Form Field Validation
8:47
Tag Inspector Area
8:54
Add Validate Form Behavior
10:00
Validate Form Behavior Attributes
10:17
Preview in Browser
11:56
HTML5 Form Field Features
14:56
Required and Autofocus Attributes
16:40
Preview HTML5 Form Validation in Browser
18:08
Summary
20:41
Server-Side Validation Languages

4m 10s

Intro
0:00
Five Server Side Languages
0:40
ASP
0:56
ASP.NET
1:47
ColdFusion
2:08
JSP and PHP
2:42
Summary
3:44
Section 19: Library Items & Templates
Template & Library Overview

6m 22s

Intro
0:00
Dreamweaver Templates and Library Items
0:12
Dreamweaver Template Explanation
0:44
Library Item Explanation
2:33
Overview of Templates and Library Items
4:50
Summary
6:07
Creating a Library Item

8m 30s

Intro
0:00
Creating a Library Item
0:13
Delete a Library Item
0:34
New Library Item
2:10
Library Folder
3:31
How to Use a Library Item
4:17
Library Item Tag
5:12
Adding a Library Item
5:46
Summary
7:42
Modify a Library Item

5m 33s

Intro
0:00
Changing a Library Item
1:07
Edit Library Item
1:42
Save and Update Library Items
2:35
Summary
4:17
Converting a Page into a Template

11m 23s

Intro
0:00
How to Work with a Template
0:27
Create Blank Template File
0:34
Example Template File
2:00
Preview in Browser
2:22
Create Template from File
3:56
Save as Template
4:11
Template Description
4:18
Save and Update Links
5:15
Create New Pages from Template
6:26
Editable and Non-Editable Regions
8:07
Summary
10:33
Creating Editable Regions

9m 21s

Intro
0:00
Create Editable Region for Content
1:53
Insert Editable Region
2:22
Set Name for Editable Region
2:59
Save and Update Template
3:59
Create Editable Region for Nav Bar
4:48
Select and Insert Editable Region
5:30
Save and Update Template
5:53
Update Current Page
7:16
Summary
7:49
Applying a Template

8m 48s

Intro
0:00
Applying a Template
0:40
Apply Template to About Us Page
1:03
Move Content to New Region
1:43
Delete Library Item
4:51
Apply Template to Contact Us Page
5:27
Summary
7:34
Centering a Page in the Browser

14m 9s

Intro
0:00
Centering a Page with Templates
0:11
Edit Template
0:36
Preview in Browser
1:13
Edit External Styles
1:54
Add Wrapper ID
3:30
Insert Div Tag
4:21
New CSS ID Rule
4:52
Save and Update Files
7:54
Preview in Browser
8:57
Delete Wrapper ID
11:15
Save and Preview in Browser
11:59
Summary
13:04
Section 20: CSS3 Properties Enhance Your Pages
Using CSS3

7m 7s

Intro
0:00
Preview CSS3 Element in Browser
0:48
Proprietary CSS3 Properties
2:51
Summary
6:00
Creating Drop Shadows

8m 12s

Intro
0:00
Add Box Shadow Property
0:30
Preview in Browser
2:49
Proprietary Options
6:29
Summary
7:55
Working With Gradients

10m 17s

Intro
0:00
Gradient Property
0:18
Gradient Code
1:45
Apply Comment
5:08
Remove Comment
5:56
Save and Preview in Browser
6:16
Enable Drop Shadow
7:56
Summary
8:28
Rounded Corners

7m 34s

Intro
0:00
Curve Corners with CSS
0:14
Add Border Radius Property
1:32
Preview in Browser
2:39
Enable Gradient and Drop Shadow
4:11
Edit Drop Shadow Color
5:44
Preview in Browser
5:48
Summary
6:56
Section 21: Going Beyond HTML & CSS
Adding a Swap Image Behavior

12m 8s

Intro
0:00
Behaviors in Dreamweaver
0:40
Insert an Image
2:03
Swapping an Image
3:40
Tag Inspector Panel
3:56
Behaviors Panel
4:30
Adding a Swap Image Behavior
4:49
Preview in Browser
8:58
Swap Behavior Code
9:31
Summary
10:38
Fade and Appear Effects

9m 44s

Intro
0:00
Fading and Appearing in CSS3
0:15
Add Page Title and Header
0:45
Insert Image
1:34
Set Image Tag Properties
2:26
Insert Another Image
2:36
Add Appear/Fade Behavior Effect
3:30
Preview in Browser
5:25
Add Appear/Fade Behavior Effect
7:16
Preview in Browser
8:02
Summary
9:07
Opening a New Window Behavior

9m 37s

Intro
0:00
Creating a New Browser Window Behavior
0:24
Insert Thumbnail Image
1:53
Image Tag Properties
2:35
Add Open Browser Window Behavior
3:02
Save and Preview in Browser
5:40
Modify Open Browser Window Behavior
6:46
Save and Preview in Browser
7:11
Summary
9:09
Dreamweaver Extensions

7m 13s

Intro
0:00
Manage Extensions
0:50
Dreamweaver Extensions
1:41
Exchange Panel
2:18
Summary
6:43
Installing an Extension

15m 35s

Intro
0:00
Installing an Extension: Method 1
0:12
Get More Commands
0:31
Manage Extensions
0:37
Dreamweaver Exchange Classic
1:08
Adobe Extension Manager CS6
5:32
Working with the Extension
7:25
Finding the Extension within Dreamweaver
7:26
Using the Lorem Ipsum Extension
9:02
Installing an Extension: Method 2
10:46
Downloading the Adobe Exchange Panel
10:47
Adobe Exchange Panel
13:21
Opening Adobe Exchange
13:22
Searing for Extensions in Adobe Exchange
14:10
Installing the Widget Browser

8m 46s

Intro
0:00
Widget Browser
0:05
Download Widget Browser
1:26
Widget Browser Overview
3:47
Preview Widget
4:55
Summary
7:47
Adding a Widget to My Widget

6m 41s

Intro
0:00
Download Widget through Widget Browser
0:05
Installing the FlexSlider Widget
1:19
My Widgets Area
3:45
Save Widget Files
4:17
Preview Widget in Browser
5:19
Summary
6:17
Obtaining the FlexSlider Widget Files

7m 23s

Intro
0:00
Working with a Widget
0:25
Configure a Widget
1:42
Save Widget Modifications as Presets
2:46
Import/Export Widget Presets
3:30
Widget Files in Files Panel
4:51
Summary
6:10
Customizing the FlexSlider Widget

14m 5s

Intro
0:00
Preview in Browser
0:53
FlexSlider Widget Files
1:24
Code View
2:47
Insert Own Images into Widget
4:15
Preview in Browser
6:38
Comment Out Code
7:47
Understanding Widget Code
9:10
Comment Out Hyperlink
9:47
Add Text Content to Widget
10:34
Preview in Browser
11:06
Summary
12:29
Section 22: Responsive Design
What is Responsive Design?

7m 6s

Intro
0:00
Responsive Web Design
0:13
Website Examples
2:10
Wanderlust Travel Website
4:21
Summary
6:30
CSS Media Types

10m 9s

Intro
0:00
Preview in Browser
0:15
Print Preview
2:11
CSS Screen Style Sheet
2:58
Attach CSS Print Style Sheet
4:34
Preview in Browser
7:35
Print Preview
7:47
Delete CSS Print Style Sheet
9:07
Summary
9:58
Planning for Multiple Screen Sizes

7m 16s

Intro
0:00
Multiple Screen Size Feature in Properties Panel
0:50
Manual Screen Size Adjustment
2:28
CSS Phone and Tablet Style Sheets
3:06
Preview in Browser
4:37
Summary
7:05
Creating Media Queries

10m 2s

Intro
0:00
Creating Media Queries
0:58
Media Queries Dialog Box
2:02
Default Presets
3:38
Select CSS File
4:38
Preview in Browser
7:14
Summary
9:47
Modifying Styles within Media Queries

17m 53s

Intro
0:00
Troubleshooting CSS Issues
1:17
Enable CSS Properties
4:29
Preview in Browser
5:41
Tablet Version Style Errors
6:36
Modify Tablet Styles
7:38
Preview in Browser
8:43
Firebug
10:33
Modify Media Query Styles
12:42
Preview in Browser
14:00
Copy and Paste Styles
14:45
Preview in Browser
15:40
Summary
17:32
Section 23: Site Maintenance & Publishing
Find & Replace

7m 11s

Intro
0:00
Modifying Text Content
0:15
Find and Replace Feature
0:52
Summary
6:44
Site Reports

6m 2s

Intro
0:00
Results Section
0:32
Settings Option for Target Browsers
1:36
Site Reports
2:18
Select Reports
2:27
Run Reports
3:20
Fix Warnings
3:45
Summary
5:19
Entering Web Server Information

3m 31s

Intro
0:00
Manage Sites
0:20
Edit Site Information
0:31
Adding a Web Server
0:49
Summary
3:20
Uploading Files to the Web Server

3m 43s

Intro
0:00
Put Files to Remote Server Function
0:08
Dependent Files
1:10
Preview in Browser
1:31
Use Files Panel to Upload Files
2:21
Summary
3:13
Downloading from the Web Server

3m 15s

Intro
0:00
How to Download Files from a Web Server
0:06
Get Files from Remote Server Function
0:46
Show Local and Remote Sites
2:02
Summary
2:33
Section 24: Creating a Mobile Website Using jQuery mobile
What is jQuery Mobile?

6m 45s

Intro
0:00
jQuery Examples
0:51
Photo Gallery
4:49
Slideshow
5:04
Summary
5:29
Building a jQuery Mobile Page

8m 48s

Intro
0:00
jQuery Website Page
0:10
New jQuery Page Options
1:06
jQuery Mobile CDN
1:35
jQuery Mobile Local
3:05
jQuery Mobile with Theme Local
3:20
Save jQuery Mobile Page in own Folder
4:15
Copy Dependent Files
5:15
Summary
7:34
jQuery Mobile Pages

8m 6s

Intro
0:00
jQuery Files
0:09
Preview Page in Browser
1:26
Page Structure
2:42
Add Content to Footer Area
3:37
Preview in Browser
4:59
Edit Content in Footer Area
5:33
Summary
7:17
Working with jQuery Mobile Themes

6m 20s

Intro
0:00
Overview of Themes
0:06
Live View of jQuery Page
2:47
Example Page
3:43
Preview In Browser
3:57
Summary
4:51
Section 25: Summary
What We Accomplished in the Course

4m 27s

Intro
0:00
CSS 3 Properties
0:42
Images and Slideshows
1:35
Using Web Fonts
2:14
HTML 5 Video
2:42
Web Forms
3:08
FlexSlider Widget
3:31
Dreamweaver Interface
3:56
Loading...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Adobe Dreamweaver CS6
Bookmark & Share Embed

Share this knowledge with your friends!

Copy & Paste this embed code into your website’s HTML

Please ensure that your website editor is in text mode when you paste the code.
(In Wordpress, the mode button is on the top right corner.)
  ×
  • - Allow users to view the embedded video in full-size.
Since this lesson is not free, only the preview will appear on your website.
  • Discussion

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Transcription

  • Related Books

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Sign up for Educator.com

Membership Overview

  • Unlimited access to our entire library of courses.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lesson files for programming and software training practice.
  • Track your course viewing progress.
  • Download lecture slides for taking notes.
  • Learn at your own pace... anytime, anywhere!

Validating Form Data

  • What is form validation? Form validation is the process of making sure that the data entered into a form is the type of data that you want
  • Dreamweaver allows you to add client side form validation to specific fields
  • Usually as you are creating the script that will process the form, you will add server-side validation which is much more powerful than client side validation
  • We will add validation using Dreamweaver behaviors
  • Behaviors are JavaScript scripts that Dreamweaver can add for you in order to allow for some client side validation, this is not a perfect type of validation, since if the user turns off javascript in their browser, they can submit anything since that turns of validation also
  • We will add our client side form validation using the Behaviors panel
  • Select the text fields and click the + sign in the behaviors panel
  • Only certain page elements allow for some of these behaviors, so if the behavior is greyed out, it means you cannot do that on the page element you have selected
  • Click Validate form
  • Go through this process for the various text fields on the page, it is only text fields that we can validate using Dreamweaver
  • Preview the page in the browser & click the submit button without filling in anything
  • You will see the form validation that Dreamweaver has added provided Javascript is turned on in your browser

Validating Form Data

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

  • Intro 0:00
  • Form Field Validation Example 0:32
  • Client Side and Web Server Validation 2:54
  • Adding a Comment Section 6:14
    • Comment Text Field Attributes
    • Comment Text Field Tag Properties
  • Add Form Field Validation 8:47
    • Tag Inspector Area
    • Add Validate Form Behavior
    • Validate Form Behavior Attributes
  • Preview in Browser 11:56
  • HTML5 Form Field Features 14:56
    • Required and Autofocus Attributes
  • Preview HTML5 Form Validation in Browser 18:08
  • Summary 20:41

Transcription: Validating Form Data

We are now going to take a look at what is known as form validation.0000

Every form you create on the Web, you will want to add some type of validation; and I tend to find people don't really know what that means.0005

Let me give you an example of what I am talking about, with regards to form validation.0016

And then, we are going to talk about the different ways you can add validation to your form; and then, we'll go in and see what Dreamweaver can do for us in terms of validation.0021

First of all, I am on my website with this form for contacting me.0032

And if I click Send Message, notice that the fields change colors; there is a little message that pops up inside a box area on the page; and it is letting me know that I did not fill out the information within each one of these fields.0039

Now, these first three are basic text fields; this one here is known as a text area.0058

It is a larger piece of content or a larger field; and so, this text area acts just like my text fields up here.0066

But what I want to focus on is the fact that I didn't enter information into this form; so if I go into the form and go ahead and enter my first name and click Send Message, notice, that message goes away.0078

Now, I just have the remaining three fields; in other words, each one of these is a required field on the form.0095

Now, there are a couple of different ways you can add this type of form field validation, alerting the user that they didn't insert the proper information, or at least as much of the information as you want them to insert.0104

And that is form validation--testing the information the user put into the form to make sure it is the correct information.0121

I added some information within the name field now; so when I clicked the button, form validation occurred, and the browser understands that I entered the right information; it is actually the Javascript within the browser that determines that on my form here.0130

And that is why this one did not turn red--it stayed yellow; the rest of them are staying red, because I didn't enter the correct information.0150

That is form field validation--testing what the user puts into the form and popping up messages or giving them some indication that it wasn't filled out correctly.0161

So, moving off of my form...I do keep that form up there purposely--it's a special type of form that really isn't used too much anymore, but it's a great way for me to show you what form validation means.0174

And on my website, there are quite a few things like that, that maybe it's not the most up-to-date, but I use it in my courses for letting people know what it is.0189

Now, there are two types of form validation: there is what is known as client-side validation...0200

Do you like this antique computer?--I keep it up there just for old time's sake.0206

The client--we are actually referencing the browser; so in other words, when the user clicks the button in the form, the browser will take care of reading that form, and the form stays in the browser until the form fill validation passes.0214

The browser says, "OK, the information here is correct," and then we can send that information to the Web server and whatever script is sitting on the server to process that form field information.0233

Now, that is client-side; it is possible for the user to turn off their Javascript and, within the browser, it's the Javascript that performs the validation.0246

So, in other words, I can have form validation on my website, and it still won't prevent the form from being submitted if I have Javascript turned off--because then, if Javascript is turned off in the browser, there is nothing to test my data when the user clicks the button.0261

That is client-side validation--it occurs over here; the data stays there until it's correct.0281

The other type of form validation goes into the Web server on this side; and that is known as server-side validation.0288

In other words, the user fills out the form and sends the data to the Web server, and the Web server determines if it's the right data or not.0297

If not, it sends the information back to the user with messages within the form letting them know what they did wrong.0306

So, usually you decide whether you want client-side or server-side validation.0314

We are going to look at what Dreamweaver can do for us from a client-side validation only.0322

Client-side validation is not the most effective type of validation; oftentimes you will find people putting client-side validation on, and then they will also add server-side once it gets to the server.0328

That is really the best method for testing what the user puts into a form; it is basically checking it twice, and usually you will get your best results that way.0343

Here is my Contact Us information and my form on the page.0355

So, I have this form on the page; now, down here in the Travel Destination area, I really don't have much being listed, other than them checking off the information for the different regions that they want.0360

So, what I think we should do is put in a Comments area down here.0377

Let's add that before we go to the validation piece; so what I am going to do is click the text field (the second icon up here in the Forms tab).0381

This was added; it is the same field that was checked to create the Name and Email fields.0393

I'll add that down here; I'll click that first text field; and the ID is going to be comments.0400

My label will be Comments; and what I am going to do is give them a larger area of the page, similar to what you saw on my form, to fill us in on whatever information they want to about where they want to go.0409

I am going to put my cursor after the s and hit Shift+Enter, so I move the box directly below Comments.0426

I am going to select that box, and I am going to change this from a single-line to a multi-line box.0435

You can see, all of a sudden, our box looks very different.0445

Now, a very common character width here is 50 or 55; I'll go ahead and say 50 in characters wide.0450

As soon as I click out of this, you will see that box grow in width.0459

The other thing I am going to do by selecting the box to get back to this area is: I am going to determine the number of lines I want added; and I'll give them 5 lines.0464

You can see, that made a nice, open box for me within this area.0477

I can put in what is known as an initial value; I can start the comment area within this initial value.0483

I tend not to use that, because what happens is: if the user doesn't want to start their comments with that, they have to click their mouse and delete it.0493

So, I am going to leave that blank; but that is what that is for.0503

Now, let's add some form field validation; I'm going to save it now that we have our comments added; and I'm going to move up to a new panel we haven't looked at over in the Tag Inspector area.0508

If you can't find this, it's here under Window, and go down to Tag Inspector.0523

Within this area, there are actually two buttons: the first is Attributes; the second is Behaviors.0531

I want the Behaviors area.0539

Now, when you see that word "Behaviors," that is a Javascript behavior we are referencing.0543

Now, Dreamweaver references those as a behavior, because it is something that gets attached to a specific form field in your form.0551

You always have to have something selected before you go to the behaviors.0560

What we want to think about is: what is it that the user needs to do that is going to trigger form field validation?--and that is click the button.0565

I am going to select the button and then go up to my Behaviors area.0575

Up in Behaviors, I'll click the + sign, and once I do, that allows me to add behaviors.0581

There are some in here we will look at at a later date; but one of them I want is Validate Form down towards the bottom.0589

I'll go ahead and choose that; now, the Dreamweaver form field validation features only apply to text areas and text fields.0598

So, I have the ability to set a behavior for the Name field, the Email field, and the Comments field.0610

Let's set Name and Email within this form, and then you can see what happens.0618

First of all, I'm going to choose the field (so I'll select Name), and I'm going to say this is required.0623

What it does is put an R after the field; and it will accept any type of content within it.0631

Since it is text, we really can't limit too much.0639

The next one I am going to choose is Email; and I am going to make that required, also; if they are going to contact us, I want to have their name and their email address so we can respond back to them.0643

Now, with the Email piece, what I want to accept is only an email address in that field.0657

I'll go ahead and click Email Address; so you can see, it's required; and is it an email?--so those two go together; those are two different pieces, showing me what I have added down below.0665

Let's click OK; you will see, there is an on-click event, so when the user clicks this button that I have selected, the validate form method is going to run; it's going to test for the name and the email.0681

Let's put it into the browser and see what happens.0697

I'll go out into Chrome, just because it's the first one there; and I'll scroll down to my button and click it; and notice, I get this Javascript alert that says the following errors occurred.0702

That sounds great--those two are required.0716

I will also plug in just some text and click Contact Us; notice, it says "Email must contain an email address."0721

So, it is not just a matter of putting any information in the Email; it is a matter of putting an email address in there; so it is also testing for that, which sounds fine.0731

But let me take this out to Firefox and show you what can happen (and this is one of the reasons why we use server-side and client-side form validation).0742

What I am going to do is click this icon to open the Web Developer toolbar, which is an extension I have added to Firefox.0754

And I am going to go out to the Disable category; and actually, let me show you this in Firefox first--we'll make sure it's working.0763

I'll click Contact Us, and here it is: Name and Email are required.0773

But here is what a savvy user can do: they can take their Javascript and turn it off.0779

Now, when I click Contact Us, it is going to submit the form to my Web server anyway.0786

There is no Javascript available to test this form, so data can be submitted over and over again without a problem.0793

And that is when my server-side validation should be testing.0802

We don't have that set up on our form, but it is something that, once they add the script to process the form data, it is usually something that gets added to that script if you want server-side validation.0807

I'll go ahead and turn this back on, just by checking it in this Web Developer toolbar; if you turn it off, you have to turn it back on manually.0820

I'll uncheck that; now, if it's properly checked (and let me go ahead and double-check that--this is something you always want to double-check; so)...there is Contact Us, and it should be popping up; and there it is--the Javascript message once again.0830

That is the Behaviors piece in Dreamweaver.0850

Now, the Behaviors piece is only valid for text fields; but on this form, that is all we really need; but there are many instances where you may need a little bit more than that.0856

But we have our behavior set up for our Name field and our Email when they go to click the form.0869

What I am going to show you is another option available to you; and I am going to do a File, Save as, and this one is going to say Contact Us-HTML5.0877

I am going to take this one that had the behaviors and leave it alone; remember, I said I always make a new copy of a page before I do too much to it.0895

What I am going to do--instead of using behaviors, I am going to show you how to remove a behavior--and that is simply: select whatever it was that was selected that has the behavior attached; and I am going to select the behavior that has been assigned and click the - .0906

I don't want that behavior on that button any longer.0925

What I want to do is show you something that you can do using HTML5 instead.0930

So, you can see, HTML5 has some new form field pieces available to it; and we do need to go into code to use these--they are not quite integrated in everything yet, because HTML5 is not a full standard at this point.0936

But that doesn't mean we can't start using some of this; so what I am going to do is select the Name field, and I am going to click on Split View.0958

I'll go ahead and close that up by clicking those upper right arrows; and I'm going to close up my properties, so you can see what I am doing a little bit better.0969

Now, up in here, inside my input tag, what I am going to do is use a new feature of HTML5.0981

I don't need Javascript in order to do this: now, the key for using this is: first of all, it has to be an HTML5 doctype--which I do have on this form.0990

I can only use this if it has an HTML5 doctype.1003

I am going to go over here; and right before the final angle bracket for the Name field (which is this one right here--if you aren't sure, select it in Design View); I'll put my cursor right before that last bracket, and I'm going to say Required.1008

And notice, it does pop up as a code hint in Dreamweaver.1027

The other thing I am going to add is autofocus; that is another new HTML5 property.1031

And then, I am going to take those two and do a copy; I want to do the same thing inside my email address.1040

I set Name and Email to a required field; now, my Email is not going to be autofocus, so I am going to remove that from this area.1049

I don't want to try and autofocus two form fields (you will see in a moment what autofocus means).1062

I'll put this into the browser, and let me preview in Chrome, because I know Chrome supports this feature.1069

Notice, when I opened my form, not only did it place my cursor inside that Name field because I said autofocus, but it also highlights it for me in this yellow naturally, by default.1076

I didn't do any styling for that.1092

Now, watch what happens if we click the Contact Us button without filling this out: I'll click on that, and look at what the browser did--"Please fill out this field."1094

I set it to a required field, and required right here, and the browser took care of it--no Javascript needed (which is a pretty cool feature).1106

HTML5 has a lot of cool new form field pieces; it's just a matter of "will the browser support it or not?"1118

We know what it looks like; I'll tab into Email--you can see it highlights it also, because we have that same required field in here.1127

You saw that it worked for the name; let me type my name in.1137

I'll go ahead and try and submit, and you can see, email is required, as well.1142

Now, what happens if we go to browsers that don't support HTML5?1149

And I.E. 8, which I have on this system (which is a very, very old version of Internet Explorer)--let's see what happens with it.1154

Here is my form; I'll go down and click Contact Us, and it's submitting the form automatically.1164

There is nothing popping up or stopping me at all.1176

Let's take a look in Safari; we'll do one more browser.1180

You can see, it's highlighted based on the autofocus, so it puts my cursor in there and highlights it; Contact Us--no message popped up in this version of Safari.1185

So, personally, I think it's a little premature to be using pure HTML5 elements--as you can see, the browsers just aren't quite ready for it.1197

But I wanted to make you aware that that exists, and that is the required attribute for an HTML5 form.1207

We also looked at autofocus, which placed my cursor directly into the field.1216

That is some information on how you can add client-side form validation, either by using the behaviors to add Javascript through Dreamweaver, or you can type it in and use it (if you are purely referencing and planning on HTML5 browsers taking a look at your web page).1222

If that is the case, you don't need to use Javascript at all: you can use HTML5 features.1246

That is client-side form validation using Dreamweaver.1254

Educator®

Please sign in to participate in this lecture discussion.

Resetting Your Password?
OR

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Membership Overview

  • Available 24/7. Unlimited Access to Our Entire Library.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lecture slides for taking notes.
  • Track your course viewing progress.
  • Accessible anytime, anywhere with our Android and iOS apps.